- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: SUDO very urgent
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2008 11:30 PM
08-18-2008 11:30 PM
i have little knowledge about HP UX but sadly without any experience...
so i need ur help to find SUDO application and how to install it step by step...
wish to hear any reply as soon as possible...
Regards,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2008 11:52 PM
08-18-2008 11:52 PM
Re: SUDO very urgent
not sure what hpux version, but for a start download it from:
http://h20392.www2.hp.com/portal/swdepot/index.do
register and choose sudo to download.
https://h20392.www2.hp.com/portal/swdepot/try.do?productNumber=HPUXIEXP1123
when downloaded. Install via command swinstall. If u choose the zips, make sure u uncompress it.
# swinstall -s /mnt/
good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2008 12:40 AM
08-19-2008 12:40 AM
Re: SUDO very urgent
You are definitely better off using the sudo provided in the link above.
Note that contrary to Linux all the configuration files for this sudo are located in the /opt file system.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2008 12:43 AM
08-19-2008 12:43 AM
Re: SUDO very urgent
i am still confused,i saved the file on my desktop but what to do after that?
it is not zip file;extension file is : .depot
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2008 01:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2008 02:00 AM
08-19-2008 02:00 AM
Re: SUDO very urgent
ftp the file from your pc to the server.
The from the server, execute swinstall.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2008 02:44 AM
08-19-2008 02:44 AM
Re: SUDO very urgent
see #man sudoers for more details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2008 02:49 AM
08-19-2008 02:49 AM
Re: SUDO very urgent
You will need root access to run swinstall command and configure sudo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2008 02:57 AM
08-19-2008 02:57 AM
Re: SUDO very urgent
using sudo is execellent option to delegate system admin tasks without giving root passwords to a group of users.
install using swinstall and configure using
vi /etc/sudoers
Refer to man sudoers for more info.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2008 11:02 PM
08-19-2008 11:02 PM
Re: SUDO very urgent
still not workink,i am worried that u not getting my point...
this is the sudo file that i downlaod from internet to my desktop:
ixSudo_A.11.00-1.6.9p16.001_HP-UX_B.11.23_IA_PA.depot
it is around 4 MB
now i want some details about how to install this file on the HP server...in other way how to catch this file from my desktop and install it on HP server?
it is urgent..
sorry for disturbing...
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2008 11:05 PM
08-19-2008 11:05 PM
Re: SUDO very urgent
Now use
# swinstall -s /tmp/ixSudo_A.11.00-1.6.9p16.001_HP-UX_B.11.23_IA_PA.depot
to install it.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2008 11:10 PM
08-19-2008 11:10 PM
Re: SUDO very urgent
how to transfer the depot to server using ftp?
if there any software nedded for that?
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2008 11:13 PM
08-19-2008 11:13 PM
Re: SUDO very urgent
> ftp
use valid credentials to logon.
You may also use a ftp client like this:
http://filezilla-project.org/
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2008 11:22 PM
08-19-2008 11:22 PM
Re: SUDO very urgent
i typed:
ftp (the IP address)
then this sentense appeared:
Connection closed by remote host
so what's the problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2008 11:25 PM
08-19-2008 11:25 PM
Re: SUDO very urgent
Have a look into
/var/adm/syslog/syslog.log
for more messages.
With a ftp client like filezilla you can also use SFTP.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2008 11:27 PM
08-19-2008 11:27 PM
Re: SUDO very urgent
If you have FTP services running on your PC, you try the other way around - use ftp from your server to get the file from your PC.
Default location on the PC is
c:\inetpub\ftproot
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2008 11:29 PM
08-19-2008 11:29 PM
Re: SUDO very urgent
Execute permission denied
now i cant use ftp i guess...
i think there is a software like putty can help me to transfer this file from WIN to HP server...
what's ur opinion?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2008 11:32 PM
08-19-2008 11:32 PM
Re: SUDO very urgent
The putty download page also lists clients for
scp
and
sftp.
try a client of your choice.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2008 11:40 PM
08-19-2008 11:40 PM
Re: SUDO very urgent
If ftp not working try using sftp. Or do you have any UNIX (Linux) guys around. If so, just ask them for little support. Either the firewall is blocking your ftp port or ftp should have disabled from the server side.
Once you copy (ftp/sftp) the file to the HP-UX box, then you have to install the depot (sudo software package) using swinstall command as said in the above posts.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2008 12:47 AM
08-20-2008 12:47 AM
Re: SUDO very urgent
now the second step is to create a user with full access...
what i need is how to create a user id (assume it USER) and how to give him all permissions he need?
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2008 01:49 AM
08-20-2008 01:49 AM
Re: SUDO very urgent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2008 01:18 AM
08-21-2008 01:18 AM
Re: SUDO very urgent
glad to know u manage to install sudo.
There is no easy way to teach u this. But i will give it a try.
Open sudoer file
# visudo
Assign what commands u want to allow the user to execute
Example, maybe u want to allow user to use tar and rm.
Cmnd_Alias BACKUP=/usr/bin/tar
Cmnd_Alias RM=/usr/bin/rm
Then at #User privilege specification, put the following (assume u created a user ID call oper and the server hostname is dbserver)
oper DBSERVER= NOPASSWD: BACKUP, NOPASSWD: RM
And thats it!
Its a vi editor. So to quit, press ESC button follow by colon w q exclamation mark (:wq!)
Really appreciate if you could assign some points to all who provide feedbacks to your questions here.
tHANKS!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2008 01:42 AM
08-21-2008 01:42 AM
Re: SUDO very urgent
before i forget. Need to inform you a few things.
After you finish edit the sudoers file, login via user id you created. And test the sudo.
Example:
# su - oper
$ id
oper etc etc etc
Make sure the path is there, dont have a hpux box with me now but lets assume its in /usr/local/sudo
$ echo $PATH
If /usr/local is not there, then its probably good if you could add it now.
$ PATH=$PATH:/usr/local
Test it. In this case, i try to backup /home
$ sudo tar cvf /dev/rmt/0mn /home
If the command execute accordingly and you are not prompt with password, thats mean you are fine.
If not, then it would be good if you could check again the sudoers file.
Rgds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2008 02:03 AM
08-21-2008 02:03 AM
Re: SUDO very urgent
http://newbiedoc.berlios.de/wiki/How_to_configure_Sudo_to_run_programs_as_a_different_user
The editor for the sudo configuration file has a built in syntax checker.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2008 11:10 PM
08-22-2008 11:10 PM
Re: SUDO very urgent
i want to thx u very much for your high support and i appreciate your perfect knowledge...
I finished my task very well...
Regards,