08-17-2012
1,
0
Join Date: Aug 2012
Last Activity: 17 August 2012, 7:30 AM EDT
Posts: 1
Thanks Given: 0
Thanked 0 Times in 0 Posts
Editing Sudoers, what are the options?
Hi,
I am confused about editing Sudoers file as what to write and what not to? Can you please help me?
I am trying to edit Sudoers for running few commands like copying, moving, listing, searching, creating, changing permissions on files and directories in the home directory for user e.g. a test user but i am not sure how to restrict the user action to a particular directory or restrict the commands all other commands except ls, cp, grep, wc, cat, touch, chmod, chown running at root level (e.g. rm -r command)? What would be the syntax?
Thank you in advance.
Shahmeer