Hi all,
So I'm trying to do something like Ive done in Ubuntu 12.04LTS. I want to have passwordless ssh login for a limited user to perform a megacli command.
On ubuntu I use a service account.
"accountname":x:110:116::/var/lib/"accountname":/bin/bash
I have my public key in
/var/lib/"accountname"/.ssh/authorized_keys
and then put a nopasswd into /etc/sudoers.d/"blah" file.
Tried to do all this in freenas but still cant get it to let me do a nopasswd ssh. I dont want it to allow a non-key login.
Now I cant exactly tell you what I have done so far on freenas, because Ive spent so many hours trying to figure it out. Ive reverted everything every time.
What I would love is a command line step by step. Id personally like this to be located with all the other service accounts in freenas, not in a seperate mount point / jail. Or link me to an illusive tutorial I just cant find.
Cheers for the help / patience if im missing something obvious.
So I'm trying to do something like Ive done in Ubuntu 12.04LTS. I want to have passwordless ssh login for a limited user to perform a megacli command.
On ubuntu I use a service account.
"accountname":x:110:116::/var/lib/"accountname":/bin/bash
I have my public key in
/var/lib/"accountname"/.ssh/authorized_keys
and then put a nopasswd into /etc/sudoers.d/"blah" file.
Tried to do all this in freenas but still cant get it to let me do a nopasswd ssh. I dont want it to allow a non-key login.
Now I cant exactly tell you what I have done so far on freenas, because Ive spent so many hours trying to figure it out. Ive reverted everything every time.
What I would love is a command line step by step. Id personally like this to be located with all the other service accounts in freenas, not in a seperate mount point / jail. Or link me to an illusive tutorial I just cant find.
Cheers for the help / patience if im missing something obvious.