Hyo Kim’s weblog

on COMMunication.RESearch.ORG

Adding a user with admin previlege

By hkim • Mar 19th, 2008 • Category: ubuntu

먼저 user를 더한다.

user@domain$: sudo adduser whanoh
Adding user `whanoh’ …
Adding new group `whanoh’ (1003) …
Adding new user `whanoh’ (1003) with group `whanoh’ …
Creating home directory `/home/whanoh’ …
Copying files from `/etc/skel’ …
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Changing the user information for whanoh
Enter the new value, or press ENTER for the default
Full Name []: whan
Room Number []: oh
Work Phone []:
Home Phone []:
Other []:
Is the information correct? [y/N] y

이 사용자를 admin 그룹에 속하도록 한다.

user@domain:~$ sudo adduser whanoh admin
Adding user `whanoh’ to group `admin’ …
Done.

아래와 같은 명령어도 같은 역할을 한다.

sudo usermod -a -G admin whanoh

Tagged as: ,

hkim is Hyo's research interests include computer-mediated communicaiton, interactive television (aka iptv here in Korea), mobile communication, and social network analysis.
Email this author | All posts by hkim

Leave a Reply