[sudo-users] less

Helmut Hullen Hullen at t-online.de
Tue Aug 4 02:22:00 EDT 2009

Hallo, alexandre,

Du meintest am 04.08.09:

>> 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.

> You can let users to use /bin/cat to view logfiles. So, they can use:
> sudo cat /var/log/logfile | less

[full quote and top post repaired]

What about

        sudo less /var/log/logfile

"less" doesn't need "cat".

Viele Gruesse!

More information about the sudo-users mailing list