0
rated 0 times
[
0]
[
0]
/ answers: 1 / hits: 7924
/ 1 Year ago, fri, may 12, 2023, 3:13:53
I have lost root password of one old server, where i can only have normal user login and via webmin login. Via webmin interface i have one option to execute command, i have been trying the following but it fails:
> echo -e "newPassword
newPassword" | passwd root"
bash: -c: line 0: unexpected EOF while looking for matching `"'
bash: -c: line 1: syntax error: unexpected end of file
> whoami
root
via webmin, i can see i am logged in as root
More From » command-line