Topic: Can I add new users via CLI?

Can I add users via a CLI instead of the GUI?

Thanks

Re: Can I add new users via CLI?

newmember wrote:

Can I add users via a CLI instead of the GUI?

Thanks

Hi !

Of course. Not really CLI but simply with useradd command for example. MySecureShell doesn't have a virtual user list, it uses real users on system (PAM).

So you could easily script. And if you need to have a a couple of users with the same properties, uses groups options to avoid modifying MySecureShell config each time.

I hope it could help you

Re: Can I add new users via CLI?

Try command:

sftp-user create myfirstusermysecureshell