[ILUG-BOM] ssh/sshd remote login query
Sat Apr 30 09:39:21 IST 2005
On 4/29/05, Soumen Dass <soumen_dass at 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:
> 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 :)
More information about the Linuxers