Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Oct 2000 17:27:15 -0500
From:      Isetr0 Savi <isetr0@sevicron.com>
To:        freebsd-questions@FreeBSD.org
Subject:   su: no directory
Message-ID:  <20001024172715.A15775@sevicron.com>

next in thread | raw e-mail | index | archive | help
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.


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?20001024172715.A15775>