MageiaThis forum is for the discussion of Mageia Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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".
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?
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.