no root passwd debian
Alexander Short
Alexander.Short-V7Ve2fXh0sTQT0dZR+AlfA at public.gmane.org
Thu Nov 22 18:49:33 UTC 2007
Err.. Clearly sent in error
-----Original Message-----
From: owner-tlug-lxSQFCZeNF4 at public.gmane.org [mailto:owner-tlug-lxSQFCZeNF4 at public.gmane.org] On Behalf Of Ian
Petersen
Sent: Thursday, November 22, 2007 1:44 PM
To: tlug-lxSQFCZeNF4 at public.gmane.org
Subject: Re: [TLUG]: no root passwd debian
On Nov 22, 2007 5:51 AM, Scott Allen <scotta-cpI+UMyWUv9BDgjK7y7TUQ at public.gmane.org> wrote:
> 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>
Just for some variety, you can accomplish the same thing with
sudo -i
or for another user
sudo -i -u <username>
If your sudoers file is setup like mine (which may or may not be
recommended), sudo -i takes you to root with no password, whereas su -
requires a password.
Ian
--
Tired of pop-ups, security holes, and spyware?
Try Firefox: http://www.getfirefox.com
--
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
--
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