Operating System - HP-UX
1833704 Members
2781 Online
110062 Solutions
New Discussion

mysql and sam_exec in /etc/passwd

 
SOLVED
Go to solution
TheJuiceman
Super Advisor

mysql and sam_exec in /etc/passwd

Hi again,

I have a mysql entry in my /etc/passwd file, but running a pwck says that the "Login directory not found". I'm also getting this for "sam_exec". Are these entries needed in /etc/passwd? Thanks.
4 REPLIES 4
Steven E. Protter
Exalted Contributor
Solution

Re: mysql and sam_exec in /etc/passwd

Shalom Juiceman,

swlist -l product | grep -i mysql

If mysql is installed you need that user and it should be left alone.

mysql:*:103:103::/home/mysql:/sbin/sh

The user should be in any shadow password files if implemented.

I know nothing about sam_exec

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
TheJuiceman
Super Advisor

Re: mysql and sam_exec in /etc/passwd

Thanks. I know sam_exec was used for restricted sam back in 9.x but I'm not sure if it is needed in 11.11???
Steven E. Protter
Exalted Contributor

Re: mysql and sam_exec in /etc/passwd

I checked an 11.11 machine that I've done restricted sam experiments on and it ddi not have the id.

That is not a definitive answer, but its probably reasonable.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
TheJuiceman
Super Advisor

Re: mysql and sam_exec in /etc/passwd

Thanks Steven.