Wednesday, February 23, 2011

add user in linux

#to create a new user in a linux machine:
sudo useradd yonten

# then add a passwd to the user we created
passwd yonten

#now we need to change the group to give the permissin but berfore that we can see what are the group we have

groups

#useradd -G admin vivek

No comments:

Post a Comment