Koozali.org: home of the SME Server

adding user in a console

christian m. isidro

adding user in a console
« on: June 20, 2002, 05:04:55 AM »
hi,,,
   hi is there such a way that i can add a user in a console ,,,,i cannot create a user in a server-manager it always displays an error....

thanks

chris

Dan

Re: adding user in a console
« Reply #1 on: June 20, 2002, 05:40:29 AM »
What errors are you getting? syntax is important when creating a user

otherwise use adduser (user name) command to create a new user in a console,
then to give a password type passwd (username) to assign password
that will create a user in linux but not sure if it will update the e-smith user list in e-smith-manager screens.

christian m. isidro

Re: adding user in a console
« Reply #2 on: June 20, 2002, 05:53:17 AM »
hi dan,,
   yes ive tried it already but how can i enable it to use webmail,,,

thanks

chris

Nathan Fowler

Re: adding user in a console
« Reply #3 on: June 20, 2002, 10:33:56 PM »
/sbin/e-smith/signal-event user-create
passwd

This should add the user in the same fashion that is done by the /sbin/e-smith/console program, however, if you are going to be defining groups, e-mail forwards, etc, you cannot use this same method.  This simply keeps the defaults and adds the username.

Nathan Fowler

Re: adding user in a console
« Reply #4 on: June 20, 2002, 10:34:50 PM »
Before you issue the user-create command ensure you modify the accounts file.  Here is where you define the fullname, group memberships, etc.