Re: strange and serious problem about user login

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

 



Most files and directories in /etc/ are root ownership, and the files
are -rw------- , and directories is drw-r-----.

Zhou Zhen
On 6/26/06, replies-lists-redhat@xxxxxxxxxxxxxxxxxxxxx
<replies-lists-redhat@xxxxxxxxxxxxxxxxxxxxx> wrote:
what are the permissions on /etc/ ?


------------ Original Message ------------
> Date: Monday, June 26, 2006 01:01:09 PM +0800
> From: Zhen Zhou <zhouzhenzj@xxxxxxxxx>
> To: fedora-list@xxxxxxxxxx
> Subject: Re: strange and serious problem about user login
>
> Hi,
> Thanks for your quickly reply, but I still confused about your
> mentioned.
>
> I took a look at /etc/ directory, but i couldn't find any problem on
> that.
> ls -l:
> -rw-r--r-- 1 root root 842 May 25 2004 profile
> so is it not correct?
>
> I could understannd what you told me that maybe I messed up
> permissions on this system.
>
> And I need to provide what kind more information that could help to
> trace the problem,
>
> Anyway, any tips will be welcome,
>
>
> Zhou Zhen
>
> On 6/26/06,  wrote:
>> based on the little info that you've provided, it sounds like you may
>> have messed up permissions on your /etc/ directory.
>>
>> in general, the /etc/ directory (and it's contents) is owned.grouped
>> by root.root with "group" and "other" having read and execute (as
>> appropriate) access to most files. e.g., group/other should have read
>> access to /etc/profile .
>>
>>
>> ------------ Original Message ------------
>> > Date: Monday, June 26, 2006 11:19:40 AM +0800
>> > From: Zhen Zhou <zhouzhenzj@xxxxxxxxx>
>> > To: fedora-list@xxxxxxxxxx
>> > Subject: strange and serious problem about user login
>> >
>> > Hi, all,
>> > I am using Fedora 3, today I found serious problem, I couldn't
>> > start any service other than root.
>> > and I try to login as normal user except root, the teminal show me:
>> > --bash: /etc/profile: Permission denied
>> > --bash: 3.00$
>> >
>> > and when I start sshd in this pc, I get no errors, but when I check
>> > the status of sshd,
>> > it showed me: sshd dead but subsys locked
>> >
>> > When I login as root in terminal without any problem, but I keyin:
>> > su normal-user
>> > I got error: could not open session
>> >
>> > I guess, maybe the user manage got problem, but I dodn't know how
>> > to solve the problem.
>> >
>> >
>> > Thanks a lot for any tips,
>> >




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

  Powered by Linux