On 4/29/05, Soumen Dass soumen_dass@mtnl.net.in wrote:
So, in that file, i added added: user1 ALL = NOPASSWD: ALL
U might as well tell the user the root password.
well the user is me wanting to access my m/c remotely and i found another way out.
I want to restrict a user (or any number of users) to only run certain applications:
Example: Cmnd_Alias VNCCMD = /usr/bin/a,/usr/bin/b,/usr/bin/whatever user1 ALL = NOPASSWD: VNCCMD
Still it is better that NOPASSWD is not specified.
..already restricted it to a particular application instead :) thanks ...