Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* change effective user ID?
@ 1998-03-11  5:00 Euclid Manager
  1998-03-13  5:00 ` Jeff Sullivan
  0 siblings, 1 reply; 2+ messages in thread
From: Euclid Manager @ 1998-03-11  5:00 UTC (permalink / raw)



Hello

is there a possibilty to change the effective user id of a running prg
without having superuser privileges (using a function like seteuid)?

If this is not possible, can i write a programm with the setuid-bit set,
that changes the effective user id of another running process?

The problems has it's source in the fact, that setuid programms cannot
find dynamic linked libraries outside the standart paths.

Best regards

Mario

e-mail: mario.zimmermann@pcm.bosch.de



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: change effective user ID?
  1998-03-11  5:00 change effective user ID? Euclid Manager
@ 1998-03-13  5:00 ` Jeff Sullivan
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Sullivan @ 1998-03-13  5:00 UTC (permalink / raw)



Well, this can be a risky proposition...
You can write a program yourself, but it may open a security
hole on your system.

I think that one of the best/safest ways to do this is to use a
program such as the  public domain "sudo" program. That allows a
sysadmin to add only certain "sudoers" to a list, therefore
maintaining control over who has the "power".

You could check for the sources on ftp.digital.com at
http://gatekeeper.dec.com/hypertext/gatekeeper.home.html

-Jeff
-- 
Jeff Sullivan | Digital Equipment Corp | E-mail:    jps@zk3.dec.com
DEC C and C++ | Nashua, NH  ZK3-2/2X29 | sullivan@decc.enet.dec.com



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-03-13  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-03-11  5:00 change effective user ID? Euclid Manager
1998-03-13  5:00 ` Jeff Sullivan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox