no root passwd debian

Scott Allen scotta-cpI+UMyWUv9BDgjK7y7TUQ at public.gmane.org
Thu Nov 22 10:51:42 UTC 2007


On Wed Nov 21,2007 09:57:33 AM Brandon Sandrowicz wrote:
> Heh.  I've always been under the impression that it was
> 'single user' because when you were logged in as that
> user it was different than when you 'actually' logged
> in (through gdm,xdm,etc or a VT).

If you want su to provide the same environment as when you "actually" 
log in, use the "-" switch.

For root:
su -

For other users:
su - <username>


-- 
** Scott Allen   scotta-cpI+UMyWUv9BDgjK7y7TUQ at public.gmane.org **
**     Toronto, Ontario, Canada     **
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list