Ubuntu :: Change Root Password - Typing A Password, No Characters Show Up?
Mar 9, 2010
I'm really new to Linux so this will probably sound like a pretty naive question to most users, but how do you change the root password?To install Java, I have to type # su into Terminal,which then asks for the password.What's weird is that when I start typing a password, no characters show up. I don't know if this is supposed to happen or not.I've found a bunch of different sites on the Internet that explain how to change the root password, but none of them seem to work for my specific work station.
I've got Ubuntu 9.10 64 bit. In the GRUB boot menu, I can choose to boot normal or in recovery mode (I'm led to believe older versions don't have this option).I've tried typing # sudo passwrd into Terminal, but I already have a root password set up apparently, so I can't change it there.
hello i am trying to change my password, but when i type in the new password i get this:"The password is longer than 8 characters. On some systems, this can cause problems. You can truncate the password to 8 characters, or leave it as it is."my question is what kind of problem could i get and how can i change so i have to log in every time i start the computer?
I'm trying to run a script that needs root privileges without typing in the password. I want to copy a file from my documents folder into /etc/X11 to overwrite my xorg.conf. I do this because I will have my computer switch from my monitors to my TV when I watch a movie. But I'd like to be able to make it a clickable icon so I don't have to type in cp /... /etc/...
Then I read a lot of places that said to add this to the sudoers file (sudo visudo)
Code:
nertskull ALL = NOPASSWD: /home/nertskull/Documents/switch_TV.sh
I've done all that, and I still get asked for my password when I run that file.
nertskull ALL = ... %nertskull ALL = ... %users ALL = ... %admin ALL = ...
I'm sure it's something simple I'm overlooking, but I've read 5 different threads on this, and I can't find anything they did that I'm not doing. Also, here is my sudoers file, because I know location within the file matters. But what I read said I should be putting my stuff at the end.
Code:
# /etc/sudoers # # This file MUST be edited with the 'visudo' command as root. # # See the man page for details on how to write a sudoers file.
At the RHEL prompt, I entered the standard user's username/password combo. Linux displays a message box stating:"Your account has expired; please contact your system administrator."Next, I entered "root" in the username field and entered the root password (which expired also--keep in mind that passwords are set to expire after x days). Linux displays a message box stating:"You are required to change your password immediately (password aged)."When prompted to "Enter current UNIX password", I entered the new password (was that the right thing to do?); Linux displays a message box stating:"The change of the authentication token failed. Please try again later or contact the system administrator."I rebooted the system and got into command line mode; somehow I logged in as "root" (don't know exactly how, but needed to change the password there). At the "#" prompt, I type "passwd root"; Linux displays the message "Changing password for user root", followed by the message "passwd: Authentication information cannot be recovered.
I have a requirement to set up linux system administrator password with respect to below guidelines... I was lookin at pam_passwdqc but not sure that it all the below mentioned criterias to be acheieved.. Please go thru the below criteria and let me know which utility should i use for it.
1 The password length must be at least 16 characters long. 2 The password must be different from the previous 20 passwords.# Not sure how to acheieve this 3 The password must be changed every 60 days. 4 The password must be different from the user ID. It must not contain any derivatives of the User ID. ]# Not sure how to acheieve this 5 The password must contain characters from 3 of the following 4 classes:
5.1 Upper Case 5.2 Lower Case 5.3 Numerals 5.4 Special Characters (for example: #, $, &, ].....)
1. I tried to change my password by typing "passwd" in the terminal. It then asked me to input the Unix password. After I typed in the Unix password, it read "Authentication token manipulation error". Why did that happen? I know what the Unix password is.2. . What is the difference between Unix password and Root password?
Iam unable to chang th root password in ubuntu. after sudoing,passwd it asks for the old password, thn th new password twice, but does not change it. What do i do?
I m Trying to get vsftpd usergroups to work i accidentally moved a file called passwd from /etc/vsftpd/ to /etc/, resulting in my root access is destroyed! how to restore the passwd file so i can keep working, or do i have to re-install the entire box?
I recently decided to give linux a try on my personal machine. I work on a unix machine from time to time at work but am pretty much a novice with what I am doing on this laptop. I am running Ubuntu 9.10, I was trying to change the root password on my laptop but ran into the following:
charles@charles-laptop:~$ whoami charles charles@charles-laptop:~$ sudo password root
I think I would now and then like to change my Ubuntu root password for my own peace of mind. Is there a way to do that without having to re-install the os?
I got during my last year of high school, and I recently installed Fedora 11. During the installation, I misunderstood one of the questions, and set my root password as what I wanted my account password. I want to go in and change it, because it's pretty easy to figure out and has me feeling really vulnerable, but it won't let me. I went to System-Administration-Root Password, entered my password, and put in a new one, but it won't let me click Change Root Password. The button is faded out and unclickable. I've tried several different passwords, and triple-checked each to make sure I typed it in correctly, but it won't work.
I am an absolute Linux Beginner who is being required to do a bit of admin work because the boss just fired the old linux admin. Unfortunately, one of our employees cannot remember her password to her email account and as such I need to reset it on our linux server.What I want to check is that this email account is actually a linux user account and I simply will reset the password for it using the passwd command from the root login. Is that correct?
I've been using Ubuntu for like a year now. Whenever I want root privileges I just type sudo and enter my User password. I wanna know if there's a way to change this, in a way that My User password is: "ABC" and the password needed to have root privileges is: "ABC123". I have no problem using the terminal, I actually prefer it to any GUI, it just seems easier to me.
everytime i try to vnc to my box, it pops up the keyring authentication, which is obviously a huge problem when logging in remotely.how do i change my keyring password to match my login password?
I am trying to reset the root password of Squeeze so that I may be able to update. I forgot it. I have followed the howto Reset Root Password without success. I am getting a root prompt but for some weird reason the root commands are not found. When I type passwd, I get, "command not found". Moreover, If I try reboot and shutdown -h now, both fail.
Forgot root password on fedora 10. Reboot into runlevel one and changed passwd and it said all tolkens updated. Typed exit and it didn't reboot and at login screen I logged in as other "root" and it didn't work with new password. So I redid the runlevel 1 and password change and typed init 6. It didn't work after that also. How to change fedora 10 root password if the old password is forgot?
I am running Fedora 12 as Guest OS in VMware Player. I installed Fedora 12 by using a Prepackage VM . The root user name and p/w was supplied by the person who made this appliance. Is there way for me to change root user name and pw
regarding the file permissions of /etc/passwd in fact it has permissions like rw-r--r--so it says others have only read only permissions but my questions is if others has read only permissions on /etc/passwd file.how they are able to change their password i.e others are able to change their passwords then how it is possible.
I have Red Hat version 4 I was trying to change the root password with the passwd command.I get the error passwd: PAM [dlerror: /lib64/security/sufficient: cannot open shared object file: No such file or directory] I have change the password before.
Someone hacked my CentOS 5.4 test box, that I run at home with a gnome interface. It is connected to a domain name, the hacker changed only the root password. How can I change the root password? I get a graphical Grub at startup and if I press "e" nothing happens. Is there a different way to have Grub boot in text mode? Remember that I don't have root access. I was thinking to use the linux rescue mode, but I don't know what steps/commands to enter.
I have a brand new install.I was doing some housekeeping and made a more sure password.Something went wonky and I got locked out.So I booted to root and changed the password.I'm back in the box now.But, my keyring password no longer matches my user password.So every time I want to do something I am asked for my old password.How do I change my keyring password to match my login password?
To comply with standards I need to change the root pw every so often. However, I really don't have a need to know the root password; as the only thing using root, is for ssh authenticating via ssh keys. What I want to do is automate the root password change monthly via a cron job, to a random value. Is there a way to do this without knowing the previous password?
I work on a product that have to start automatically an application. Running Opensuse 11.2 So in the inittab I have : 1:2345:once:/root/Velox/VeloxBoot.sh 2:2345:respawn:/sbin/mingetty tty2
In the VeloxBoot.sh, if I don't press any key, my application starts after a timeout. If the user presses a key I want to have a login prompt. Unfortunately, if I start /bin/login, I have a prompt with login, but once I enter my login, it does not ask for a password and it says wrong password