Re: setuid and secondary group on HPUX
From: Ian P. Springer (ian.springer_at_hp.com)
Date: 05/20/04
- Next message: Kenny Becker: "Disk Drives For Sale"
- Previous message: cc: "Re: setuid and secondary group on HPUX"
- In reply to: cc: "Re: setuid and secondary group on HPUX"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 20 May 2004 16:16:10 GMT
| >
| > You don't show how you run the script. Many shell implementations
check
| > whether the effective uid is different from the real uid, and revert
| > back to the real uid. There may be a shell command-line option that
| > disables this (it's -p for Bourne shell and similar shells).
|
| I just do execvp to exec the scripts. I tried to call getgroups and
print
| out the result after setuid, and it only show the primary group in HPUX.
But
| in AIX and Solaris, it shows all the groups and the program works.
Anyone
| have any idea how to make it work in HPUX? What is the su do beside
| initgroups, setuid etc in HP?
You could try using tusc to determine what system calls su is making.
Ian
- Next message: Kenny Becker: "Disk Drives For Sale"
- Previous message: cc: "Re: setuid and secondary group on HPUX"
- In reply to: cc: "Re: setuid and secondary group on HPUX"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|