amazon web services - How do I find the password for root user in EC2 instance? -
some permissions broken on server, , have lost ability use sudo. need su , change permissions, when su, asked password. never set password root user... can find password?
most of ami's not use passwords on root user i've noticed.
your best bet detach ebs file system , mount on instance can go in , fix authorized_keys files or /etc/sudoers or whatever appropriate resolve problem. once fixed, can unmount , detach it, reattach old instance mounts / again.
see answer info how access filesystem fix things:
Comments
Post a Comment