Solution 1. Login as root using 'su' command. 2. Use 'sudo visudo' to edit sudoers file. 3. Add this line ' ALL=(ALL:ALL) ALL' 4. Exit from root.