[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: remote login to root
Richard Zimmerman wrote:
> What is the difference between SU & SU - ?
> What is usdo?
su just kind of gives you root power, but doesn't make you root.
su - actually relogs you in as root which gives you roots $PATH and aliases
and stuff...
sudo is kind of like su but you can configure it. You basically use sudo as
the command, and the command you want to execute as the argument... For
example, I gave all the users on my system (5 or 6 housemates) the ability to
start up ppp. They just run a script called connect, which actually runs the
command sudo /usr/sbin/ppp (or wherever it is). I configured it so that they
don't need to enter the root passwd or their passwd to do this.
--
Wesley Leonard
marshall@pacdemon.org
http://www.pacdemon.org
"...I want Linux to be on the cutting edge, and even a bit past the edge,
because what's past the edge today is what's on your desktop tomorrow."
--Linus Torvalds