| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 | 31 |
Tags
- Docker
- yum
- Kubernetes
- nfs-provisioner
- ceph-ansible
- cloud-init
- HTML
- cephadm
- port open
- Linux
- Arch
- Octavia
- OpenStack
- golang
- grafana-loki
- archlinux
- awx
- terraform
- repository
- kolla
- kolla-ansible
- i3
- Ansible
- pacman
- Kubeflow
- k8s
- ubuntu
- libvirt
- KVM
- ceph
Archives
- Today
- Total
YJWANG
sudoers 명령어 인자까지 제한 본문
cat /etc/sudoers
test 계정이 root 계정을 통해 httpd 서비스 start 가능
test ALL=(root) /usr/bin/systemctl start httpdtest 그룹이 root 계정을 통해 모든 서비스 start 가능
%test ALL=(root) /usr/bin/systemctl start *test 계정이 root 계정을 통해 httpd 서비스 start, vsftpd 서비스 stop 가능
test ALL=(root) /usr/bin/systemctl start httpd, /usr/bin/systemctl stop vsftpdtest 그룹이 root 계정을 통해 모든 서비스 start, 모든 서비스 stop 가능
%test ALL=(root) /usr/bin/systemctl start *, /usr/bin/systemctl stop *
반응형