Nguyễn Hồng Nhung
New member
How do you reverse a Sudo?
Answer
When used alone, the -k (kill) option to sudo invalidates the user’s cached credentials. The next time sudo is run a password will be required. So put a sudo -k before every sudo command you want to re-ask for a password. Or behind every command where you want the next commands not to be sudo .
Answer
When used alone, the -k (kill) option to sudo invalidates the user’s cached credentials. The next time sudo is run a password will be required. So put a sudo -k before every sudo command you want to re-ask for a password. Or behind every command where you want the next commands not to be sudo .