Difference between revisions of "Bright:Add user cmd"
Jump to navigation
Jump to search
| Line 36: | Line 36: | ||
User name david | User name david | ||
email | email | ||
| + | </syntaxhighlight> | ||
| + | |||
| + | == Remove a User == | ||
| + | <syntaxhighlight> | ||
| + | [bright61->user*[printer]]% use user maureen | ||
| + | [bright61->user*[maureen]]% remove -r; commit | ||
| + | [bright61->user*]% !ls -d /home/*| grep maureen | ||
| + | [bright61->user*]% | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Latest revision as of 09:07, 22 October 2013
Add a User
All users are created in a local LDAP database. (not in /etc/passwd or /etc/group)
[root@brighthead ~]# cmsh
[brighthead]% user
[brighthead->user]% add user david
[brighthead->user*[david*]]% set password
enter new password:
retype new password:
[brighthead->user*[david*]]% commit
[brighthead->user[david]]% quitView User Details
[brighthead->user]% show user david
Parameter Value
------------------------------ ------------------------------------------------
Common name david
Expiration date 2038/1/1
Group ID 1001
Home directory /home/david
Inactive 0
Last change 2013/10/21
Login shell /bin/bash
Password *********
Profile
Revision
Shadow max 999999
Shadow min 0
Shadow warning 7
Sur name david
User ID 1001
User name david
emailRemove a User
[bright61->user*[printer]]% use user maureen
[bright61->user*[maureen]]% remove -r; commit
[bright61->user*]% !ls -d /home/*| grep maureen
[bright61->user*]%