How to remove the Sudo Password Prompt

Status
Not open for further replies.

chris pucknell

Explorer
Joined
Dec 9, 2013
Messages
51
Hi there

I'm the only user one who is ever going to use this server (beyond plex users) and the sudo password prompt is annoying! I think it might get in the way of my phone using tasker to SSH in and run commands, or at least make it more complicated.

I know there is a way to remove the prompt, but I thought I better come here and ask. I don't know exactly what FreeNAS is, some UNIX commands I've tried in the past it doesn't seem to have, or they are slightly different.

Anyway, please let me know if it's doable and how!
 
Last edited by a moderator:

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,080
FreeNAS runs on BSD. How is it you are having to use sudo?
You can ssh directly as root so you are already logged in as root and no need to sudo.
 
Joined
Jan 18, 2017
Messages
525
if you've disabled the root login on SSH you can use the SU command
 
Status
Not open for further replies.
Top