ubuntu에 다음과 같은 command를 쳤더니 에러가 났다.
systemctl restart sshd
Failed to restart sshd.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files
See system logs and 'systemctl status sshd.service' for details.
root 권한이 필요한 프로그램을 그냥 실행시켰을 때 발생하는 에러
sudo 로 실행 시켜주도록 하자
ubuntu에 다음과 같은 command를 쳤더니 에러가 났다.
systemctl restart sshd
Failed to restart sshd.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files
See system logs and 'systemctl status sshd.service' for details.
root 권한이 필요한 프로그램을 그냥 실행시켰을 때 발생하는 에러
sudo 로 실행 시켜주도록 하자