Root login
Tez
binary_y2k2 at blueyonder.co.uk
Thu Dec 7 21:48:03 UTC 2006
Art Alexion wrote:
> On Thursday 07 December 2006 09: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?
>>
>
> Try it. If you try to back up any files that you don't own, it tells you that
> it can't (or won't) do it with sudo. I 'su -c mondo' and everything works
> fine.
>
>
>> `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.
>>
>
> So if you get a root console, with all of its insecurities, why is doing it
> that way better than just su?
>
>
>
Because,
1) only members of the adm group can get a root shell and
2) you don't have to give out a root password for more than 1 user to
run privileged commands.
Tez
More information about the kubuntu-users
mailing list