I am trying to figure out what does the following command do :-
As per the documentation it :-
The ‑s (shell) option runs the shell specified by the SHELL environment variable if it is set or the shell as specified in the password database.
But on the system it drops me to root prompt :-
john@home:~$ sudo -s
This doesnot seem right ! Also, without any more passwords I may do anything on the system.
Can someone Plz clarify, what sudo -s