PDA

View Full Version : [ubuntu] [SOLVED] Remember Root Password Forever?



efexD
January 4th, 2009, 01:38 AM
Is there a way to either remove the password, or just make ubuntu remember it forever? It's very annoying when things get permission denied all the time and i have to put in the password every time.

adult swim
January 4th, 2009, 01:55 AM
you are going to have to google. its against forum rules to discuss this.

efexD
January 4th, 2009, 01:56 AM
oh... didn't know it was against the rules... sorry

thomas228
January 4th, 2009, 02:06 AM
you are going to have to google. its against forum rules to discuss this.

Hi
Please link or quote the specific rule or policy (policies) as I can't seem to find them.

Thanks and no disrespect intended

Tom

Cypher
January 4th, 2009, 02:11 AM
Disabling the root account and making the regular user account use SUDO to access system level commands is there for your protection. Each time you have to enter the password, it's a reminder to check to see what command it is you are running and if it's safe.

You can certainly disable that layer of protection and deal with any bad consequences yourself by modifing the /etc/sudoers file.

You'll see a commented section towards the bottom that is


%sudo ALL=NOPASSWD ALL


This allows you to run system commands with the SUDO command without requring you to enter the password. The commands you run will be logged in /var/log/auth.log so you can keep track, but no other checking is done.

Use at your own risk..

efexD
January 4th, 2009, 02:18 AM
Thanks, but now i don't want to pay the consequences of screwing my system up :P

Sef
January 4th, 2009, 02:19 AM
For anyone who wants to read up on root and sudo (https://help.ubuntu.com/community/RootSudo).


You'll see a commented section towards the bottom that is
Code:
%sudo ALL=NOPASSWD ALL
This allows you to run system commands with the SUDO command without requring you to enter the password. The commands you run will be logged in /var/log/auth.log so you can keep track, but no other checking is done.

That and this is from Root Sudo (https://help.ubuntu.com/community/RootSudo) in the community documents:




This method is NOT suggested nor supported by the designers of Ubuntu.
Please do not suggest this to others unless you personally are available 24/7 to support the user if they have issues as a result of running a shell as root.

These instructions are to remove the prompt for a password when using the sudo command. The sudo command will still need to be used for root access though

Cypher
January 4th, 2009, 02:39 AM
Thanks, but now i don't want to pay the consequences of screwing my system up :P
Wise decision. :) As cumbersome as it might seem to have to enter your password with SUDO/GKSU and so on, it's really there to protect you..

Captain_tux
January 4th, 2009, 04:57 AM
Is there a way to either remove the password, or just make ubuntu remember it forever? It's very annoying when things get permission denied all the time and i have to put in the password every time.

Yes... just run Windows :biggrin: