On 02/18/2011 01:19 PM, Vimal Kumar wrote:
Can u give me an example for this command?
My main user in ubuntu is vimal
I want to add new user binu
In which user i have to apply the command?
The command to create a new user is "useradd". In your case:
useradd binu
The above command will create a new user named "binu" and that user's
home directory will be different from yours (vimal).
Most probably, your home directory is /home/vimal and the new user's
home directory will be /home/binu.
A user can access only his/her own home directory and not of any other
user's. So you need not worry.
The useradd command, obviously, is a system management command and
therefore needs administrator privileges.
You may either run the command as "root" user, or use "sudo" to execute
the command as user 'vimal'.
i.e.:
sudo useradd binu
Once you create the user account, you can set a password using "passwd"
command.
Check the manual pages for more details:
man useradd
man passwd
regards,
Syam
--
"Freedom is the only law".
"Freedom Unplugged"
http://www.ilug-tvm.org
You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To control your subscription visit
http://groups.google.co.in/group/ilug-tvm/subscribe
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For details visit the google group page:
http://groups.google.com/group/ilug-tvm?hl=en