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

Re: passwd: Permission denied ?

On Fri, Sep 18, 2009 at 11:39:28AM +0200, Frank Bonnet wrote:

> -rw-r--r-- 1 root root 1358 2009-09-18 09:21 /etc/passwd

These permissions are wrong.

The missing suid bit (as someone else pointed out) will
prevent anyone but root using it.

The missing e(x)ecute bit will prevent even root.

Either restore +x (and +s), or something like

    # /lib/ld-2.9.so /usr/bin/passwd

I would also worry about *precicely how* the permissions
were changed.

Jon Dowland

Attachment: signature.asc
Description: Digital signature

Reply to: