1846975 Members
5303 Online
110257 Solutions
New Discussion

Re: Sudo

 
Amit Jawalkar
Occasional Advisor

Sudo

What for sudo is use?

Thanks In advance

Regards
Amit Jawalkar
7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: Sudo

Shalom Amit,

Sudo is used to grant non-root users the ability to run programs normally reserved for root only.

If root can only run command bagel. sudo permits user amit to run the command bagel as follows.

sudo bagel

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Robert-Jan Goossens
Honored Contributor

Re: Sudo

Hi Amit,

--
Sudo is a program designed to allow a sysadmin to give limited root privileges to users and log root activity. The basic philosophy is to give as few privileges as possible but still allow people to get their work done.
--

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.8p12/

Regards,
Robert-Jan
Peter Godron
Honored Contributor

Re: Sudo

Amit,
definition from sudo site:
"Sudo (superuser do) allows a system administrator to give certain users (or groups of users) the ability to run some (or all) commands as root or another user while logging the commands and arguments."

Software available at:
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.8p12/

Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.

Berd
Trusted Contributor

Re: Sudo

Amit,

Whilst working for a financial organisation we used sudo to provide root access to SysAdmins, as even they were not privvy to the actual root password.

The root passwords were set by Infosec, and then we configured appropriate user to have root access via sudo. We were then also able to log actions taken as root against specific userid's

Regards,
Berd
Ivan Krastev
Honored Contributor

Re: Sudo

Here is another doc in Wiki - http://en.wikipedia.org/wiki/Sudo

regards,
ivan
Amit Jawalkar
Occasional Advisor

Re: Sudo

Thanks to all for valuable replies..
Peter Godron
Honored Contributor

Re: Sudo

Amit,

Could you please complete the thread by awarding points to helpful answers and summarising the solution for you.

This will help resolution of similar problems in the future.