Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

Lost SU access on Linux VM

$
0
0

While trying to install a GUI application today I found myself having to disable waagent.   Turns out the NetworkManager packages are not compatible with waagent.    A few, obviously outdated, posts on the Microsoft forums had me run the following process to get the packages to install:

# yum remove WALinuxAgent

# yum install NetworkManager

... do desktop installs ...

# yum remove NetworkManager

# yum install WALinuxAgent

/usr/sbin/waagent --install

So I did that.

Now I can no longer access root or any sudo commands from my default login.

Without higher level privs I cannot perform any of the "fixes" that are noted in multiple forum posts.

Any way to find a hint as to what the default root password is on my Azure CentOS 6.4 image?   Or how to restore sudo access to my default login with no sudo commands?

Is this image hosed?   It is running but without elevated privs it is kind of useless as I cannot maintain the system.

Suggestions?


Viewing all articles
Browse latest Browse all 12545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>