restricting command arguments
rb at tiscali.be
Thu May 10 12:17:46 EDT 2001
I read the manpages, but after some tries, I send you this mail.
I'd like to allow certain people to run the following commands:
tail -f /var/log/syslog
tail -n 30 var/log/syslog
tail -f -n 2 /var/log/syslog
tail -n 24 -f /var/log/syslog
tail /var/log/syslog -n 12 -f
Is there a way to include all those commands in one expression?
It would be cool to be able to write an expression like (this one isn't correct, I know ;-)
tail -[fn] /var/log/syslog
thanks for your help.
Open Source and Free Software Developers Meeting
See you at the 2002 edition. Check the 2001 sessions on www.opensource-tv.com
Visit http://www.osdem.org and subscribe to the mailing list!
More information about the sudo-users