Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Dec 1996 01:07:41 -0800 (PST)
From:      Snob Art Genre <ben@narcissus.ml.org>
To:        Sue Blake <sue@welearn.com.au>
Cc:        dwhite@resnet.uoregon.edu, Zsolt Szabadi <zsolts@cats.ucsc.edu>, "'BSD questions'" <questions@FreeBSD.org>
Subject:   Re: login for the first time
Message-ID:  <Pine.BSF.3.91.961221010252.11289B-100000@narcissus.ml.org>
In-Reply-To: <Pine.LNX.3.95.961221194049.11072B-100000@zipper.zip.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 21 Dec 1996, Sue Blake wrote:

> 
> 
> On Fri, 20 Dec 1996, Doug White wrote:
> 
> > 4.  Logout; login as yourself.
> > 5.  Anytime you need superuser access, run the 'su' command and give
> > root's password at the Password: prompt.
> 
> 
> Whoah!
> 
> That's what they all told me, causing much grief.
> 
> I was supposed to know that there's some things you can't do after simply
> typing 'su', and that to become a real root for a while you have to type 'su -'

It's not a matter of "real root" -- it's a matter of how much of the
environment you want to keep and how much you want to discard.  su is
intentionally not equivalent to logging out and back in (if it were, you 
would get the same warning message when su'ing that you get when logging 
in as root).

Read the su man page for details on how to get su to give the behavior 
you want.

> 
> Regards,
>         -*Sue*-
> 
> 



 Ben

The views expressed above are not those of the Worker's Compensation 
Board of Queensland, Australia.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.961221010252.11289B-100000>