Now the question is what is the need of Sudo command in linux.Actually if you have some users in your organization who want to execute some commands or access some files or directories which can be access only by super user i.e root user. So now what will u do ?
You have to give root password to every users who want to run those commands or access those directories or files.
But Guys and Gals this is not the correct solution for this scenario.
You need to implement SUDO .
In SUDO you need not to provide root password to users just to run those commands or access the database. You need to define priviledges for those users on particular command or group of command or more.After that user need to run the same command but the command should start with "sudo".
Syntax of Sudo command:-
sudo
here
for example:-
sudo ls -l /root
No comments:
Post a Comment