LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 01: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, 01:49 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
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, 01:57 PM   #3
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
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, 02: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



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 11:46 AM
Services and "sudo ifdown eth0" on boot? J_K9 Linux - General 5 07-14-2005 04: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 04:42 PM
Problem with "sudo" command on Fedora Core 2 maatghandi Linux - Newbie 1 10-30-2004 09:25 AM
normal user want to perform "init 6" by using " sudo acbenny Linux - General 3 08-08-2004 07:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 01:03 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
Open Source Consulting | Domain Registration