Weird problem with non-root user

Chhaya, Harshal hchhaya at ti.com
Tue Aug 22 17:40:05 EDT 2000


Hi,

I am using sudo 1.6.3p5 on a Red Hat 6.1 system to allow one specific user
to run scripts in another non-root users directory.

The particular command is a perl script that spawns multiple copies of
itself and does various networking tasks as a daemon.

If I use,

[user1 at host]% sudo -u user2 ~user2/script.pl

the script seems to start OK but does not spawn any children. It also does
not write to a log file that exists in ~user2. For all practical purposes,
it is as if the command failed.

The command works as expected when I login as user2 and run the command
directly:
[user2 at host]% ./script.pl

I did not change any options during the configure and make stage.

Any hints on how to get sudo to do what I want?

Thanks much,
Harshal


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Harshal Chhaya
Phone:  (972)917-2592       Texas Instruments Inc.
Fax:  (972)917-7103         7800 Banner Dr, MS 3908
hchhaya at ti.com              Dallas, TX 75251
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/sudo-users/attachments/20000822/80b34d1e/attachment.html>


More information about the sudo-users mailing list