Linux.com

Author Message
Joined: Jan 12, 2008
Posts: 16
Other Topics
Posted Mar 19, 2008 at 5:33:42 PM
Subject: admin password

Is their a way to disable the admin password?

Back to top Profile Email Website
Shashank Sharma
Joined Jan 01, 1970
Posts: 1536
Location:New Delhi, India

Other Topics
Posted: Mar 25, 2008 6:10:05 PM
Subject: admin password

What distribution? What do you ultimately want to do?

Coauthor of Beginning Fedora: From Novice to Professional published by Apress.

Please follow the Forum Guidelines

Back to top Profile Email Website Yahoo!
ArthurA4
Joined Jan 12, 2008
Posts: 16

Other Topics
Posted: Mar 26, 2008 4:22:10 PM
Subject: admin password

This is for ubuntu 7.0. You know how you go to like package manager and your required to type your user/password. Same with other programs. Is their way you can disable so you dont need to type in everytime?

Back to top Profile Email Website
Snowman
Joined Mar 26, 2008
Posts: 13
Location:Florida, USA

Other Topics
Posted: Mar 26, 2008 8:03:23 PM
Subject: admin password

I don't know why you'd want to disable the security but it's possible. I'm not sure how it's done in Ubuntu but when you type-in the admin password, do you have the option to "remember" the password? If so check it to do just that for all times.

What if Bill Gates had a nickle for every time a Windows computer crashes... OH WAIT, he does!!!

Back to top Profile Email Website
Shashank Sharma
Joined Jan 01, 1970
Posts: 1536
Location:New Delhi, India

Other Topics
Posted: Mar 27, 2008 8:10:56 AM
Subject: admin password

Snowman's solution is not applicable for Ubuntu. You can't just set the "remember" option, because you don't get it :) This is the way to do it:
http://www.ubuntutips.net/node/21

You need to edit the /etc/sudoers file as described, but I won't recommend it unless you're certain your machine is impervious to miscreants.

Cheers!

Coauthor of Beginning Fedora: From Novice to Professional published by Apress.

Please follow the Forum Guidelines

Back to top Profile Email Website Yahoo!
ArthurA4
Joined Jan 12, 2008
Posts: 16

Other Topics
Posted: Mar 27, 2008 10:46:38 PM
Subject: admin password

Shashank your the man, i will try this out and thanks again.


peter

Back to top Profile Email Website
alpinesatan.com
Joined Dec 01, 2007
Posts: 639
Location:London, England

Other Topics
Posted: Mar 28, 2008 1:44:36 PM
Subject: admin password

Just bear in mind, i think that this is a bad idea.
It maybe an idea to emable it when your finished doing what you need.

Kind Regards

OS X 10.4.11 and Ubuntu Gutsy Gibbon 7.10, not forgetting fedora :D

Back to top Profile Email Website MSN
ArthurA4
Joined Jan 12, 2008
Posts: 16

Other Topics
Posted: Mar 31, 2008 4:05:45 AM
Subject: admin password

I was unable to open with any text editor and i know how to navigate to it in the comand line but not edit it?

Back to top Profile Email Website
Shashank Sharma
Joined Jan 01, 1970
Posts: 1536
Location:New Delhi, India

Other Topics
Posted: Mar 31, 2008 10:49:27 AM
Subject: admin password

Arthur, sorry about that. I failed to mention you can't just edit the sudoers file. You need to use visudo command to do it. I assumed the link I provided would explain this, so I didn't even check.

Use the command: sudo visudo

This will open the /etc/sudoers file and you can then edit it. The default editor is NANO instead of vi in Ubuntu, if you're not sure how to use NANO, this might help:

1. Scroll down to the line you want to edit.
2. Type what you want.
3. To save, press Ctrl+x and then I think it'll ask you if you want to save so press y

Cheers!

Coauthor of Beginning Fedora: From Novice to Professional published by Apress.

Please follow the Forum Guidelines

Back to top Profile Email Website Yahoo!
Tableless layout Validate XHTML 1.0 Strict Validate CSS Powered by Xaraya