Granting su rights to users? Using PAM and Kerberos...

Andy Green andy at warmcat.com
Tue Nov 22 15:17:57 UTC 2005


Daniel B. Thurman wrote:

> Now... I have to ask...  does anyone know of a program
> or method to restore my permissions/ownerships of files
> so that it is restored to it's proper form?  I suspect
> that I inadvertently chmoddded/chowned parts of my filesystems
> especially /bin and /sbin areas and god knows where else.
> 
> Can rpm be used to check to make sure that the files/directories
> are set properly?

# rpm -q --whatprovides `which su`
coreutils-5.2.1-48.1

# chmod -s `which su`
# rpm -q -V coreutils
.M.......   /bin/su

would have found this for you.

-Andy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4492 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20051122/3fcca00c/attachment-0001.bin>


More information about the fedora-list mailing list