about


Scribe:

chrono

blog

Time

science!

book musings

gov

'punk

missle defense

jams

antiques

cultcha blog


Construct:

scripts & programs

on the town

snaps


Self:

creds (PDF)

key

missive


Linux: Managing User Accounts

Adding a user is done from the command line, with the command "useradd" from the root account...
>useradd [new user name]
useradd has several options. For instance, you can specify the working directory of that user (the default is a subdirectory with the user's name in the home directory). You use the command -m and the name of the directory with no spaces after that, i.e.:
>useradd [NewUser] -m/home/somewhere/somewhereelse
There is also the command to add in the password, though I'd advise to not define the password as part of adduser procedure. Do it as a separate command. The log-on seems to not recognize passwords done from this command. Maybe because it doesn't use the hashing procedure.

Other commands in the user management set include "usermod" and "userdel." usermod modifies the various attributes of the user account, using the same option set for useradd and userdel deletes the person's account. No need to do examples, follow the format above.

More info on managing users in Unix can be found here


PASSWORDS

You can add or change a password from the command line passwd (please to note missing "ord"). You can do your own account's password; root can do anybody's.

So here is something to clarify the typically obtuse man pages: You enter password command the user name and then hit ENTER

>passwd [hit enter]
Enter new UNIX password: [enter the new password here. Hit enter]
Retype new UNIX password: [Retype new password, hit enter]
More about passwords here. --Joab Jackson