Sudo from .profile
From: Kevin Davidson (kdavidson_at_transaction-one.com)
Date: 05/29/03
- Previous message: richard kumar: "health check on solaris OS"
- Next in thread: Kevin Davidson: "SUMMARY: Sudo from .profile"
- Reply: Kevin Davidson: "SUMMARY: Sudo from .profile"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: <sunmanagers@sunmanagers.org> Date: Thu, 29 May 2003 11:53:01 +0100
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
- Previous message: richard kumar: "health check on solaris OS"
- Next in thread: Kevin Davidson: "SUMMARY: Sudo from .profile"
- Reply: Kevin Davidson: "SUMMARY: Sudo from .profile"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|