- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Setuid execution not allowed
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
11-12-2002 09:22 PM
11-12-2002 09:22 PM
I am trying to start a program with the following line as stated in the manual:
/opt/cdunix/ndm/bin/cdpmgr -i /opt/cdunix/ndm/cfg/bat_sap1/initparm.cfg
after that I got the following message:
/opt/cdunix/ndm/bin/cdpmgr: Setuid execution not allowed
Initialization failed.
The file define as:
-r-sr-x--- 1 root sterling 5085576 Jun 16 2001 cdpmgr
can some one help to resolve this problem.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2002 09:35 PM
11-12-2002 09:35 PM
Solution-r-sr-xr-x 1 root staff 5374764 Oct 17 2001 /usr/local/cdunix/ndm/bin/cdpmgr
Make sure that the filesystem your using it from it set so you can start 'suid' programs.
Check the entries in /etc/fstab for the filesystem so that they do not have the option as "nosuid"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2002 09:47 PM
11-12-2002 09:47 PM
Re: Setuid execution not allowed
check your /etc/fstab file.
Is the file system NFS mounted?
Then the above should be the case
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2002 09:55 PM
11-12-2002 09:55 PM
Re: Setuid execution not allowed
make sure it does not have the nosuid option in the /etc/fstab.
/dev/vg00/lvolX /opt vxfs
delaylog 0 2
The file system by default without options support suid.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2002 12:31 AM
11-13-2002 12:31 AM
Re: Setuid execution not allowed
Thanks for your replies, I have check the /etc/fstab and found the following entry:
/dev/vg00/lvol6 /opt vxfs delaylog 0 2
The option "nosuid" is not set. So, what could be the problem?!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2002 01:43 AM
11-13-2002 01:43 AM
Re: Setuid execution not allowed
How about /tmp filesystem?
Can you post your /etc/fstab file
Thanks
NOte:
Please do not assign points 8-10 for the responses which have solved your problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2002 01:49 AM
11-13-2002 01:49 AM
Re: Setuid execution not allowed
/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand hfs defaults 0 1
/dev/vg00/lvol4 /tmp vxfs delaylog 0 2
/dev/vg00/lvol5 /home vxfs delaylog 0 2
/dev/vg00/lvol6 /opt vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
/dev/vg00/lvol8 /var vxfs delaylog 0 2
/dev/vgemc4/lvol3 /oracle/B01 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vgemc1/lvol1 /oracle/B01/sapdata1 vxfs rw,suid,largefiles,delaylog,datainlo
g 0 2
/dev/vgemc2/lvol1 /oracle/B01/sapreorg vxfs rw,suid,largefiles,delaylog,datainlo
g 0 2
/dev/vgemc2/lvol2 /oracle/B01/origlogA vxfs rw,suid,largefiles,delaylog,datainlo
g 0 2
/dev/vgemc2/lvol3 /oracle/B01/origlogB vxfs rw,suid,largefiles,delaylog,datainlo
g 0 2
/dev/vgemc2/lvol4 /oracle/stage/stage_806 vxfs rw,suid,largefiles,delaylog,datai
nlog 0 2
/dev/vgemc2/lvol5 /sapmnt/B01 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vgemc3/lvol1 /usr/sap/trans vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vgemc4/lvol1 /oracle/B01/saparch vxfs rw,suid,largefiles,delaylog,datainlog
0 2
/dev/vgemc4/lvol2 /usr/sap/B01 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2002 01:50 AM
11-13-2002 01:50 AM
Re: Setuid execution not allowed
Have you tried to modify the permissions of the file with:
chmod 4775
Normally this should do the trick !
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2002 01:54 AM
11-13-2002 01:54 AM
Re: Setuid execution not allowed
Did you run this as super user?(root)
Can you change the permissions as Micheal suggested on the executable
i.e
-r-sr-xr-x for the executable.
I meant not to assign 8-10 points which has //not// solved your query.
Revert.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2002 02:14 AM
11-13-2002 02:14 AM
Re: Setuid execution not allowed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2002 02:30 AM
11-13-2002 02:30 AM
Re: Setuid execution not allowed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2002 03:10 AM
11-13-2002 03:10 AM
Re: Setuid execution not allowed
If so, then you may have to grant the relevant group (sterling in your case) SETRUGID privileges (see man 1m setprivgrp and man privgrp).
Try running 'setprivgrp sterling SETRUGID' and try again. If that works you'll have to add an entry to /etc/privgroup.
Sorry I can't test it as I don't have any trusted systems.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2002 05:13 AM
11-14-2002 05:13 AM
Re: Setuid execution not allowed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2002 06:26 AM
11-14-2002 06:26 AM
Re: Setuid execution not allowed
I would rather ask you the output of a 'mount -p' command, because the filesystem your are using has perhaps been mounted out of fstab , I mean manually. Is it NFS mounted ?
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2002 09:23 AM
11-14-2002 09:23 AM
Re: Setuid execution not allowed
if:
1) program is setuid and the uid is out of bounds.
2) program is setgid and the gid is out of bounds.
3) The previously mentioned 'nosuid' case
I assume that root has a uid of 0 on your system (else you'd have lots of other interesting problems!).
The program isn't setgid, so 2) does not seem relevant.
That leaves the nosuid issue mentioned by others or an error message generated by the program itself as the obvious explanations.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2002 09:24 AM
11-14-2002 09:24 AM
Re: Setuid execution not allowed
(the reason for asking is - is the binary for same version of hp-ux?)
Rgds
...Manjeet