LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 09-28-2006, 02:34 PM   #1
Mitch G
LQ Newbie
 
Registered: Sep 2006
Posts: 1

Rep: Reputation: 0
Sudo without having to type "sudo?"


I've poked around this forum and the web and I didn't see an answer to this question.

Is there a capability like sudo that doesn't require typing "sudo" before each command?
Basically, I'm wondering if there's a Linux equivalent to Solaris RBAC where once the profiles, etc. are set up, one just types a command (e.g. adduser) and is denied or allowed to run the command.

TIA,

Mitch
 
Old 09-28-2006, 02:49 PM   #2
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
A quick google turned up http://www.rsbac.org/why and http://www.grsecurity.net/index.php.

Note that I have no experience with RBAC...
 
Old 09-28-2006, 02:57 PM   #3
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,173

Rep: Reputation: 47
Perhaps you could use an alias or make a small script. I have my user allowed to sudo the shutdown command without needing root's password. Instead of having to type 'sudo /sbin/shutdown -h now' I put that command in a script called down in my ~ so I just type down and the computer shuts down.
 
Old 09-28-2006, 03:16 PM   #4
Abomb
Member
 
Registered: Dec 2005
Location: ~/
Distribution: Ubuntu
Posts: 156

Rep: Reputation: 30
http://easylinux.info/wiki/Ubuntu

On that page has a list of different things you can do with sudo (just look on the page for it). Not sure if what your asking is on there but its worth checking out regardless if your using Ubuntu (I don't have any experience with Solaris).
 
  


Reply


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
"sudo" i386 binarys? xconspirisist Linux - Software 1 11-24-2005 12:46 PM
Services and "sudo ifdown eth0" on boot? J_K9 Linux - General 5 07-14-2005 05:35 AM
how do I get around the "submit passwd" prompt in ubuntu even if I use "sudo"? t3gah Linux - Distributions 1 02-22-2005 05:42 PM
Problem with "sudo" command on Fedora Core 2 maatghandi Linux - Newbie 1 10-30-2004 10:25 AM
normal user want to perform "init 6" by using " sudo acbenny Linux - General 3 08-08-2004 08:41 AM


All times are GMT -5. The time now is 01:07 PM.

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