keyring question

Asked by hill0795

I don't know if my question has anything to do with keyring manager (I'm a newby to the unix OS) but here goes. Basically I'm tired of entering passwords to open documents, start applications, and initially logging onto my computer upon startup. The computer I have Ubuntu 7.10 installed on is for home use and no one really uses it but my wife and I. Is there any way I can configure Ubuntu to either remember the admin password or just not even ask for it every time I do something? Another issue I'm having is that whenever I perform a search, nothing is ever found when I use the GUI interface and I think it might have some correlation to permissions because I'm not root. The only way I can perform a successful search is if I open a terminal, become root using su, and using find . -name "blah." Is there any way I can be root at all times and not have to login into a user upon startup? I guess what it boils down to is that I just want to have administrative permissions at all times since this is strictly a home computer. Thanks for your time.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-keyring-manager Edit question
Assignee:
No assignee Edit question
Solved by:
Allen Chemist
Solved:
Last query:
Last reply:
Revision history for this message
Best Allen Chemist (alchemist) said :
#1

Disabling passwords lowers security. That being said, here's how you disable all kinds of them:

If you log in with the same account, you can set it to autologin. From the menu, choose System -> Administration -> Login Window. On the "Security" tab, you can 'enable automatic login' (which logs you in right away), or 'enable timed login' , which gives you the option to log in as someone else for 30 seconds, then logs in as the user you've chosen.

Second, the 'system administration' password popups can be disabled by the following process. In a terminal window (Applications -> Accessories -> Terminal), do the following:
1. If you haven't already set the root password to something you know, type
   sudo passwd
   this will prompt you first for your password, then it will ask twice for a new 'root password'. This is the most important system account password, so don't forget it! Should something break while following these instructions, setting this password will help greatly to fix things.

2. type sudo pico /etc/sudoers
** Be very careful to follow these instructions exactly **
This is editing the sudoers file, which controls who can run programs as the root user (analogous to the 'Administrator' account on another operating system) and do system administration tasks.
The last line of this file should look like this:
%admin ALL=(ALL) ALL
you need to add a NOPASSWD: to the third ALL, to look like this:
%admin ALL=(ALL) NOPASSWD:ALL

Save this by typing ctrl+o and exit by typing ctrl+x

This should get rid of most of your passwords.

Revision history for this message
hill0795 (thill6) said :
#2

Thank you very much for your help Allen!

Revision history for this message
Ali (alistair-fraser) said :
#3

Hi, I followed the instructions above, hibernated, came back on and was asked again for both passwords (to log on and for the keyring manager). Am I trying to change a different problem, or should the above have fixed my issue? If the latter, it hasn't worked. Any ideas how I can get the result I want i.e. no passwords at all as I am the only one who ever uses this machine? Thanks, Ali

Revision history for this message
Ali (alistair-fraser) said :
#4

I found this elsewhere. It works. Quote: with gconf-editor under apps/gnome-power-manager/lock uncheck gnome_keyring_hibernate

Ali

Revision history for this message
Ali (alistair-fraser) said :
#5

Sorry, I should say, it works as a fix to the wireless keyring manager problem. Within gconf-editor there's another way to stop the password request after logging in. It's under apps/gnome-power-manager/lock then uncheck hibernate. I might be wrong on both accounts. If so, sorry, I'm a complete novice. But it has worked for me.

Ali