[sudo-users] HOWTO put many editors easily
Ladner, Eric (Eric.Ladner)
Eric.Ladner at chevrontexaco.com
Thu Nov 18 12:15:28 EST 2004
AH! Too cool! I didn't know that.
Eric Ladner, Systems Analyst
RFMS IT Support
From: sudo-users-bounces at courtesan.com
[mailto:sudo-users-bounces at courtesan.com] On Behalf Of Todd C. Miller
Sent: Wednesday, November 17, 2004 4:54 PM
To: Edilmar Alves - Lista
Cc: sudo-users at sudo.ws
Subject: Re: [sudo-users] HOWTO put many editors easily
The best way to do this is to use sudo 1.6.8 or higher and give them
access to sudoedit. E.g.
Cmnd_Alias RESOLV = sudoedit /etc/resolv.conf
Then the user can run "sudoedit /etc/resolv.conf" and it will use what
the VISUAL or EDITOR environment variable says to use. The editor will
run as the invoking user so there is no problem with shell escapes.
- todd ____________________________________________________________
sudo-users mailing list <sudo-users at sudo.ws>
For list information, options, or to unsubscribe, visit:
More information about the sudo-users