Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: christian m. isidro on June 20, 2002, 05:04:55 AM

Title: adding user in a console
Post by: christian m. isidro 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
Title: Re: adding user in a console
Post by: Dan 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.
Title: Re: adding user in a console
Post by: christian m. isidro 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
Title: Re: adding user in a console
Post by: Nathan Fowler 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.
Title: Re: adding user in a console
Post by: Nathan Fowler 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.