This Community site is new! Please help us build a community around the JNIOR.
Sign up, and help share your knowledge. Please sign-up even if you do not plan to post as a sign of support.
If there is evidence of a demand we will continue to develop the content here.

USERMOD command

The Command Console or Command Line Interface sits at the heart of JANOS. Here we will cover anything and everything that can be done there.
Post Reply
bscloutier
Posts: 401
Joined: Thu Sep 14, 2017 12:55 pm

USERMOD command

Post by bscloutier » Tue Nov 28, 2017 2:19 pm

The USERMOD command allows you to add or remove user account privileges or tags.
bruce_dev /> help usermod
USERMOD user

Options:
 +A,-A          Add or remove Administrator rights
 +C,-C          Add or remove Control rights
 +D,-D          Disable or Enable the account

Modifies user privileges.

bruce_dev />
The Series 4 uses three different tags: Administrator, Control, and Disabled. These are described under the USERS command topic. Basically accounts tagged as Administrator can do everything. An account tagged for Control can only manipulate I/O status. And, a Disabled account is just that, disabled.

The USERMOD command actually violates the JANOS standard for command options. This command uses the plus sign '+' as well as the dash '-' to designate an option. This is a legacy thing left over from the Series 3.

The following command disables the 'user' account by adding the Disabled tag:
usermod +d user
This would re-enable the account by removing the Disabled tag:
usermod -d user

bscloutier
Posts: 401
Joined: Thu Sep 14, 2017 12:55 pm

Re: USERMOD command

Post by bscloutier » Tue Nov 28, 2017 2:23 pm

Note that the USERMOD command can only modify a single user. So you cannot add a tag to a set of users. You must also specify a user.

Post Reply