Hello,
I install sudo command. But when to use it it failed.
I install sudo command. But when to use it it failed.
Code:
[tomsserver@Toms-Server ~]$ chsh -s /bin/sh root
chsh: Permission denied
[tomsserver@Toms-Server ~]$ sudo chsh -s /bin/sh root
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
Password:
Sorry, try again.
Password:
Sorry, try again.
Password:
sudo: 3 incorrect password attempts
[tomsserver@Toms-Server ~]$