[sudo-users] sudo with shell aliases ?
DiZEM PGC
DiZEM77_PGC at gmx.net
Thu May 25 07:06:28 EDT 2006
Hallo,
I'm new to linux and try to use sudo with a shell-alias instead of command as parameter. Might it be unsecure ? But first the way i intend to do this:
-define an shell alias with:
alias shut 'shutdown'
-make it 'global':
export shut
-then in sudoers file:
Cmnd_Alias SD = shut
user host=SD
When executing 'sudo shut' sudo can't find the command/alias.
How can i solve this^ ?
P.S.: Sorry for my english, I'd prefer to write in german language, but
the email-archive seems to be completely english-written.
--
Bis zu 70% Ihrer Onlinekosten sparen: GMX SmartSurfer!
Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer
More information about the sudo-users
mailing list