LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 12-25-2011, 05:43 AM   #1
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,634

Rep: Reputation: Disabled
Password(s) accepted for login but not accepted for applications.


Hi, and a merry Christmas to all.

I'm an openSuSE user and so new to Ubuntu. But I like to try new things, so I installed 10.4 and soon after upgraded to 10.10.

Problems started with 10.4 which didn't accept the root password after a few logins. I had to finally reset it with the installation CD and then immediately I upgraded.

Now I can log in as normal user and as root (console and graphical login). When I start e.g. Catalyst administrative center or click on ksyslog I get popups asking for my password. Popups accepts neither my nor root's password.

What might cause this and how to rectify it?

Last edited by JZL240I-U; 12-25-2011 at 05:44 AM.
 
Old 12-25-2011, 12:06 PM   #2
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Quote:
Now I can log in as normal user and as root
Not recommended. The normal (today's) approach is to not allow the Root to log in at all, unless needed for admin stuff (upgrades, installs, console) and then only if the machine asks such login and only when logged in a normal user - I suspect a conflict between userrights...

What I suggest is to re-reset (so to speak) to the 10.10 way. Then, log in a user, and if needed switch to Root to give the user the rights required.

It's bad practice (in my very humble opinion) to allow Root to log in through the "front door" at all...

Good luck and merry christmas...

Thor
 
Old 12-25-2011, 12:49 PM   #3
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
The root account is locked in Ubuntu, you should use sudo as described here:

https://help.ubuntu.com/community/RootSudo
 
Old 12-26-2011, 05:24 AM   #4
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,634

Original Poster
Rep: Reputation: Disabled
Good morning and a merry Christmas to you, too, Thor_2.0 & snowpine.

The two of you missed the point. I can, I am able, I have the ability to log in as root and as user .

I am, too, aware of Ubuntu's focus on sudo. I personally prefer to be able to log in at a console. So things are (from my point of view) as they should be, but I realize that this is a point of philosophy. Each to his own devices, so to speak.

What I can not do is exactly this:

Quote:
Originally Posted by Thor_2.0 View Post
... and then only if the machine asks such login...

...if needed switch to Root to give the user the rights required...
When the machine asks, it accepts neither the user's password nor root's e.g. for the Catalyst administrative center or ksyslog. But these are the passwords it accepts for a login.

What can cause this and how to clear it up?

Last edited by JZL240I-U; 12-26-2011 at 05:26 AM.
 
Old 12-26-2011, 06:01 AM   #5
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Quote:
but I realize that this is a point of philosophy. Each to his own devices, so to speak.
...or, this is the Linux way, all in all it is YOUR box

Okay, how about an experiment (humor me if you will) - log in as Root and see if you can use Catalyst/Ksyslog ... try the same as normal user. I suspec the latter to need a password. If not, I think there's something about access rights that needs to be set right...

I'll keep this thread on the radar, it's too interesting not to

Thor
 
1 members found this post helpful.
Old 12-26-2011, 07:32 AM   #6
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
No need to make it a philosophical debate; try to look at it from an engineering perspective: Ubuntu simply isn't designed to be used that way. If you use unsupported root login, there may be unintended consequences. On the other hand if you follow the easy instructions I linked to in post #3, you'll have smooth sailing. As you point out, it is your choice and freedom.
 
2 members found this post helpful.
Old 12-26-2011, 08:15 AM   #7
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,634

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Thor_2.0 View Post
...log in as Root and see if you can use Catalyst/Ksyslog ... try the same as normal user. I suspec the latter to need a password...
Worked as predicted. At least with root, I was in a hurry and forgot user. Will try that, too. I did not download Ksyslog as root, though...

@ snowpine Currently I can login as root without my changing anything in the system settings (don't know enough about Ubuntu anyways).

Before I reset that ability as suggested in your link, I'll try to find out what gives in the current situation. And then I'll have to get used to all that sudo . I'll read your link in depth and see how that works later. Thanks for your input .
 
Old 12-26-2011, 08:22 AM   #8
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
1. What title has this "popups asking for your password"?
2. Try runing "Catalyst administrative center" with "gksudo".
3. Can you post output of running "Catalyst administrative center" from console after refusing password (you must set DISPLAY environment variable, if it is not set already).
 
Old 12-26-2011, 02:18 PM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Ubuntu is not the only one that if you use the pam hack to login to the gui as root , then some things WILL NOT work right

an example of this is:
1)
root login to gnome
2)
run something that NEEDS root authentication
-- like System-config-services
a pop up will pop up asking for the ROOT password ( even though you ARE logged in AS root )
the pop-up WILL NOT except the password - it won't .

do not login as root into the GUI
plain and simple
or if you do EXPECT THINGS NOT TO WORK RIGHT .
 
1 members found this post helpful.
Old 12-27-2011, 08:43 AM   #10
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,634

Original Poster
Rep: Reputation: Disabled
@ Thor_2.0 Didn't I say one shouldn't do things in a hurry? Ah well. Of course I did it already as normal user. As stated in post #1 with problems as described there ("...I get popups asking for my password. Popups accepts neither my nor root's password.") .

Quote:
Originally Posted by eSelix View Post
1. What title has this "popups asking for your password"?
It has no real title bar. It just reads
Code:
Please enter your password to make changes in the system 
{my translation}
Upon entering the password the popup reads

