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

Re: Problem: can't log in/su with any non-root user



On Sun, 25 Jul 1999, Jeremy Morgan wrote:

> I'm not sure if this has been posted before (I've looked but can't find
> anything.)  I recently reinstalled debian because the only user that my
> system could use was root.  When I tried to su to any user except root I
> would get error messages:
> 
>     su: cannot run /bin/bash: Permission denied
> 
> When I tried to login as another user:
> 
>     Unable to cd to "/home/porp"
> 
> Now this creates many problems except the obvious one (I have to use root
> always): no daemons or programs can run as another user--exim (mail), the
> cron.daily find (nobody), or any others.  Before I continue, I'll list the
> permissions of certain files:
> 
> -rwxr-xr-x   1 root     root       364336 Jul 25 02:45 /bin/bash
> -rwsr-xr-x   1 root     root         9512 Jun  2 09:59 /bin/su
> 
> drwxr-sr-x   2 porp     porp         1024 Jul 24 14:49 porp
> drwxr-xr-x   2 root     root         2048 Jul 25 02:39 bin
> drwxrwsr-x   4 root     staff        1024 Jul 24 22:14 home

What're the permissions on /? (ls -ld /)


Reply to: