|
Hi. I recently accidentally forgot my user password to my shell. I know the root password. How do I change the user password?
I figure it's something like
$su root $passwd -[something] username
but I can't get it to work. Halp pls?
Started by mechko on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at superuser):
Just "passwd mechko" I think, if you're logged as root ? tried it ? as existing password use roots or mechko's (in this case roots)
Old school, more powerful than necessary method:as root empty the password field....
|
|
This is kind of related to Password Best Practices but more specific.
Do you use the same root password for all the servers in your organization? For within a class of devices?
Started by Kamil Kisiel on
, 13 posts
by 13 people.
Answer Snippets (Read the full thread at serverfault):
What I do now is generate a different root password to my e-mail, so that....
We do use the same root password everywhere, although myc0mm0npa$$w0rd.web
But still is insecure.
Unique password that was easy to remember.
|
|
I'd like to change the password of another user, as root, but don't want the user to be prompted to change their password when the log in. As far as I can tell, any mechanism to change the password as root set the ADMCHG flag in /etc/security/passwd
Started by Ryan Emerle on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at serverfault):
Man pwdadm pwdadm -c.
If it's a one-off then change it to a temp password, then login as that user and change it to the desired password.
|
Ask your Facebook Friends
|
Where or how do I check mysql root password? I dont have .my.cnf file, i cant login to sql console (it requires password), i cant do anything. Please help
Started by mysqllearner on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at serverfault):
On other systems you would have been asked to set the root password when you installed/resetting-permissions....
On many systems the root password is blank by default.
It is encrypted.
There is no way to lookup the password.
|
|
When I'm working locally, I don't really need to enter my password to access my database. I changed my root password when I first installed mysql, but I don't know how to change my password back. What should I do?
Started by Andrew on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
To change the root password to newpassword :
mysqladmin -u root -p'oldpassword' password 'newpassword'
To change it so root doesn't require a password:
mysqladmin -u root -p'oldpassword' password....
|
|
How can I change the root password to an empty one in MySql?
The following gives "Access denied for user 'root'@'localhost' (using password: YES)" error. I'm sure I've typed my password correct (it's only 123456 )
mysqladmin -u root -p'123456' password...
Started by Armagan on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
You should restart the MySQL server or run the following command:
FLUSH PRIVILEGES;
MySQL doesn't immediately "see" the changes you make to the tables containing user account data, hence the need for this additional step... .
You need to FLUSH PRIVILEGES.
|
|
I have long since forgotten the password for the root user on one of my boxes. Is there a way I can change it without having to log in to the instance, or will I have to reinstall?
Started by Nick Stinemates on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Step 1
Stop database:
shell> /etc/init.d/mysql stop
Step....
In the root shell type:
mysqladmin -u root password <password>
This might help " Recover MySQL root password ".
A quick Google resulted in this answer.
|
|
So, I have an interesting problem. The root password on one of our Sun x4500 machines was changed and never communicated. Now, nobody knows what it is. I have physical access to the machine, but no Solaris installation disc. Is there any way to reset ...
Started by Jeremy Privett on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at serverfault):
You can boot selecting the single user mode in GRUB and then proceding to reset the root password...then clear out the password....
Here is a step-by-step guide to resetting the root password on Solaris 10, it requires you have.
|
|
In a knopix enable to access another drive because i forgot the password how to recover that password or change password.
Answer Snippets (Read the full thread at superuser):
Example:
sh-3.2# passwd john Changing password for john Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully sh-3.2#
as you can see, it....
The passwd command to change your password.
|
|
In this how-to geek article , the author talked about using
mysqladmin -u root -h host_name password “newpassword”
To set a new password. A person replied that that may leave the password in the shell's history file, and suggested using
mysql -u root ...
Started by Andrew Grimm on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
According to wikipedia the....
MySQL environment vars reference.
You can turn off MySQL history by setting
export MYSQL_HISTFILE=/dev/null
in your shell before starting mysql .
Why don't you just use one of the options and delete the relevant history file .
|