1826480 Members
4205 Online
109692 Solutions
New Discussion

Unable to login as root

 
SOLVED
Go to solution
Grayh
Trusted Contributor

Unable to login as root

I am Unable to login as root...

By mistake i HAVE @ in my password...

I am not sure how to go from there
6 REPLIES 6
Tim Nelson
Honored Contributor
Solution

Re: Unable to login as root

try putting a \ in front of the @

e.g.

my\@password


or try to su to root after changing the erase char using stty. Then change the root password to something that does not use reserved chars.
Tim Nelson
Honored Contributor

Re: Unable to login as root

BTW,

Reading the man page for passwd you will find "WARNING...Run Will Robinson !!! "


WARNINGS
Avoid password characters which have special meaning to the tty
driver, such as # (erase) and @ (kill). You may not be able to login
with these characters.


Grayh
Trusted Contributor

Re: Unable to login as root

I have tried my/@password but it didn't work...

GenericSysName [HP Release B.11.31] (see /etc/issue)
Console Login: root
Password:
Login incorrect
login:
GenericSysName [HP Release B.11.31] (see /etc/issue)

Grayh
Trusted Contributor

Re: Unable to login as root

Wow I was able to login...


Thank you
Grayh
Trusted Contributor

Re: Unable to login as root

Thank u... It worked
James R. Ferguson
Acclaimed Contributor

Re: Unable to login as root

Hi Grayh:

> I have tried my/@password but it didn't work...


No, as Tim showed, use a backslash ('\') to escape the character. You show a foward slash which is wrong.

Regards!

...JRF...