Adding users

how do i add users
cdromdriveAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

tolmedaCommented:
You must be logged in as root of course...then just run 'linuxconf' from the command line. Select 'users accounts', 'normal', 'user accounts' and just fill in the info it asks for.

There are other ways to do it but I think this is the easiest.
0
framebCommented:
The 'manual' way to add users is with the adduser command.  For example if I wanted the username for the new user to be "bob" , at a system prompt I would enter:
adduser bob

Then to set the password for the user you just created type:
passwd bob

After you set the initial password, you can change any user's password (only as root) by typing:
chpasswd bob


*Note:  if you are logging in as another user and then using the su command to switch to root, your paths will be different and you'll have to enter it like this:
/usr/sbin/adduser bob
0
jformanCommented:
If you are using any of the Redhat distribs, its easy. Use linuxconf. It's in the main section of User Accounts.
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

cdromdriveAuthor Commented:
did not work i have a cobalt system
0
patowicCommented:
Do not use linuxconf.  It's insecure, and it helps keep you from learning how to administer anything but redhat.  Is Cobalt a distribution of linux?  Or another type of unix?

The manual way to add users is thus:
use vipw to enter a new username and user info into /etc/passwd.
vi /etc/group, and assign the new user a group.
create their home directory, and copy all the initialization files over.
assign the new user a password, using the passwd command.

That should get you up and running.
0
roberto122399Commented:
Why complicate things? If you are at the console login as root if you happen to have an account yourself and need to telnet/ssh in do so and "su" up as root. Run adduser:
adduser blah
it will pick next available uid and gid ( user/group id) create their home dir set mail dirs etc and remind you to run "passwd blah" to set that users password.
If you need the user to be in another group simply add them to the appropriate group after running adduser.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
patowicCommented:
adduser is not available on all unix systems.  Learning to add users manually is the best course of action.  Also, it makes sure you understand which files are modified when users are added.  Adduser really shouldn't be used until after you've learned to do it manually.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.