Operating System - HP-UX
1833870 Members
1631 Online
110063 Solutions
New Discussion

description of sudo command needed

 
SOLVED
Go to solution
ASIFKHAN
Frequent Advisor

description of sudo command needed

User creation ...... ( but haven't any idea about sudo security at all ... if you have anything regarding sudo then please reply me through installation procedure
4 REPLIES 4
Matti_Kurkela
Honored Contributor
Solution

Re: description of sudo command needed

The "sudo" command can be configured to allow (selected) users to perform (selected) commands using the identity and permissions of other users, without knowing the passwords of the other users. Nothing more, nothing less.

Installation procedure for the supported HP-UX versions:

Download the sudo .depot package from software.hp.com (it's part of a collection named "Internet Express" but the download page allows to download just the sudo package if you wish). The package is named something like "ixSudo-.depot".

Transfer the package to your HP-UX system using a method of your choice. You can place the depot package anywhere.

Read the relevant parts of the HP Internet Express documentation:
http://docs.hp.com/en/internet.html#Internet%20Express

Use the "swinstall" tool to install sudo, just like any other HP-UX product.

As "sudo" is an open-source product, the most current sudo-specific documentation can be found in the internet:

http://www.sudo.ws/sudo/
(the author's website)

http://en.wikipedia.org/wiki/Sudo
(an overview of sudo)

After installing sudo, you should also read the man pages: "man sudo", "man sudoers" and "man visudo". Note that "man sudoers" in particular is _very_ detailed and can take a while to read and understand. The beginning of the man page is very heavy reading, but near the end there are good examples.

MK
MK
Bill Hassell
Honored Contributor

Re: description of sudo command needed

sudo is an open source program so there are many different ways to get a copy and many different ways to build and install it. If you downloaded sudo from HP then you install it with swinstall. The man page for sudo and the configuration file sudoers will be available once you install the code.


Bill Hassell, sysadmin
ASIFKHAN
Frequent Advisor

Re: description of sudo command needed

Thanku all for replying and helping me in understanding this command.
Sachin Jadhav
Advisor

Re: description of sudo command needed


Hi Asif,

Try this ....
First of all download the reuired sudo
version
from net. I think you will get it the link
from itrc itself.
Please try the below procedure...

STEPS TO INSTALL THE .DEPOT FILE FOR SUDO
USERS

1) Download the .depot file from the net
2) From the ftp put the .depot file in the
/tmp directory
3) Run the .depot file using the command
#swinstall â s /tmp/
4) Check the sudo is install or not using
#swlist | grep sudo
Output : sudo is installed with version
5) Now set the path variable to run the
visudo by using the command
#PATH=$PATH:/usr/local/sbin
6) Check from the command prompt it is
opening or not by using
#visudo
7) It opens a file in a vi editor mode to
edit the file
8) Now enter the user name to access as a
super user