Code:
Wrong password. Please try again.
Quote:
Originally Posted by eSelix View Post
2. Try runing "Catalyst administrative center" with "gksudo".
Code:
$> gksudo amdcccle
{enter password}
GNOME_SUDO_PASS
Sorry, try again.
GNOME_SUDO_PASS
Sorry, try again.
sudo: 3 incorrect password attempts.
Note that this is the output from just one single try. When I repeat this with the root password the same happens. After a third attempt I get

Code:
Error during start or amdcccle as user root. Wrong Password.

Quote:
Originally Posted by eSelix View Post
3. Can you post output of running "Catalyst administrative center" from console after refusing password (you must set DISPLAY environment variable, if it is not set already).
What do you mean by this? Gksudo must be used from console, mustn't it? I did that in your previous suggestion #2. Btw. DISPLAY is set to ":0".

Last edited by JZL240I-U; 12-27-2011 at 08:47 AM.
 
Old 12-27-2011, 08:56 AM   #11
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,634

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
Ubuntu is not the only one that if you use the pam hack to login to the gui as root , then some things WILL NOT work right...
Please, John. I stated in the very first post that I am new to Ubuntu. Which means that I did not change anything and I don't use any "hacks". This is the unadultered behavior of the system as installed.

Quote:
Originally Posted by John VV View Post
...do not login as root into the GUI
plain and simple
or if you do EXPECT THINGS NOT TO WORK RIGHT .
I mean I logged in on a console. I.e. I pressed <Ctrl><Alt><F2> and got a non graphical login screen where I tested whether the root password works. It does. After that I tried of course the graphical login for root. Works too. There I have no problems using the catalyst center or ksyslog. I want to do this as a normal user as intended by Ubuntu, but I can't. Please leave aside sudo-using-or-not-using-philosophy I simply want the system working as intended by the Ubuntu-team.
 
Old 12-27-2011, 09:13 AM   #12
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
Quote:
Originally Posted by JZL240I-U View Post
I did not change anything and I don't use any "hacks". This is the unadultered behavior of the system as installed...

I mean I logged in on a console. I.e. I pressed <Ctrl><Alt><F2> and got a non graphical login screen where I tested whether the root password works. It does. After that I tried of course the graphical login for root. Works too. There I have no problems using the catalyst center or ksyslog. I want to do this as a normal user as intended by Ubuntu, but I can't. Please leave aside sudo-using-or-not-using-philosophy I simply want the system working as intended by the Ubuntu-team.
Default Ubuntu install does not have a "root password."
Default Ubuntu install does not support "graphical login for root."
You have obviously "adultured" your Ubuntu system and are not using it "as intended by the Ubuntu-team."
 
Old 12-27-2011, 12:56 PM   #13
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,634

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by snowpine View Post
Default Ubuntu install does not have a "root password."
Default Ubuntu install does not support "graphical login for root."
You have obviously "adultured" your Ubuntu system and are not using it "as intended by the Ubuntu-team."
If you say so ... but how?

Let's try this differently. How would I go about it trying to set up a root password and enable graphical login? I mean, what could I have done to enable all this? I can't honestly remember doing anything out of the order (but I come from openSuSE, maybe something what is there absolute routine but causes havoc here... ).
 
Old 12-27-2011, 02:57 PM   #14
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
And other "sudo" apllications also cannot accept password? For example, can you try: "gksudo nautilus", "sudo apt-get update", etc. If all sudo not accept your password, check "/etc/sudoers" file. You can post it, or find if you have this line
Code:
%admin ALL=(ALL) ALL
Also check that you are in group "admin" by command "groups".

Last edited by eSelix; 12-27-2011 at 02:58 PM.
 
Old 12-28-2011, 11:33 AM   #15
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,634

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by snowpine View Post
...
You have obviously "adultured" your Ubuntu system and are not using it "as intended by the Ubuntu-team."
Yes. I plead guilty, your honor. And I abjectly ask your forgiveness, John_VV, for wrongly insisting that I didn't do nothing .

This is how I reconstruct what happened:

As stated in this very thread, there was no root password in the beginning. I wanted to do something with the system early on when I still had 10.04 Natty. And since I could not become root I did as stated in post #1:

Quote:
Problems started with 10.4 which didn't accept the root password after a few logins. I had to finally reset it with the installation CD and then immediately I upgraded.

Now I can log in as normal user and as root (console and graphical login). When I start e.g. Catalyst administrative center or click on ksyslog I get popups asking for my password. Popups accepts neither my nor root's password.
And I upgraded. It was not the re-install I commonly use with openSuSE, so the system kept those changes.

Mea culpa, mea maxima culpa.

Okay, I guess this can be rectified.

<edit> Please note that there is one more post on the next page...</edit>

Last edited by JZL240I-U; 12-28-2011 at 11:52 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
password and or login not accepted after install of Fedora Core 6 install Jason Gorenflo Linux - Newbie 1 08-01-2008 06:06 AM
su - password not accepted; root console login fine mrclisdue Linux - Security 5 11-25-2007 05:24 PM
Login fails, but password is accepted skulka Linux - Software 3 01-06-2005 06:38 PM
root password not accepted MauricioTulua Linux - Software 3 07-04-2004 01:21 AM
Help.. su password no longer accepted icb410 Linux - General 3 05-30-2004 09:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 11:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration