How to change the LAMP password? - passwords

I accidentally set my password for xampp pages in lampp.
How do I change/remove the password (for lampp) ?
My lampp version is 1.8.1, under Ubuntu.

Enter sudo /opt/lampp/lampp security.This will ask you to change the password. If you are a sudoer you dont need to enter the old password.
If this does not solve your problem visit this link [a link] http://www.apachefriends.org/f/viewtopic.php?p=193142&sid=d84e4bebb8b922f339a2b1b1e812a05a

Related

chroot problem for change my lost password root on whm

I have a problem with my access, I use a VPS Alma Linux on OVH Cloud, but I lost my root password and I need to change this to manage my customers.
But I changed the password in rescue mode on my VPS and rebooted this. After rebooting my password was still wrong.
Please, I need help with this.
I use:
enter sudo passwd root and chroot here
Not work!

Why I am not able to login when I use mysql admin password for phpMyAdminor bypass login screen when I set 'AllowNoPassword'] to TRUE?

Why I am not able to login when I use MySQL admin password for phpMyAdminor bypass login screen when I set AllowNoPassword to TRUE?
Here what I did:
Environment:
OS Fedora Linux 22(64 bit) with graphical user interface
wembin version 1.760.
PHP 5.6.13
Maria DB server (MySQL) version 10.0.21
Installed phpMyAdmin-4.5.0.2. for Fedora Linux 22(64 bit).
Following steps I used to install phpMyAdmin-4.5.0.2:
#dnf –y update
#yum install phpMyAdmin mariadb-server
Add user
#addusr phpmy
#passwd phpmy
Modify the phpmyadmin directory’s ownership to phpmy user
chown _r phpmy.apache phpMyAdmin
systemctl restart httpd
http://localhost/phpMyAdmin
At login prompt not able to login using phpmy/ phpmy as user ID and password.

Unable to connect as the root user in Vagrant 1.7.1

I've been trying to login to Vagrant as a root user using 'vagrant' as the password. It doesn't seem to work. I have checked the official documentation and read few posts which confirm 'vagrant' as the password for the root user. Is there a solution?
You should never log in with the root user. Do everything you need under sudo or, worst, sudo -s.

finding out sudo password on ssh server

I need to do a sudo command on a ssh server.
It asks for password
[sudo] password for myname:
but it's apparently different from the password for ssh server itself.
Can sudo only be used by root?
If not, should I ask the maintenance people for the password?
Or is there a way to set it up myself?
See : http://www.gratisoft.us/sudo/sudoers.man.html
Specifically see rootpw, targetpw , etc.
It is possible to have two different passwords, one for the account and another for the sudo command.
You should ask to the Maintenance people....

Create ssh root password

For some reason, after a plesk update, I can no longer login to ssh as root using my old password. I have tried to create a user with:
/bin/bash & /bin/bash (chrooted) in plesk
Which lets me login but has no root privileges. How can I either recover my old password or get access to the ssh config to check whether root login is disabled. I installed ssh term in plesk, but that bums out with an error of:
jarsigning exception
Guess it's because there is only the default certificate on the server. I would be grateful if someone could help with this as I have reached a point where I am struggling to find other things to try. Many thanks
Plesk 11.5 CentOS 6 SSH Client
Once you are logged with the non-root user try to type "su" or "su root" and the enter your root password, it will allow you to become root.
Note that su allow you to login as any user, the syntax is "su username".