Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 10-29-2006, 01:14 AM   #1
LQ Newbie
Registered: Oct 2006
Posts: 4

Rep: Reputation: 0
less accessible through sudo


I'm new here and have a question that does not make sense to me and thought maybe you guys could help me out.

Making a new user & allowing them to use Sudo, why is it that making it less accessible through sudo is a security risk??

I would think that if a user cant use sudo is more safe then the other way around??

Old 10-29-2006, 06:10 PM   #2
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
I believe that the situation to which you refer is if you want to allow a particular normal user account to perform some privileged function. In this case the choices are to use sudo or to give the normal user access to the root account. When you provide privileges through sudo then you do not give the root account password to the normal user. They use their normal user account password to access sudo. Also, sudo can provide fine grain control on what the normal user is allowed to do. Access to the root account would give the normal user complete access to all functions. So advantages of using sudo are:

1) You do not disclose the root account password or provide access to the root account.

2) You can control what sudo allows the normal user account to do.

More information is available in the man page for sudo.


sudo, sudoers

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Restricting Editing in Sudo (Advanced Sudo Question) LinuxGeek Linux - Software 4 11-04-2006 03:20 PM
Sudo without having to type "sudo?" Mitch G Linux - Security 3 09-28-2006 02:16 PM
usb0 no more accessible weeb0_tikris Linux - Networking 1 09-08-2006 07:39 AM
NTFS (winxp) drive is accessible only by root, why NTFS (winxp) drive not accessible Samppa72 Linux - Software 1 07-26-2004 03:13 PM
Shares not accessible siddharth Linux - Networking 1 08-18-2003 09:23 AM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:00 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration