Operating System - HP-UX
1832423 Members
3261 Online
110042 Solutions
New Discussion

swinstall suid/sgid error

 
SOLVED
Go to solution
Victor_5
Trusted Contributor

swinstall suid/sgid error

Got the following error when I trying to install PHSS_29183 on 11i, any idea?

ERROR: Unknown owner and/or group for file "/usr/lbin/grmd". SUID and/or SGID bit was not set
ERROR: Failed installing fileset "PHSS_29183.AGRM,r=B.11.11.16". x
x x Check the above output for details.

4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: swinstall suid/sgid error

Check the ownership and or existance of this file.

/usr/lbin/grmd

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
Sridhar Bhaskarla
Honored Contributor
Solution

Re: swinstall suid/sgid error

Hi,

/usr/lbin/grmd is supposed to have suid bit owned by 'daemon:bin' That's what I see on my system. Try setting it.

chmod 4555 /usr/lbin/grmd

If the suid bit is there, make sure you have the user daemon in /etc/passwd with 1:5 as userid:groupid

The install scripts of this patch may be looking for these permissions.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Victor_5
Trusted Contributor

Re: swinstall suid/sgid error

What an expert, Sri! You said it, thanks.
Helen French
Honored Contributor

Re: swinstall suid/sgid error

This swinstall error normally comes because of permission or ownership issues. Check the output of :

# ls -al /usr/lbin/grmd

If you don't see a valid SUID or SGID, that's the problem (some times it will display numbers instead of user/group names.) You need to make sure that those user/group exist in the system and is valid. If it doesn't exit, then create it manually. My 11i system shows this:

-r-sr-xr-x 1 daemon bin 303104 Jul 16 2003 /usr/lbin/grmd
Life is a promise, fulfill it!