LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mageia
User Name
Password
Mageia This forum is for the discussion of Mageia Linux.

Notices



Reply
 
Search this Thread
Old 12-01-2013, 04:08 AM   #1
herakles_14
Member
 
Registered: Sep 2010
Location: I currently reside in Glendale, AZ
Distribution: Manjaro & PCLinuxOS
Posts: 286

Rep: Reputation: 0
Unhappy localhost password not working


Hey,

Earlier yesterday I got a notice there were some updates ready to be installed. It asked for my bill48 password. I entered it and it was declined. I entered the password again and it was decliend again. I was able to get the updates by going through the Mageia Control Center using the Root password, which I did remember.

Now I need some assitance in creating a new 'localhost' password. By 'new' I mean restoring the password I already have to its righful place. Any ideas as to where I can go or what I need to do would be appreciated.

TIA

herakles_14
 
Old 12-01-2013, 04:29 AM   #2
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,318

Rep: Reputation: 124Reputation: 124
My first guess is that your user "bill48" doesn't have 'sudo' rights.
If so, as root add your user to a group with sudo rights. I don't know Mageia's Control Center, but you can check the file /etc/sudoers, edit with "sudoedit".
 
Old 12-01-2013, 04:47 AM   #3
herakles_14
Member
 
Registered: Sep 2010
Location: I currently reside in Glendale, AZ
Distribution: Manjaro & PCLinuxOS
Posts: 286

Original Poster
Rep: Reputation: 0
pingu;

I was not able to open the /etc/sudoer.d folder. I also used the terminal entering; /etc/sudoers that did not work well.

I know how to change my Unix password but before I do that I need to know is the Unix passwrod just another name for the Root password? If it is not then I coudl go ahead an nmake the change or correct the change?
 
Old 12-01-2013, 10:20 AM   #4
273
Senior Member
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 3,565

Rep: Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804
If I am understanding correctly you know the root password but not the password for bill48 and so you want to change bill48's password?
I that is the case then open a terminal type
Code:
su -
then enter the root password. After that run
Code:
passwd bill48
and enter the new password when asked. Then you just type exit to log out as root and you're all done.
 
Old 12-01-2013, 10:34 AM   #5
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,318

Rep: Reputation: 124Reputation: 124
Quote:
Originally Posted by herakles_14 View Post
pingu;
I was not able to open the /etc/sudoer.d folder. I also used the terminal entering; /etc/sudoers that did not work well.

I know how to change my Unix password but before I do that I need to know is the Unix passwrod just another name for the Root password? If it is not then I coudl go ahead an nmake the change or correct the change?
1) You must be root to edit sudoers files. And "/etc/sudoers" does nothing, it's not a binary (executable) file. You edit the file with command "sudoedit" as I wrote in my first post.

2) "is the Unix passwrod just another name for the Root password" - now you are a bit confused.
All passwords are Unix passwords - root, bill48 etc all use Unix passwords.
But each account has it's own.
However if you have sudo rights, then it's a matter of configuratin which password you are to enter when executing a 'sudo' - in most systems I've seen it's your users password but it could be roots.
 
Old 12-01-2013, 01:11 PM   #6
herakles_14
Member
 
Registered: Sep 2010
Location: I currently reside in Glendale, AZ
Distribution: Manjaro & PCLinuxOS
Posts: 286

Original Poster
Rep: Reputation: 0
273,

Thank you. Followed your commandline instruction and it worked. I entered my password for bill48 then retyped it. Then typed 'exit' and I was no longer root. Closed the terminal and I am again ready with the non root password.

herakles_14
 
Old 12-01-2013, 01:23 PM   #7
273
Senior Member
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 3,565

Rep: Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804
Glad I could help. Don't forget to mark the thread solved.
 
Old 12-03-2013, 05:02 AM   #8
herakles_14
Member
 
Registered: Sep 2010
Location: I currently reside in Glendale, AZ
Distribution: Manjaro & PCLinuxOS
Posts: 286

Original Poster
Rep: Reputation: 0
273

Right , my bad sorry.
 
Old 12-03-2013, 09:57 AM   #9
273
Senior Member
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 3,565

Rep: Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804
Quote:
Originally Posted by herakles_14 View Post
273

Right , my bad sorry.
No need to apologise, it's easy to forget.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH to localhost without password nixanwin Linux - Newbie 15 04-02-2014 04:25 PM
[SOLVED] mysql root password on specified host (not localhost) Quakeboy02 Linux - Server 4 03-31-2013 02:05 PM
MYSQL: Access denied for user 'root'@'localhost' (using password: NO) jun_tuko Linux - Software 3 03-05-2013 07:37 AM
[SOLVED] linux(in VirtualBox) apache http://localhost working, but 127.0.0.1 not working zousheng Linux - Newbie 12 02-09-2013 07:21 PM
localhost:631 password refused at end of printer set up LRC Linux - Hardware 4 06-11-2007 01:47 AM


All times are GMT -5. The time now is 06:32 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration