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

Re: Creating a new user without a password



On Wed, 01 Jan 2003, Bob Proulx wrote:
> 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

adduser --disabled-login --gecos 'MYSQL User' --group mysql

Manpages are good. Read them.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh



Reply to: