Root login
Raphaël Pinson
raphink at ubuntu.com
Thu Dec 7 14:41:38 UTC 2006
On 12/7/06, Grumpy_Penguin <grumpypenguin at qwest.net> wrote:
>
> On Thursday 07 December 2006 07:03, Raphaël Pinson wrote:
> > On 12/7/06, Art Alexion <art.alexion at verizon.net> wrote:
> > > On Thursday 07 December 2006 06:00, Tez wrote:
> > > > I'm going to skip the whole "why you shouldn't log in as root" part,
> as
> > > > I assume you know all about that, and just tell you how to do it.
> > >
> > > Renaud wanted to log in for a backup. Some backup software -- I use
> > > Mondo --
> > > doesn't work with sudo.
> > > --
> >
> > How do you mean it doesn't work with sudo?
> >
> > `sudo -i` and `sudo -s` provide you a root console that lets you use
> this
> > program just the same as if you were logged as user root.
> and this is better than using su ?....How?
This allows to have the same functionalities as su while using a system made
to use sudo. sudo allows a much finer control of privileges rights than su.
If you really want to have a permanent root shell, `sudo -i` and `sudo -s`
let you have that.
If it's really too hard for you to type that many characters, you can set an
alias, e.g. `alias sd='sudo -s'` so you don't have more than 2 characters to
type to get root privileges. And if typing your password is also tiring, you
can set a NOPASSWD option in /etc/sudoers so you can get a root shell
without typing a password.
There's always good solutions for lazy people who refuse innovation :)
Regards,
--
----------------------------------------------------------------------------------------
Raphaël Pinson - raphink at ichthux.com
http://www.raphink.info
Ichthux - http://www.ichthux.com - Linux for Christians
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20061207/b2ed0ce0/attachment.html>
More information about the kubuntu-users
mailing list