administrative password fails

Asked by Eddie Ed

I am a ubuntu excited newbie runnning
ubuntu server 10.10
dell PE 3.73.intel dual core
32Gb ram
600Gb Raid 0
administrative password is prompted when I try to download ubuntu software updates or edit system-config-samba gui when I enter the administrative password fails I get an error and and when I do system updates or openn any other apps the same pasword works fine.Please help.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu sudo Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
mycae (mycae) said :
#1

It should be the same as your user password. It needs your user password to elevate your user to admin privileges

you can reset your password if you have forgotten it.

http://psychocats.net/ubuntu/resetpassword

Revision history for this message
Eddie Ed (djedyedit) said :
#2

Clarification:I know what the password is.The problem is administrative password is prompted when I try to download ubuntu software updates or edit system-config-samba gui when I enter the administrative password fails I get an error and and when I do system updates or open any other apps the same password works fine.Please help.

Revision history for this message
mycae (mycae) said :
#3

WHat is the error?

Revision history for this message
mycae (mycae) said :
#4

WHat is the error?

Revision history for this message
Eddie Ed (djedyedit) said :
#5

I hope this paints the picture. Thanks
------Original Message------
From: mycae
Sender: <email address hidden>
To: Ed Mundondo
ReplyTo: <email address hidden>
Subject: Re: [Question #141110]: administrative password fails
Sent: Jan 13, 2011 06:52

Your question #141110 on sudo in ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/sudo/+question/141110

    Status: Open => Answered

mycae proposed the following answer:
WHat is the error?

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/ubuntu/+source/sudo/+question/141110/+confirm?answer_id=2

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/ubuntu/+source/sudo/+question/141110

You received this question notification because you are a direct
subscriber of the question.

Sent via BlackBerry from T-Mobile

Revision history for this message
mycae (mycae) said :
#6

No, your attachment gets scrubbed by launchpad. You will have to upload screenshots to a web service like:

http://imagepaste.nullnetwork.net/

Revision history for this message
Eddie Ed (djedyedit) said :
#7

I hope this paints the picture. The pics are in sequence( I probably need a couple lessons in movie directing!!!) Thanks
http://img717.imageshack.us/g/img00010201101131250m.jpg/

Revision history for this message
mycae (mycae) said :
#8

Can you open a terminal (Ctrl+Alt+T, or from applications menu) and type

sudo passwd root

and reset the password there.

then sudo passwd $USER

And reset the password there too.

Technically speaking, we shouldn't set the root password, but lets do it anyways.

Revision history for this message
Eddie Ed (djedyedit) said :
#9

sudo passwd $USER. I reset the sudo passwd as you instructed and it didn't work.

Revision history for this message
Eddie Ed (djedyedit) said :
#10

sudo passwd $USER. I reset the sudo passwd as you instructed and it didn't work. It appears to me that there must faulty with these particular apps communicating with the authentication system.

Revision history for this message
mycae (mycae) said :
#11

The communication system is that it adjusts your permissions, then launches itself (fork()s) as a child process, which is really straightforward -- were that broken your system would probably not boot. I suspect that the child process is failing, or that it is simply not forking. I am not sure why that would be at the moment -- we need more info.

Can you run

gksudo system-config-samba

and see if it spits out anything?

Revision history for this message
Eddie Ed (djedyedit) said :
#12

Yes yes that worked and it spit the samba server config gui. Thanks Which leaves with other app like software sources and synaptic manager.how do i work around that.
Thanks again

Revision history for this message
Eddie Ed (djedyedit) said :
#13

Yes yes that worked and it spit the samba server config gui. Thanks Which leaves with other app like software sources and synaptic manager.how do i work around that.
Thanks again

Revision history for this message
Eddie Ed (djedyedit) said :
#14

Yes yes that worked and it spit the samba server config gui. Thanks Which leaves with other app like software sources and synaptic manager.how do i work around that.
Thanks again

Revision history for this message
Eddie Ed (djedyedit) said :
#15

Yes yes that worked and it spit the samba server config gui. Thanks Which leaves with other app like software sources and synaptic manager.how do i work around that.
Thanks again

Revision history for this message
Eddie Ed (djedyedit) said :
#16

Yes yes that worked and it spit the samba server config gui. Thanks Which leaves with other app like software sources and synaptic manager.how do i work around that.
Thanks again

Revision history for this message
mycae (mycae) said :
#17

well, you can

gksudo synaptic

I am not sure why this is happening though - we are working around the problem, more than solving it.

Revision history for this message
launchpadmember (lpuser1138) said :
#18

Date of this post: Y2012 M07 D25 Wednesday
I'm experiencing this same problem but only with the administrative password for the package named system-config-samba

My Specs:
-----------
OS: Kubuntu 12.04 Precise (64bit)
OD: KDE 4.8.4
MoBo: ASUS P5E3 Delux
Mem: 4Gb
GPU: NVidia GeForce 8800 GT/PCIe/SSE2
OPENGL/ES version: 3.3.0 NVIDIA 294.40
Kernel: Linux 3.2.0-27-generic
system-config-samba version: 1.2.63

Re-Description of problem:
-------------------------------
1.) The administrative password works fine for almost every application and process on the system with the exception of the package named system-config-samba.

What works:
---------------
1.) Opening the package from the command line using:
sudo system-config-samba
Note: This opens the program with the correctly chosen "user" theme, but does not appear to be running with elevated privileges (I say this because it doesn't correctly list the users, under the programs preferences settings.

2.) Opening the package by pressing ALT+F2 and typing in:
kdesu system-config-samba
Note: This opens the program without a theme and uses the default black text on white background with whatever the default theme is with its ugly window decorations. However this seems to be running the program with the correct elevated privileges. I say this because it correctly lists the users who have access to specific resources in the programs preferences.

What does NOT work: (the opposite of the above)
--------------------------------------------------------
1.) Any attempt at running the program from the system launcher, before the program starts it asks for the administrative password. Once this is entered correctly, it complains that the user has entered the incorrect password which is impossible since it was copied and pasted from a temporary text document, which when copied and pasted into other programs that made such requests for the password worked fine. This proves that the password entered was the correct password. This also proves that the program is not correctly identifying the correct password.

2.) launching the program using gksu (note: gksu is installed) results in the same problem as in #1 above, either from the CLI or from ALT+F2.

3.) launching the program from the command line using:
kdesu system-config-samba
kdesu: command not found
Note: This is rediculous because kdesu works from ALT+F2 menus, and gksu works from the command line for other applications.

It would be nice if some standards could be put in place between various distro's so that there some sense of continuity in the way things get done by the end user.

Questions:
1.) Does this shed any light at all on what this problem might be, and where it might be coming from? If this is a bug then it would be nice to let someone upstream know about it.

Can you help with this problem?

Provide an answer of your own, or ask Eddie Ed for more information if necessary.

To post a message you must log in.