Create a Local User on the Bash.



  • Hi,

    well its no problem to create a Local User over der Webinterface under System - User Manager …
    the user will created in the /etc/passwd

    but when im trying to create a local user on the bash as admin .... command adduser ..
    i got the error message command not found.

    Any idea?



  • Use the web interface. pfSense is supposed to be managed through the web interface.



  • @wallabybob:

    Use the web interface. pfSense is supposed to be managed through the web interface.

    Wow, what an answer.



  • Wow, what an answer.

    But all true ;)

    I'm not so sure if there is any difference between bash and sh. If I'm right pfsense used primarily sh.
    Have you added bash by yourself?


  • Rebel Alliance Developer Netgate

    There is no "bash" though I assume you really just mean mean "shell". On pfSense it defaults to tcsh/csh.

    Don't try to add users from the command line (and if you lookup how to do it on FreeBSD you'd see there are many ways to do it, especially the pw command). Just add them from the GUI.

    Also I wouldn't expect that user to stick around indefinitely, especially if you're using an embedded install.

    Perhaps if you explained what you are really trying to accomplish you might get some more constructive feedback.


Locked