View Single Post
Old 1st February 2008, 15:25
athlon_crazy athlon_crazy is offline
Junior Member
Join Date: Feb 2008
Location: Malaysia
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to athlon_crazy

Get webmin if you have difficulty to handle it through CLi.

Otherwise,use below command :
$:useradd -g -O -s -d -m
-g = 1st group
-O = other group
-s = shell
-d = home directory

example1 : $useradd -g users -O ftp -s /bin/bash -d /home/jacky -m jacky
example2 : $passwd jacky
example3 : $usermod -e 20080228

1st = add new user "jacky" with 1st group "user" & 2nd group "ftp"
2nd = create new password fro jacky
3rd = account expired

Read the manual :
$man useradd

Testing the account : logout then try login using jacky username & password.
Reply With Quote