From: mahmha@crl.com (Mark A. Horton) Subject: Re: need help with login Date: 20 Sep 1993 07:47:51 -0700
Harley Privitera (harley@shr.dec.com) wrote:
: >>>>> On 14 Sep 1993 15:25:22 -0400, kims@panix.com (Sang Kim) said:
: Sang> I installed Linux SLS 1.03 last night and logged in as "root"
: Sang> and decided to change the /etc/passwd file and change "root" to
: Sang> "kims" and change my home directory as well. I also changed my
: Sang> shell to tcsh using chsh. I tried to login with "kims" but
: Sang> there is a problem. It can't find tcsh. and it won't let me
: Sang> log in. btw, I never set any password for "root" or "kims" and
: Sang> so when I tried to logon as kims it never asked me for a
: Sang> password. Is that supposed to happen? I have the disks so that
: Sang> I can reinstall Linux, but I thought I'd ask here first.
: Did you replace the root account with the kims account? I'd imagine
This is a very bad idea. A Unix system without a root id is
like a life without even hope for sunshine! :) You can
make this work, but you will have a hell of a time in the
future maintaining it and adding new software to it! Harley
is definitely right about this... that's why everything stopped
working; the question now remains as to what to do the next
time you install it! I suggest leaving root alone and ADDING
a user named "kims" for yourself. You're gonna want more than
a single user on the system anyway, right?
-- Just a suggestion... - Mark
: away or have it's uid set <> 0, and this will cause problems (for
: example, login is setuid, and it doesn't work on your system anymore).
: /harley
: --
: Harley Privitera Internet: harley@shr.dec.com
: Digital Equipment Corp. UUCP: ...!decwrl!shr.dec.com!harley
: 333 South St Voice: (508) 841-2087
: Shrewsbury, MA 01545-4112 #include std.disclaimer
: "Bureaucracy is the process of turning energy into solid waste" - Dave Cutler