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
02-17-2006 05:59 AM
02-17-2006 05:59 AM
thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2006 06:04 AM
02-17-2006 06:04 AM
Re: sudo
How did you try to install it? What error did you get? Should just be:
swinstall -s full_path_to_depot_file \*
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2006 06:10 AM
02-17-2006 06:10 AM
Re: sudo
swinstall
and a GUI will pop up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2006 06:10 AM
02-17-2006 06:10 AM
Re: sudo
All is well. There is a permissions problem on the sudo executable.
By default the suid is not set on the executable, generating an installation error.
If you change the permissions to suid, sudo will start to work without re-installation.
whence sudo
chmod 4755
I'm not sure about the chmod, but the log in the swinstall will show you exactly whtat the problem is.
SEP
In the USA
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
02-17-2006 06:23 AM
02-17-2006 06:23 AM
Re: sudo
the above file is in the tmp/tmpdepot directory.
permissions on the file are: -rw-r-----
thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2006 06:27 AM
02-17-2006 06:27 AM
Re: sudo
/some/dir/file.depot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2006 06:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2006 06:36 AM
02-17-2006 06:36 AM
Re: sudo
ps: looked through itrc and did not find what i was looking.
asante.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2006 06:39 AM
02-17-2006 06:39 AM
Re: sudo
/usr/local/bin/sudo
/usr/local/sbin/visudo
/usr/local/etc/sudoers
/usr/local/man* -- for man pages
Verify the permissions on /usr/local/bin/sudo. They should be: -r-s--x--x. If they are not you can do a 'chmod 4511 /usr/local/bin/sudo'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2006 01:15 AM
02-18-2006 01:15 AM
Re: sudo
When you ftp the depot file from your windows desktop to Unix server , try to do with binary mode. This would not add unnecessary control characters to the depot file.
Try it out..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2006 01:24 AM
02-20-2006 01:24 AM
Re: sudo
Mani, when i do ftp i do use binary. sorry to be a bother, but i am not able to do an install of the file that i downloaded from the HP website,
thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2006 02:38 AM
02-20-2006 02:38 AM
Re: sudo
To find it, try this:
# find /opt -name "sudo*" -exec ll -d {} \;
This will show you anything in /opt with sudo in the name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2006 02:43 AM
02-20-2006 02:43 AM
Re: sudo
dr-xr-xr-x 9 bin bin 8192 Feb 17 14:31 /opt/iexpress/sudo
-rw-r--r-- 1 bin bin 608 Nov 13 23:39 /opt/iexpress/sudo/etc/sudoers
dr-xr-xr-x 3 bin bin 96 Feb 17 14:31 /opt/iexpress/sudo/newconfig/opt/iexpress/sudo
-rw-r--r-- 1 bin bin 608 Nov 13 23:39 /opt/iexpress/sudo/newconfig/opt/iexpress/sudo/etc/sudoers
-r--r--r-- 2 bin bin 25829 Nov 13 23:39 /opt/iexpress/sudo/man/man1m/sudo.1m
-r--r--r-- 2 bin bin 25829 Nov 13 23:39 /opt/iexpress/sudo/man/man1m/sudoedit.1m
-r--r--r-- 1 bin bin 57563 Nov 13 23:39 /opt/iexpress/sudo/man/man4/sudoers.4
---s--x--x 2 root root 176128 Nov 13 23:39 /opt/iexpress/sudo/bin/sudoedit
---s--x--x 2 root root 176128 Nov 13 23:39 /opt/iexpress/sudo/bin/sudo
-r-xr-xr-x 1 bin bin 16384 Nov 13 23:39 /opt/iexpress/sudo/libexec/sudo_noexec.sl
-r--r--r-- 1 bin bin 700639 Nov 14 01:19 /opt/iexpress/sudo/src/sudo-1.6.8p12.tar.gz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2006 02:51 AM
02-20-2006 02:51 AM
Re: sudo
Your main sudo executable is /opt/iexpress/sudo/bin/sudo. The 'sudoedit', which is used to edit your sudoers file is /opt/iexpress/sudo/bin/sudoedit.
Hopefully this will get you started with sudo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2006 05:46 AM
02-20-2006 05:46 AM
Re: sudo
thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2006 06:13 AM
02-20-2006 06:13 AM
Re: sudo
To make things easier, be sure and add /opt/iexpress/sudo/bin to your PATH. If all users on the system are going to use sudo, it would be easiest to add it via the /etc/PATH file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2006 09:15 AM
02-20-2006 09:15 AM
Re: sudo
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 12:03 AM
02-21-2006 12:03 AM
Re: sudo
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 12:20 AM
02-21-2006 12:20 AM
Re: sudo
No need to change the current directory for Sudo, since while compiling it may be hard coded.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 12:22 AM
02-21-2006 12:22 AM
Re: sudo
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 12:46 AM
02-21-2006 12:46 AM
Re: sudo
as always
Asante.
ps: just reopened due to errors that i was having.thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 04:56 AM
02-21-2006 04:56 AM
Re: sudo
/opt/iexpress/sudo/bin/sudo
i am getting the below error:
>sudo
usage: sudo -K | -L | -V | -h | -k | -l | -v
usage: sudo [-HPSb] [-p prompt] [-u username|#uid]
{ -e file [...] | -i | -s |
>sudo -su root
/usr/bin/ksh: root: cannot open
thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 05:04 AM
02-21-2006 05:04 AM
Re: sudo
In your second attempt, that is an invalid command (sudo -su root). If you are trying to su and become root then the syntax is:
$ sudo su -
(The root at the end of the command is not needed. If no user name is given after the '-' then root is automatically assumed.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 06:10 AM
02-21-2006 06:10 AM