how redhat 9.0 mysql.spec file adds the mysql user

j.travis skynet at psinode.com
Fri Jul 23 22:04:48 UTC 2004




> ----- Original Message ----- 
> Subject: how redhat 9.0 mysql.spec file adds the mysql user
> > 
> > This is how the redhat 9.0 mysql.spec file adds the mysql user:
> > useradd -M -o -r -d /var/lib/mysql -s /bin/bash -c "MySQL Server" -u 27 mysql 
> > Anybody know why the shell is /bin/bash instead of /sbin/nologin like all the other daemon users?
> 
> I asked this same question over at the mysql list and got a confirmation that the mysql user has no use for a valid shell.  Is this just an oversite on the part of Red Hat or is there some reasoning behind it? 


I just realized that slackware does this also, so there must be some reason for it.  This link may offer some clues: http://www.unixfool.com/mysql-slack.shtml





More information about the redhat-list mailing list