Notice
Recent Posts
Recent Comments
Link
«   2024/09   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
Tags
more
Archives
Today
Total
관리 메뉴

클라우드 엔지니어 꿈나무

systemctl 실행 시, 권한 부족 해결 본문

카테고리 없음

systemctl 실행 시, 권한 부족 해결

새싹싹이 2024. 5. 18. 11:31

user명 xanadu

 

$ systemctl --user start container- mycontainer.service

오류 발생

 


$ journalctl --user container-mycontainer.service

권한이 부족해서 생긴 현상

xanadu를 adm, systemd-journal, wheel 중 한 그룹에 넣어줘야 한다.

 

# su -
# usermod -a -G adm xanadu

-a 권한 추가

-G 그룹

# su xanadu

 

$ systemctl --user start container-mycontaier.service

$ systemctl --user status container-mycontainer.service