centos - Azure Regain sudo/su Access -


while trying install gui application today found myself having disable waagent. turns out networkmanager packages not compatible waagent. few, outdated, posts on microsoft forums had me run following process packages install:

# yum remove walinuxagent  # yum install networkmanager 

... desktop installs ...

# yum remove networkmanager  # yum install walinuxagent  /usr/sbin/waagent --install 

so did that.

now can no longer access root or sudo commands default login.

without higher level privs cannot perform of "fixes" noted in multiple forum posts.

any way find hint default root password on azure centos 6.4 image? or how restore sudo access default login no sudo commands?

is image hosed? running without elevated privs kind of useless cannot maintain system.

suggestions?

after multiple discussions, @ length, senior azure engineer @ microsoft, bottom line "the image hosed". because of way centos (and other linux) images built, if lose waagent without deprovisioning first, obliterate access elevated privilege account.

microsoft's azure team has bumped request allow console level access linux images, there no eta or confirmation feature ever considered.

for answer "rebuild system on new image".


Comments