Environment variables in Cmnd_Alias

CORNEILSON, HOWARD HCORNEILSON at CIBER.com
Thu Sep 21 14:32:43 EDT 2000


You might want to consider UNIX symbolic links (ln -s ...) -
Use the symbolic link in the sudoers file and when a new version is
installed, remove and recreate the symbolic link (pointing to the new
directory).

HTH
Howard Corneilson
-----Original Message-----
From: Todd C. Miller
To: Hanson, James J
Cc: 'sudo-users at courtesan.com'
Sent: 09/21/2000 10:43 AM
Subject: Re: Environment variables in Cmnd_Alias 

In message <B04EF180935DD3119A930008C79117A621CE84 at mail.directvgla.com>
	so spake "Hanson, James J" (JJHanson):

> Is it possible to use an environment varaible for a command alias in
in my
> sudoers file.  When we upgrade versions of our
> applications, we install into new directories and I would like to not
have
> to update my sudoers file everytime.

No, it is not currently possible.

 - todd
____________________________________________________________ 
sudo-users mailing list <sudo-users at courtesan.com>
For list information, options, or to unsubscribe, visit:
http://www.courtesan.com/mailman/listinfo/sudo-users



More information about the sudo-users mailing list