Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
If you want to reset root password from command line, follow the method described by kbp above.
If you know root password and you want to change it using UI like phpmyadmin (not command line), you can follow this method but this method works if you know the password. 1) Log-into phpmyadmin using root. Root must have password, you can't log into account using blank or no password.
If you do not have root password, log-in with any user who has privileges like root. 2) Open database mysql and open table user. 3) See there should be username root in the list. 4) Now open this site & generate an encrypted password. 5) Put this encrypted password in password field of root in user table of mysql database.
Now you can log-into root with changed password but for this method you must know password of root or any equivalent user who can change the password in user table.
As you said how to reset, you did not request how to recover forgotten password.
If you want to reset root password from command line, follow the method described by kbp above.
If you know root password and you want to change it using UI like phpmyadmin (not command line), you can follow this method but this method works if you know the password.
1) Log-into phpmyadmin using root. Root must have password, you can't log into account using blank or no password.
If you do not have root password, log-in with any user who has privileges like root.
2) Open database mysql and open table user.
3) See there should be username root in the list.
4) Now open this site & generate an encrypted password.
5) Put this encrypted password in password field of root in user table of mysql database.
Now you can log-into root with changed password but for this method you must know password of root or any equivalent user who can change the password in user table.
As you said how to reset, you did not request how to recover forgotten password.
Why would ANYONE go to some website to generate a password? And more importantly, why wouldn't you just use phpmyadmin to change the password directly if you've already got it?? There's already a change password box, and you don't need to enter an 'encrypted' password, since the phpmyadmin tool does that behind the scenes: http://www.synology.com/support/faq_show.php?q_id=319
I was able to recover my root account. I was not able to go in as admin and modify the users. It looks like only a root account user/privileged can perform this task.
Why would ANYONE go to some website to generate a password? And more importantly, why wouldn't you just use phpmyadmin to change the password directly if you've already got it?? There's already a change password box, and you don't need to enter an 'encrypted' password, since the phpmyadmin tool does that behind the scenes: http://www.synology.com/support/faq_show.php?q_id=319
Ya but by this method user can change his/her password only, if he want to change root's password, he can't do this using phpmyadmin because OP said root has no password and without password OP can't log-in as root in phpmyadmin.
That's why I said if user has root privileges. he can change root's password using UI.
Ya but by this method user can change his/her password only, if he want to change root's password, he can't do this using phpmyadmin because OP said root has no password and without password OP can't log-in as root in phpmyadmin.
That's why I said if user has root privileges. he can change root's password using UI.
...which STILL doesn't explain why he needs to go to a website to generate a password, since if the user HAD root privileges, they wouldn't NEED to generate anything, just click a button. Also, the 'method' works for ANY password, not just a normal users.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.