Re: [SLUG] shell script question

From: Matt Miller (mmiller1@mptotalcare.com)
Date: Thu Jan 30 2003 - 12:41:41 EST


On Thu, 2003-01-30 at 11:59, Russell Hires wrote:
> # Cmnd alias specification
> Cmnd_Alias OS9 = /usr/sbin/bless -folder9 '/System Folder' -setOF
>
> # Defaults specification
>
> # User privilege specification
> root ALL=(ALL) ALL
> %admin ALL=(ALL) ALL
> student ALL=(ALL) NOPASSWD: OS9
>
> I think maybe I got the command part wrong. Should it just contain the
> command and not the options?

Another thought --
For sh*ts and giggles, you could try changing the Cmd_Alias to:
Cmnd_Alias OS9 = /usr/sbin/bless , and try the command again. Obviously,
it would be preferable to restrict the command as much as possible.

-- 

Matt Miller Systems Administrator MP TotalCare gpg public key id: 08BC7B06

-- An improperly trained Samurai dies quickly.




This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 14:01:28 EDT