horemachet
Dabbler
- Joined
 - Apr 20, 2012
 
- Messages
 - 11
 
Hi Folks,
 
I've been able to setup ssh with Key Authorization. So actually I am able to remotely shutdown the NAS.
But I've learned from this page http://technology.mattrude.com/2010/01/enable-ssh-no-password-authorization-with-freenas/ that the regular .ssh/ folder of the user root is not persistent in freenas. Hence I've created a "normal" user for ssh. It does work for login.
 
The problem now is, that the user doesn't have proper privileges to perform the poweroff command.
 
What group membership do I have to assign so that a simple user can poweroff the system?
Is there another way than groups to set this up?
	
		
			
		
		
	
			
			I've been able to setup ssh with Key Authorization. So actually I am able to remotely shutdown the NAS.
But I've learned from this page http://technology.mattrude.com/2010/01/enable-ssh-no-password-authorization-with-freenas/ that the regular .ssh/ folder of the user root is not persistent in freenas. Hence I've created a "normal" user for ssh. It does work for login.
The problem now is, that the user doesn't have proper privileges to perform the poweroff command.
What group membership do I have to assign so that a simple user can poweroff the system?
Is there another way than groups to set this up?