Sudo from .profile

From: Kevin Davidson (kdavidson@transaction-one.com)
Date: Thu May 29 2003 - 06:53:01 EDT


Gurus,

I wish to run a shell script from a user's .profile file via sudo. When this
script is run from the command line, the script executes with no problems,
and the process started will continue to run when the user logs out.
However, if I run the script from within the .profile, the process started
by the script will exit when the user logs out. I have tried to use a nohup
command but this does not work.

What I wish to achieve is for the user to log in and have the process start
automatically, and continue to run after log out.

Is this possible?

I'm using Solaris 8 and sudo 1.6.6 downloaded from Sunfreeware.com.

Many thanks, will summarize.

Kev

--
Kevin Davidson  |       UNIX Systems Administrator
Transaction One |       www.transaction-one.com
020 8358 9126   |       kdavidson@transaction-one.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:29 EDT