From: POWELL James;Change Jmp Impacts;575 (jmp@dar.csiro.au)
Date: 09/07/92


From: jmp@dar.csiro.au (POWELL James;Change Jmp Impacts;575)
Subject: Re: HELP, can't login as user....
Date: Mon, 7 Sep 1992 07:49:14 GMT

baron@clifton.hobby.nl (Wim `Blue Baron' van Dorst) writes:
>
>jgifford@attmail.com () writes:
>> I CAN login as root, but not as anything else. not even sync
>> login will work.
>>
>> I took my computer to work to give some of my friends a taste of power,
>> but I didn't want to leave the system as open as it was, so I changed
>> all the permissions to u+rw go-rwx I then restored the rights on the
>> /bin, /etc, /dev, /lib, /usr, and /tmp directories. as near as I can
>> tell, everything is as it should be, but I can only login as root.
>> (YES, /lib/{shared lib's} ARE ugo+rx-w).
>>
>Several things may have gone wrong. Most probable is that you happen to have
>removed the setuid of /bin/login. Reset it with
> # chmod +s /bin/login
>
>> The error message I get is:
>> raskol login: sync
>> login: no shell: No such file or directory
>
>This seem to indicate that the shell chosen for this userid is not
>there. Check to see which shell is in /etc/passwd for this userid,
>and see that it is there. Note that the default shell is /bin/sh;
>check the presence of that too.

Check that / has execute permission for everybody! This had me stuck
or a couple of days!

Good luck...