Re: strange and serious problem about user login

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks a lot, this is a great solution for this issue.


On 6/26/06, Gordon Messmer <yinyang@xxxxxxxxx> wrote:
Zhen Zhou wrote:
> Hi,
> Thanks very much for your help, it seems that it works as you
> suggested--now I could login as normal user without errors. And one
> service I could start--just chmod +r /etc/. -R. now i am fighting with
> ssh server. ;-(
>
> This happened when I are curious to make rpm package, now is there a
> way to recover the mess-up permissions from last stupid change?

I believe that rpm can do it.  Try:

rpm -a --setperms
rpm -a --setugids

I'm not sure you can use -a in that context, so if it fails, fall back to:

rpm -qa | xargs rpm --setperms
rpm -qa | xargs rpm --setugids

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux