1. Open terminal

2. Log in as root user [ sudo bash ]

3. Enter root passeord

4. Execute : visudo

5. edit this file and append following line at “# Allows people in group wheel to run all commands” section without quote

5.1.   “USERNAME ALL=(ALL) NOPASSWD: ALL”

6. Save and exit the file.

7. Next time you will not get password prompt to log in as root.

Advertisements