Assigning ROOT a password. WAS: Re: Graphical Display Managers

Michael Leone turgon at mike-leone.com
Mon Apr 28 14:45:33 UTC 2008


On Mon, Apr 28, 2008 at 10:19 AM, Derek Broughton <news at pointerstop.ca> wrote:
> Michael Leone wrote:
>
>  > You just have to be careful, that's all. Of course, even if you don't
>  > assign root a password, you have to be careful you don't do something
>  > like "sudo rm -rf /*.*", too. :-) That'll mess up your whole day ...
>
>  There are less obvious ways:
>
>  $ cd /etc
>  ...
>  $ sudo rm -r /home/derek/something *
>
>  Whatever "something" was, it was a directory I'd accidentally created under
>  sudo, so I needed to use sudo to delete it.  Unfortunately there was
>  supposed to be a / between "something" and "*".  Oops.  Bye-bye /etc/*!

D'OH!

A very good point, that hadn't occurred to me. makes you think that
having a prompt whenever you do a "rm -rf", as an extra measure, might
not be a bad idea.


>  --
>  derek
>
>
>  --
>  kubuntu-users mailing list
>  kubuntu-users at lists.ubuntu.com
>  Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
>



-- 
Michael J. Leone
<mailto:turgon at mike-leone.com>

PGP Fingerprint: 0AA8 DC47 CB63 AE3F C739 6BF9 9AB4 1EF6 5AA5 BCDF
Photo Gallery: <http://www.flickr.com/photos/mikeleonephotos>




More information about the kubuntu-users mailing list