[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Creating a new user without a password



Colin Watson <cjwatson@debian.org> [2002-12-30 12:36:37 +0000]:
> On Mon, Dec 30, 2002 at 02:44:55AM -0700, Bob Proulx wrote:
> > Curtis Spencer <cspenc@stanford.edu> [2002-12-29 23:34:44 -0800]:
> > > groupadd mysql
> > > useradd -g mysql mysql
> > 
> >   adduser --disabled-login --gecos 'MYSQL User' mysql
> 
> I suggest using the --system option there too.

The only problem/difference with --system is that the adduser command
will not create a unique group for the uid.  It will create the group
as 'daemon' IIRC.  I did not see a way to create a system user that
also created a system group to go along with the system user.  But not
saying --system followed the UPG scheme by default.  Which I followed
since the OP has listed creating a unique group as well with the
original commands.

Bob

Attachment: pgpSDoGKQMTQw.pgp
Description: PGP signature


Reply to: