From: rich@mulvey.com (Rich Mulvey) Subject: Re: need help with login Date: Tue, 14 Sep 1993 19:26:07 EDT
kims@panix.com (Sang Kim) writes:
> I installed Linux SLS 1.03 last night and logged in as "root"
> and decided to change the /etc/passwd file and change "root" to "kims" and
> change my home directory as well. I also changed my shell to tcsh using chsh
> .
> I tried to login with "kims" but there is a problem. It can't find tcsh.
> and it won't let me log in.
Did you specify the complete path to tcsh?
> btw, I never set any password for "root" or "kims" and so when I tried to
> logon as kims it never asked me for a password. Is that supposed to happen?
Wait... you said in the first paragraph that you did. Which is it?
I suspect that your problem is that your system is using shadow
passwords, and you tried to modify /etc/passwd. Instead of editing the
files directly, use the 'usermod' command. It's *much* easier and
faster.
- Rich