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

Andy Green andy at warmcat.com
Tue Nov 22 15:46:41 UTC 2005


> Super!  But... what about files you have NO IDEA which
> are properly set in the filesystems...  that seems to
> be a nightmare?  I wonder if anyone has a filesystem
> checker in cases that they get changed by mistake?
> 
> Thanks for your suggestions tho!

What else would such a "checker" have to check against but the RPM database?

for i in `rpm -qa --queryformat "%{NAME} "` ; do rpm -q -V $i ; done

Be warned

 - this finds a bug in RPM on my box, gives a (generally) harmless backtrace

 - It's noisy, a lot of things have changed as a normal part of using
the package.

>From the man file:

       S file Size differs
       M Mode differs (includes permissions and file type)
       5 MD5 sum differs
       D Device major/minor number mismatch
       L readLink(2) path mismatch
       U User ownership differs
       G Group ownership differs
       T mTime differs

 - you probably want to capture the output or pipe it through less

to fix them, I guess you could try reinstalling the rpm involved with
--oldpackage.  I couldn't find a way to get --list on RPM to show filemodes.

-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://lists.fedoraproject.org/pipermail/users/attachments/20051122/7eaa4454/attachment-0002.bin 


More information about the users mailing list