pw add user throught SSH

Status
Not open for further replies.

setshocker

Cadet
Joined
Sep 19, 2012
Messages
2
Hellow, i'm trying to add new users with the command

"pw user add nameofuser" (throught PuTTY)

In /etc/passwd appears my new user nameofuser, but when I enter in ACCES -> USERS doesn't appears. i'ts normal?

i'm not using web-acces because I need CLI to make scripts

Sorry for my poor english
 

ProtoSD

MVP
Joined
Jul 1, 2011
Messages
3,348
Hi Setshocker,

Your English is great, no need to apologize.

Creating users from the command line won't work because FreeNAS uses its database to store user information and creates the users from that database when it boots.

There may be a way to script add them to the database, but it's late and I can't think of a way at the moment.
 

setshocker

Cadet
Joined
Sep 19, 2012
Messages
2
Hi Setshocker,

Your English is great, no need to apologize.

Creating users from the command line won't work because FreeNAS uses its database to store user information and creates the users from that database when it boots.

There may be a way to script add them to the database, but it's late and I can't think of a way at the moment.


Thanks for you reply, if someday you have time to check where FreeNAS stores user's informacion I would apreciate you.
 
Status
Not open for further replies.
Top