Koozali.org: home of the SME Server

Create a pass, alias, add to group a user with SHELL

Offline malbores

  • 2
  • +0/-0
Create a pass, alias, add to group a user with SHELL
« on: April 17, 2008, 06:37:29 AM »
Hi! i know that i can make a user in shell with:

db accounts set abc user PasswordSet no
db accounts setprop abc FirstName ABC
db accounts setprop abc LastName DEF
db accounts setprop abc EmailForward local

signal-event user-create abc

My questions are:
How can i create a password to abc?
How can i add to abc an existent group?
How can i create an alias for abc?

All i need make only with SHELL, no with server-manager.

Greetings.