[sudo-users] less
alexandre oliveira
alexandresumare at hotmail.com
Mon Aug 3 22:42:39 EDT 2009
You can let users to use /bin/cat to view logfiles. So, they can use: sudo cat /var/log/logfile | less
_______________________
Alexandre
> From: andy at hazlorealidad.com
> To: sudo-users at sudo.ws
> Date: Sun, 2 Aug 2009 15:08:04 -0500
> Subject: [sudo-users] less
>
> Hello,
>
> I know its not really a sudo question, but I imagine that someone on the
> list must have come across this, is there a secure less command that
> doesnt let the user do an escape to the shell or permit the user open
> another file.
>
> I want to let the user view log files, I know I could do it with
> standard file permissions but I wanted to log administrative activity
> using sudo.
>
> Thanks in advance
>
> Andy Bailey
>
> ____________________________________________________________
> sudo-users mailing list <sudo-users at sudo.ws>
> For list information, options, or to unsubscribe, visit:
> http://www.sudo.ws/mailman/listinfo/sudo-users
_________________________________________________________________
Express your personality in color! Preview and select themes for Hotmail®.
http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=PID23391::T:WLMTAGL:ON:WL:en-US:WM_HYGN_express:082009
More information about the sudo-users
mailing list