I am running redhat 7.3 and I am trying ot add users through the shell . can you tell me the exact command I tried #useradd New_user and adduser newuser but neither work can someone please help
The command should be "useradd". If you enter the command at the shell prompt with no command-line parameters, it should issue a help screen. ______________________________________________________________________
TANSTAAFL!
Well, thats just our personal preferences I guess. The useradd utility does more than just edit the password file too. It will check for duplicate UIDs and GIDs and it assigns them automatically if you don't specify one.
fluffybunny,
I can't believe that someone would actually take the risk
of corrupting the vital auth mechanism for a machine because
he/she believes that concatenating arguments is too much
trouble. I would say that this is a minority view.
Furthermore, from personal experience it isn't a good idea
to do everyhting manually. Most of the editors and better scripts make a backup of the file opened to save from change to change. Your method does not allow for this automagically.
This is a high risk method. If you have ever seen the
login message "Go away you don't exist.." you'll know what I mean.
If you don't like the interface, hide it...
You can wrap it in a tcl/tk script, shell/awk script with
dialog frontend,i.e: add to the functionality as you go.
"TANSTAAFL" is an acronym for "There Ain't No Such Thing As A Free Lunch" ______________________________________________________________________
TANSTAAFL!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.