[Novalug] permission problem??

Mackenzie Morgan macoafi@gmail.com
Fri Sep 19 18:15:00 EDT 2008


On Fri, 2008-09-19 at 18:10 -0400, Megan Larko wrote:
> Hi Beartooth,
> 
> On Debian-based systems, root is the user with access via sudo and there is not often a separate root user.   On some of my Ubuntu systems I changed this.
> 
> For the more root-and-user-separated RH/CentOS/FC linux distros you probably want to use "visudoers".   And near the bottom of the file add:
> ## Allow root to run any commands anywhere
> root    ALL=(ALL)       ALL
> larkoc  ALL=(ALL)       ALL
> 
> This would equivalence userid "larkoc" to root.   I have done this successfully.  I may add that I do not recommend this approach because it can be too easy as user "larkoc" to do something (rm whatever) really, really stupid.

The user would still need to prepend sudo and they'd be prompted for the
password (this is the way Ubuntu is set up).  There's a NOPASSWORD
option that can be added if you don't want to have enter a password
(probably a bad idea).

-- 
Mackenzie Morgan
http://ubuntulinuxtipstricks.blogspot.com
apt-get moo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.firemountain.net/pipermail/novalug/attachments/20080919/f37f4e98/attachment.asc>


More information about the Novalug mailing list