[sudo-users] Installing and Configuring sudo on HP UNIX 11.11

donald.ritchey at exeloncorp.com donald.ritchey at exeloncorp.com
Fri Sep 7 11:22:27 EDT 2007


Check the mount options of the file system where sudo is located.  (If
you installed from the HP-UX installation depot, it probably went into
/opt/iexpress/sudo/bin, with a symbolic link to /usr/bin/sudo).  Make
sure that if /opt is a separate file system, it is not mounted with a
'nosuid' option.

Should be:
	/opt on /dev/vg00/lvol5 ioerror=mwdisable,delaylog,dev=40000005
on Thu Aug 23 11:14:01 2007
Not:
	/opt on /dev/vg00/lvol5
ioerror=mwdisable,nosuid,delaylog,dev=40000005 on Thu Aug 23 11:14:01
2007

Also, as root, run the command:  file sudo and make sure that the
executable is suitable for your architecture (PA-Risc or Itanium).  The
'file' command will tell you what sort of executable that 'sudo' is.
	# file /opt/iexpress/sudo/bin/sudo
	/opt/iexpress/sudo/bin/sudo:    ELF-32 executable object file -
IA64

Don Ritchey
IT ED RTS Tech Services, Senior IT Analyst (UNIX)


-----Original Message-----
From: sudo-users-bounces at courtesan.com
[mailto:sudo-users-bounces at courtesan.com] On Behalf Of Nilesh Salunke
Sent: Friday, September 07, 2007 6:51 AM
To: Todd C. Miller
Cc: sudo-users at sudo.ws
Subject: Re: [sudo-users] Installing and Configuring sudo on HP UNIX
11.11


Hi Todd,
   
  I changed the binary mode for sudo to 4111 but still cannot run sudo
,it still says Execute permission denied.
  # chmod 4111 sudo
  # ls -l
  total 480
  ---s--x--x 2 root sys 122880 Apr 24 18:22 sudo
  ---s--x--x 2 root sys 122880 Apr 24 18:22 sudoedit
  # 
  $ sudo
  sh: sudo: Execute permission denied.
  $ 
   
  Thanks
  Nilesh
  

"Todd C. Miller" <Todd.Miller at courtesan.com> wrote:
  In message <926344.73045.qm at web51302.mail.re2.yahoo.com>
so spake Nilesh Salunke (salunke_nilesh):

> Here are the file permissions.
> # ls -l sudo
> -rwS--x--x 2 root sys 122880 Apr 24 18:22 sudo

Your sudo binary is mode 4011, it should be 4111.
If you so "chmod 4111 sudo" you will be able to run it.

- todd


       
---------------------------------
Be a better Heartthrob. Get better relationship answers from someone who
knows.
Yahoo! Answers - Check it out. 
____________________________________________________________ 
sudo-users mailing list <sudo-users at sudo.ws>
For list information, options, or to unsubscribe, visit:
http://www.sudo.ws/mailman/listinfo/sudo-users

-----------------------------------------
**************************************************
This e-mail and any of its attachments may contain Exelon
Corporation proprietary information, which is privileged,
confidential, or subject to copyright belonging to the Exelon
Corporation family of Companies. 
This e-mail is intended solely for the use of the individual or
entity to which it is addressed.  If you are not the intended
recipient of this e-mail, you are hereby notified that any
dissemination, distribution, copying, or action taken in relation
to the contents of and attachments to this e-mail is strictly
prohibited and may be unlawful.  If you have received this e-mail
in error, please notify the sender immediately and permanently
delete the original and any copy of this e-mail and any printout.
Thank You.
**************************************************



More information about the sudo-users mailing list