클라우드 엔지니어 꿈나무
systemctl 실행 시, 권한 부족 해결 본문
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