1834285 Members
1825 Online
110066 Solutions
New Discussion

Re: SUDO

 
Indrajit Bhagat
Regular Advisor

SUDO

what is the command to get sudo access in HP server.
I have tried this command but it is not working.

Also what is the daemon to check whether sudo is installed.

what is correct command.
4 REPLIES 4
Victor BERRIDGE
Honored Contributor

Re: SUDO

man sudo
Steven E. Protter
Exalted Contributor

Re: SUDO

shalom,

swlist -l product | grep -i sudo

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
$t!$-
Advisor

Re: SUDO

Hi,
If you PATH envoirment variable is having path of your installed sudo,then command sudo should work. If it's not there then type sudo with full path.
ex, /appl/tsu/bin/sudo su -
Above command is used to switch into root from normal user. This works if your sudo is installed at path /appl/tsu/bin
Ivan Krastev
Honored Contributor

Re: SUDO

If you want to switch to root user use 'su'.
Sudo is fo givving root/user access to specific commands to other users.

Version from Internet Express is installed under /opt/iexpress/sudo/ and has 2 links:
/usr/bin/sudo is link to binary
/usr/sbin/visudo (or /sbin/visudo) is for sudo configuration.

For more info/examples see http://www.sudo.ws


regards,
ivan