Date: Wed, 25 Oct 2000 10:30:54 +0100 From: "Steehouder, R.J." <r.j.steehouder@kpn.com> To: "'isetr0@sevicron.com'" <isetr0@sevicron.com> Cc: "'freebsd-questions@FreeBSD.ORG'" <freebsd-questions@FreeBSD.ORG> Subject: Re: su: no directory Message-ID: <59063B5B4D98D311BC0D0001FA7E45220369D30F@l04.research.kpn.com>
next in thread | raw e-mail | index | archive | help
> To add on to this a little more: > This is FreeBSD 4.1.1-STALBE: Sun Oct 15 18:56:42 EDT 2000 > > If I do su user instead of su - user, the error is: > su: /bin/tcsh: Permission denied. > > # ls -alF /bin/tcsh > - -r-xr-xr-x 2 root wheel 625168 Oct 15 18:39 /bin/tcsh* > > Looks ok to me > > # ls -alF / | grep bin > drwxr-xr-x 2 root wheel 1024 Oct 15 18:39 bin/ > drwxr-xr-x 2 root wheel 2048 Oct 15 18:43 sbin/ > > No problems there? > > I also noticed an interesting file in /bin, it is [ - yes, just a > square left bracket. > # file /bin/\[ > /bin/[: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), > statically linked, stripped > > I have NO clue what that is...Some readable text in it is: $FreeBSD: > src/lib/libc/i386/ > string/strcmp.S,v 1.5 1999/08/27 23:59:33 peter Exp $ as well as a > bunch of other junk. If you look at the i-nodes, you'll see it is the same as `test', see `man test'. (`man [' should work as well) > I'm lost - creating new users doesn't do anything either - I've looked > this up in newsgroups and such, but haven't found much info towards a > solution... > On Tue, Oct 24, 2000 at 05:27:15PM -0500, Isetr0 Savi wrote: > > Oh boy, > > > > I was making an attempt to secure my files a little bit today. I set > > the default umask to 027 and did some chmod -R o-rwx * in my home > > directory are among what I recall doing. However - I have a couple > > user accounts I use, and I tried to su to one of them, and it failed > > with the following error: > > su: no directory > > > > If I try to ssh in with the specified account, I get disconnected with > > "Connot find root directory". I don't know if this means it can't > > find /home/user or if it can't find / in general?? > > The home dirs have permissions 750 and are owned by the proper owners. > > I can log in fine as root and the user I was making the modifications > > as, but not as two other users. Everything seems to be fine - > > /etc/passwd has no problems, the home directories are there..I can't > > figure out what the problem is. Any suggestions? Thanks for any > > help... > > > > Isetr0 > > > > p.s. There are no errors in /var/log/messages, or /var/log/auth.log - > > I can authenticate just fine, but then it kicks me out - perhaps I set > > some permissions incorrectly somewhere...What perms should /usr/home > > have? I've tried ith 755 and 750 - no luck. Wat permissions does `/' have? ___ _ -O_\ Rogier Steehouder // | / mailto:r.j.steehouder@student.utwente.nl //\ / \ http://home.student.utwente.nl/r.j.steehouder/ // \ <---------------------- 25m -----------------------> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59063B5B4D98D311BC0D0001FA7E45220369D30F>