[oclug] passwd file
Matt Rose
mattrose at folkwolf.net
Thu Apr 1 10:41:43 EST 2004
On Thu, 1 Apr 2004, Victor Schitka wrote:
> Okay I am starting to get ticked...can someone help me
> out?
>
> All I am trying to do is create a simple entry in my
> passwd file for a new user. Easy enough? You would
> think so...but apparently not.
>
why oh why are you trying to add a user by editing the password file
directly. This isn't the good-old days. We have user management
utilities now. If you're using redhat-9 just fire up redhat-config-users,
and have it do all the tough stuff. If you don't have X or curses lying
around, then you can use useradd. from man useradd.
DESCRIPTION
Creating New Users
When invoked without the -D option, the useradd command creates a new
user account using the values specified on the command line and the
default values from the system. The new user account will be entered
into the system files as needed, the home directory will be created,
and initial files copied, depending on the command line options. The
version provided with Red Hat Linux will create a group for each user
added to the system, unless the -n option is given. The options which
apply to the useradd command are:
> ______________________________________________________________________
> Post your free ad now! http://personals.yahoo.ca
>
--
--------------------------------------------------------------------------
Matt Rose mattrose at folkwolf.net Visit my blog! http://folkwolf.net
He's an ungodly pirate gangster on his last day in the job. She's a foxy
goth bounty hunter who inherited a spooky stately manor from her late
maiden aunt. They fight crime!
More information about the OCLUG
mailing list