[opensuse] Suse 11.1 Yast asking for password for network changes
Hello, This is a first for me. Went to modify a network setting in Yast when it asked me for a password. Never saw that before. Also, when using ifdown as root, a password was requested for that too. What service is causing this and how can I turn it off permanently. Thank you for your help, James -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
James D. Parra wrote:
Hello,
This is a first for me. Went to modify a network setting in Yast when it asked me for a password. Never saw that before. Also, when using ifdown as root, a password was requested for that too.
What service is causing this and how can I turn it off permanently.
Thank you for your help,
James
James, My guess is ~/.kde4/share/config/kdesurc got messed up. If you have been able to access yast, etc. without a password from your normal user account, you must have had [super-user-command] set to sudo and somehow the setting got messed up. If you have sudo configured, look at kdesurc. To be able to access apps normally requiring the root password, your kdesurc should look like this: [Passwords] Keep=true [super-user-command] super-user-command=sudo The default in kde is to use kdesu which doesn't save the root password and after you type it in say for yast, you would have to type it again for konqueror-super-user, but you could then access both yast and konqueror again in the same session without having to give the password again. So the temporary save is on a per-app basis. kdesu is a giant pain in that regard. I just got tired of waiting on the "approved kdesu" solution to ever be invented and just use sudo. If you don't want to modify kdesurc by hand, just copy and paste the following into the run command or a terminal as your normal user: kwriteconfig --file kdesurc --group super-user-command --key super-user-command sudo -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----Original Message----- From: David C. Rankin [mailto:drankinatty@suddenlinkmail.com] Sent: Friday, June 12, 2009 10:55 PM To: opensuse@opensuse.org Subject: Re: [opensuse] Suse 11.1 Yast asking for password for network changes James D. Parra wrote:
Hello,
This is a first for me. Went to modify a network setting in Yast when it asked me for a password. Never saw that before. Also, when using ifdown as root, a password was requested for that too.
What service is causing this and how can I turn it off permanently.
Thank you for your help,
James
James, My guess is ~/.kde4/share/config/kdesurc got messed up. If you have been able to access yast, etc. without a password from your normal user account, you must have had [super-user-command] set to sudo and somehow the setting got messed up. If you have sudo configured, look at kdesurc. To be able to access apps normally requiring the root password, your kdesurc should look like this: [Passwords] Keep=true [super-user-command] super-user-command=sudo The default in kde is to use kdesu which doesn't save the root password and after you type it in say for yast, you would have to type it again for konqueror-super-user, but you could then access both yast and konqueror again in the same session without having to give the password again. So the temporary save is on a per-app basis. kdesu is a giant pain in that regard. I just got tired of waiting on the "approved kdesu" solution to ever be invented and just use sudo. If you don't want to modify kdesurc by hand, just copy and paste the following into the run command or a terminal as your normal user: kwriteconfig --file kdesurc --group super-user-command --key super-user-command sudo ~~~~~~~~~~~~~~~~~~~~~~~~~`` Thank you, David, for your reply. I do not use X nor were any window managers installed; could kdesu really be the culprit? The system starts in init3 and I run yast (ncurses) via an ssh terminal and the password request pops through the yast session and typing in your password doesn't get to the password request. Very strange. I'll check if any kde elements were somehow installed. Thanks again for your help. James -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday, 2009-06-13 at 00:19 -0700, James D. Parra wrote:
Thank you, David, for your reply.
I do not use X nor were any window managers installed;
You should have said this first time.
could kdesu really be the culprit?
No. Or very much improbable.
The system starts in init3 and I run yast (ncurses) via an ssh terminal and the password request pops through the yast session and typing in your password doesn't get to the password request. Very strange.
Are you ssh-ing as root, or do you enter as user and then "su" or "su -" to root, or do you use yast as user? The password request is in text mode inside the ssh session? Or is it a graphical window shown on the graphical X session of the client machine? Please explain the details, we can't see what you see. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkozj9YACgkQtTMYHG2NR9XktgCfd/mXHc7IiXpqGHJZa2imLWUR fvUAn1cbW4MDMCZzovseFCEw3jfPXk7W =Y2FC -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday, 2009-06-13 at 00:19 -0700, James D. Parra wrote:
Thank you, David, for your reply.
I do not use X nor were any window managers installed;
You should have said this first time.
could kdesu really be the culprit?
No. Or very much improbable.
The system starts in init3 and I run yast (ncurses) via an ssh terminal and the password request pops through the yast session and typing in your password doesn't get to the password request. Very strange.
Are you ssh-ing as root, or do you enter as user and then "su" or "su -" to root, or do you use yast as user? The password request is in text mode inside the ssh session? Or is it a graphical window shown on the graphical X session of the client machine? Please explain the details, we can't see what you see. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ If I log in at the physical terminal as root and run ncurses yast (there is no X on this machine), when I attempt to change the ip in yast a text mode "password" is shown through the ncurses yast session in the upper left corner. Attempting to enter in the root password does nothing. Also, from the command line if I use ifdown eth* a text of password is written to the screen, however since this is not through yast, when I enter in the password it is accepted. The same behavior occurs over an ssh session. I have never seen this behavior before. I have another suse 11.1 box built and it does not request a password when the same changes are made. Best regards, James -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Carlos E. R.
-
David C. Rankin
-
James D. Parra