Notice
Recent Posts
Recent Comments
Link
«   2025/02   »
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
Tags
more
Archives
Today
Total
관리 메뉴

클라우드 배우기

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

Linux

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

'Linux' 카테고리의 다른 글

리눅스 권한 설정 - setgid, setuid, stickybit  (0) 2024.06.06
RHCSA V9 시험 후기  (3) 2024.05.21
RHCSA V9  (4) 2024.05.12
Hard link & Symbolic link  (0) 2024.05.07
RHEL Podman 인증 토큰 에러 오류  (0) 2024.05.01