Adding a user

Initally, there is only one user on the system: root.

It's a good idea to add an ordinary user, there is the command:

#useradd -m victor
#passwd victor
#usermod -a -G wheel,power,audio,video,lp,network,optical,disk,storage victor

because I forgot to add victor to those system groups, I used the command 'usermod' to change its property and assigned him to those groups.

posted on 2015-05-12 01:53  victl  阅读(121)  评论(0)    收藏  举报

导航