home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!sun-barr!ames!pacbell.com!network.ucsd.edu!munnari.oz.au!mel.dit.csiro.au!aurora!jmp
- From: jmp@dar.csiro.au (POWELL James;Change Jmp Impacts;575)
- Subject: Re: HELP, can't login as user....
- Message-ID: <jmp.715852154@atmos>
- Sender: @aurora.dar.csiro.au
- Organization: CSIRO Division of Atmospheric Research
- References: <1992Sep3.134928.23515@athena.mit.edu> <9209052346@clifton.hobby.nl>
- Date: Mon, 7 Sep 1992 07:49:14 GMT
- Lines: 40
-
- 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...
- --
- \|/ (( )))
- --O-- ((______)))
- /|\ /\ / //////
- / \__ /// / James Powell [:-)
- Honda o DoD #329 _/\/ _ \ Melbourne, Australia
- CBR-600FN \_\ _______/ \_/ \ \_ **** EMail: jmp@dar.csiro.au ****
- ____________O/_O____/ \ \__________________________________
-
- "I wouldn't be so paranoid if you weren't all against me!"
-