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

Re: Cannot login?



-----BEGIN PGP SIGNED MESSAGE-----



On Sat, 18 Apr 1998, Carroll Kong wrote:

> 	Hey guys.  Big problem... I had freebsd 3.0 sitting around, decided to
> mount my linux ext2fs partitions with it.  I umounted it... rebooted back
> into linux.  Now I can ONLY login as root.  If I login as myself it says.
> 
> "cannot cd /home/damascus"
What are the permissions on /home/damascus?
this is my home dir on my system:
drwxr-sr-x   7 sjc      sjc          1024 Apr 18 19:16 sjc
you NEED the execute bits set...without them you can't cd
to the directory

> And.. if I su damascus as root it says
> 
> "su:  cannot run /usr/bin/zsh permission denied:"

again...this looks like an execute bit problem...
see what happens if you goto /usr/bin and type
chmod a+x zsh (yes I do it alls symbolicly...I havn't learned my
octal permissions codes yet) 
Do the same for yout home directory

try adduser for a differnt user...see what it makes and if that new user
works
course it could be some weird zsh problem....
I used zsh for a very short time....I was writting a program
and zsh and I had a nasty argument about whether the data
from my printf's should be displayed
I have not used zsh since
- -Steve


-----BEGIN PGP SIGNATURE-----
Version: 2.6.3a
Charset: noconv

iQCVAwUBNTk2cHxvn0zebBV9AQFl5QP+NBn4s+NLUPT5txF4BwF4Kj23KggCV0Ik
25hdkDGyhIu1kyWvZgQT/NAY5A5WTPFVD6mJ5YYVRGWCpt3mfLq9DzH4M7BpPjHg
s87f9GEt9supcNpWOOwtN+l2T/V5acqpwuVhI4+DD8sW2HPfeW1WIKfEoRuuGxAP
ugpWjjkWVuQ=
=lUOC
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: