*BSD News Article 25508


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!sgiblab!darwin.sura.net!math.ohio-state.edu!cyber2.cyberstore.ca!nwnexus!deanstoy!dean
From: dean@deanstoy.wa.com (Dean M. Phillips)
Subject: Re: Logging In
References: <2966518765.0.p00181@psilink.com>
Organization: None whatsoever!
Date: Sun, 2 Jan 1994 00:42:33 GMT
Message-ID: <CIz8nC.Gt@deanstoy.wa.com>
Lines: 41

In article <2966518765.0.p00181@psilink.com> "Jim Moser" <p00181@psilink.com> writes:
>.... Bye the bye..I did actually 
>get into the system by loggin in as root..but it complains 
>later that I should not login as root but as su. So..I'm back to my 
>original problem as to how to determine the password for superuser. 
>Any help/suggestions would be appreciated. Thanx!  Jim

Log in a root - its ok to do so when first setting things up.

say "passwd" and set a real root password.  You know, something like
"hT5&kS2K^]".  Memorize it.  Figuring out how to memorize such a thing
is left as an exercise  :-#)

say "man 5 passwd" to learn the format of the passwd file.

Say "vipw" and create yourself a login.  Leave the password field blank
for now.

Create the home directory that you named in the password file and change its
owner to the username you just created.

say "man 5 group" to learn the format of the group file.

Edit /etc/group and make yourself part of group wheel.

log out.

Log in as you.

Say "man su" to learn what "... use su." really means.

Set the password for your normal account.

Set up .profile, .cshrc, .login, etc.

If you don't understand any of the above, acquire any of the books on unix
system administration listed in the FAQ and start reading.  I sure don't
have time to type a whole book!

-- 
Dean M. Phillips    Microsoft free and proud of it!    dean@deanstoy.wa.com