>-----Original Message----- >From: fedora-list-bounces@xxxxxxxxxx >[mailto:fedora-list-bounces@xxxxxxxxxx]On Behalf Of Andy Green >Sent: Tuesday, November 22, 2005 7:18 AM >To: For users of Fedora Core releases >Subject: Re: Granting su rights to users? Using PAM and Kerberos... > > >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 > 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! Dan -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.5/177 - Release Date: 11/21/2005