Kudos
Collect
Twiiter
Facebook
Share
Develop somethings, meditation, reading and thinking...

sudo 유저 추가하기

Last updated over 5 years ago
2 0 0 0

Linux 서버 설정 후에 일반 유저로 root 권한을 얻기 위하여 sudo 유저를 설정해야 한다.

따라하기

## root 권한으로 username 을 sudo 그룹에 추가
root$ usermod -aG sudo username

## 그룹에 추가된 유저로 변경하고,
root$ su - username
username$

## 확인
username$ sudo whoami
root 👈성공!🎉

Hi, my name is Richard. I’m a developer wants to make the world better with logic power. Mainly I use Linux, Nginx, MySQL, PHP and JavaScript . I want to share my knowledge with someone that it was also based from some great persons via LYNMP. 👨‍💻

Essedrop - Make your file online instantly
 

Responses

Leave a response to @richard

Please sign in to comment.
Markdown is also available in comment.