LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

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

Rep: Reputation: 0
less accessible through sudo


Hello,

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??

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

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
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.
 
  


Reply

Tags
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 04:20 PM
Sudo without having to type "sudo?" Mitch G Linux - Security 3 09-28-2006 03:16 PM
usb0 no more accessible weeb0_tikris Linux - Networking 1 09-08-2006 08:39 AM
NTFS (winxp) drive is accessible only by root, why NTFS (winxp) drive not accessible Samppa72 Linux - Software 1 07-26-2004 04:13 PM
Shares not accessible siddharth Linux - Networking 1 08-18-2003 10:23 AM


All times are GMT -5. The time now is 03:49 AM.

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