I created a VM instance on gcloud hosting Rstudio. However, after a month of not using the server I forgot the password of the VM instance and not sure if I'm using the right user name. When I tried to login by external IP:8787 the credentials that I remember are not valid. Does anyone know how to recover password and username for VM instance?
Thank you!
You should connect to your rstudio Vm via SSH and then you will be able to choose new password by following these steps:
Go to your VM instances page and in the list of virtual machine instances, click SSH in the row of the instance that you want to connect to.
When you log-in your VM via SSH:
1) Run the command sudo passwd < YOUR_USERNAME > (Keep in mind by default the admin username is rstudio-user) .
2) Type the new password and then retype it and done.
3) Try to connect to your VM with your new password
Moreover, if you are not using the default username or you forget, you can run
sudo cat /etc/passwd to see the username when you logged in to your VM via SSH.
Related
Recently I installed the Bitnami Wordpress canned deployment on Google Cloud Platform.
I can view the phpMyAdmin instance at a local address (http://127.0.0.1:8888/phpmyadmin/) but I cannot determine the username and password to log into the database cluster. I have tried the username specified in Deployment Manager, but the temporary password is not working. When I attempt to login, I receive the following error:
mysqli_real_connect(): (HY000/1045): Access denied for user 'user'#'localhost' (using password: YES)
I have tried to use various common passwords, such as root/root, with no success. If we assume the password is lost, how I can I figure out the password, recover it, or change it by using an SSH shell to the hosting compute instance?
Resetting password by supporting team if possible try
This issue seems related to phpmyadmin. I found this similar post where they stated:
This is asking for your MySQL username and password.
You should enter these details, which will default to "root" and ""
(i.e.: nothing) if you've not specified a password.
UPDATE
Have you tried to create a new user or change the password? Check this guide on how to do it.
Bitnami Engineer here,
As our guide mentions, once you create the SSH tunnel to access phpMyAdmin, you need to use the user 'root' and the password we configure at boot time (it's the same password we configure in the application). More information in our documentation
https://docs.bitnami.com/google/components/phpmyadmin/
Oh it's opened now, the user was (root) which it's not mentioned anywhere when i created the instance, the password is the one which generated by Bitnami when the instance is created on the bitnami platform lunchpad website.
the password is used for 2 users :
username: user
username : root (hidden) for new users who are decided to try cloud servers is not easy to figure this username and which password must use.
thanks for trying to help.
I'm a UNIX AIX administrator and as per the security design, each user should have specific privileges and some user have "sftp" only they don't have ssh.
When user password expires, I have to reset the password for the user by myself ( because he don't have access as ssh to execute commands ) so I'm thinking if there is some way I can enable SSH for users but show them only specific tasks like below scenario :
User: xxxxxx
password : *******
1- Reset User.
2- Change Password.
Choose Option :
Sounds like you'll need to write a little script for the users. AIX uses Korn shell, so you can write little scripts for the user based on whatever parameters you like.
Info for modifying the SSH permissions for the individual users.
Is it possible that when a user goes to our notebook server that he/she can login using their username and password defined in /etc/passwd (which in turn uses our institution's yp) and has all the permissions of that user? Perhaps starting a new session in the user's home directory?
You should use jupyterhub for this. There you can choose between several authencation-mechanism like PAM or LDAP. You may even want to write your own.
Check https://jupyterhub.readthedocs.io/en/latest/ for more info
I've loaded up a new Nano VM but, at the recovery console, I'm prompted to enter a username, password and domain.
I'm not attached to a domain and I know the password I created with the PS scripts, but what is the user name?
It's Administrator...
All this time I was misspelling it.
I'm trying to connect to amazon using aws and an user that I created in ec2. Unfortunately, I can't connect in filezilla to that user using the key, only to the default aws user. How exactly should I go about this?
If you created a user on ec2 with a command like adduser then to use this new user with filezilla set a password for the user with the passwd command. Then use the same username/password combination from filezilla
To use filezilla with ssh key pairs
generate a new key pair for the new user with the ssh-keygen command.
Put the public part in the new user's .ssh/authorized_keys file.
Ensure that the authorized_keys has the correct permissions and owner.
Convert the private key to pem or ppk format and load it into filezilla
See https://wiki.filezilla-project.org/Howto