sudo and /etc/sudoers

hermanaa hermanaa at gmail.com
Sun Dec 28 05:45:27 UTC 2008


On Sun, 2008-12-28 at 08:59 +1000, Res wrote:
> On Sat, 27 Dec 2008, Karl F. Larsen wrote:
> 
> >    The two Subject things and their man pages are the most obscure
> > information I have ever seen on my computer. They do work but in trying
> > to explain to myself HOW they work was a thankless job. I have an idea
> > how it works but why is it so darn crude? It would seem that someone who
> > fully understands the code could write something that makes /etc/sudoers
> > much easier to read.
> 
> Why torture yourself
> 
> sudo -i
> once accepted, type  passwd, set a pasword, then use su and enter roots 
> password, voila, nowi know a bunch of clowns on here will go " oh no, omg 
> how dare you' yeah, right, they can blow it out their ...
> its no more less secure than sudo if you know what you're doing, infact in 
> both default formats its more secure, no caching.
> 
> 
> -- 
> Res

Thank you!
I am ready for it.

How simple !

n0jn at bswim:~$ sudo -i
Password:
root at bswim:~# ls -l
total 0
root at bswim:~# dir
root at bswim:~# cd /
root at bswim:/# ls
bin    dev   initrd          lib         mnt   root  sys  var
boot   etc   initrd.img      lost+found  opt   sbin  tmp  vmlinuz
cdrom  home  initrd.img.old  media       proc  srv   usr  vmlinuz.old
root at bswim:/# exit
logout
n0jn at bswim:~$

No idea how useful it is.
I will be trying it out when I need it.
 (normally I will be using sudo)

I got the taste of 'running as root' when using Puppy-Linux.
 (where you run root as default)
Puppy-Linux is a real joy when doing rescue-type work.

(as I have the opportunity) I will be comparing
 n0jn at bswim:~$ sudo -i
......... and Puppy-Linux.

Nice to know !

Herman in PHL.






More information about the ubuntu-users mailing list