All Questions
3
questions
18
votes
2
answers
4k
views
Accidentally added a character outside of a comment in sudo file on Mac, sudo not working any more
I made a mistake in terminal, and now every time I use sudo, I get the error message: sudo: unable to initialize PAM: Invalid argument
I know what I messed up, which is adding a character outside of ...
2
votes
2
answers
25k
views
"Command not found" while using sudo with nano
I got a problem when I want to edit files using nano with sudo.
When I enter the following command:
sudo nano /etc/exports
I got this error
sudo: nano: command not found
This is the return from ...
-1
votes
1
answer
2k
views
(MAC) Are these commands to be trusted (sudo nano)?
A person asked me to do this:
Open the Terminal
Enter command sudo nano /etc/hosts
Hit Enter
Enter the password for the Administrator
Hit Enter
Insert the cursor in a blank line at the end then copy ...