1825719 Members
3112 Online
109686 Solutions
New Discussion

Re: su problem

 
George Nikoloudis
Occasional Contributor

su problem

Hello,
when I am doing su I am getting the below

daphne:/mnt1/users/gniko>su -
Password:
setgroups: Not owner
setgroups: Not owner
su: Unable to initialize group access list
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: su problem

wild guess!

Do you have a valid /etc/passwd and /etc/group file?

I've never seen this but it would freak me out if I got it.

How does the system work besides this? Is it doing its job or is it just taking up space?

P
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
U.SivaKumar_2
Honored Contributor

Re: su problem

Hi,

DO you have any user/group restriction defined
for su usage in your system ?

Check /etc/pam.d/su file and Paste here .

Also give this command as root and check for the problem again.

#chmod +s /bin/su

regards,
U.SivaKumar




Innovations are made when conventions are broken
Bob_Vance
Esteemed Contributor

Re: su problem

Do
man group
man initgroups
man setgroups

and check /etc/logingroup.

bv
"The lyf so short, the craft so long to lerne." - Chaucer
Chakravarthi
Trusted Contributor

Re: su problem

just do su and goto /root directory, and lookinto .bash_profile and .bashrc for setgroups,,,,,, and hash them