Syntax Password Problems
When importing through Imap, there are problems with passwords that contain an exclamation point > ! .
I need to change the user's password before it works. Other special characters I have not tried.
Comments (7)
-
repo owner -
reporter A Password with "!" doesn't work. A Password without "!" works.
pilerimport -i debain13.fritz.box -u namexyz -p 7zeh32Gje is ok
The Import beginns.
pilerimport -i debain13.fritz.box -u namexyz -p 7zeh3!2Gje is not ok
The Output with "!":
pilerimport -i debian.fritz.box -u namexyz -p 7zeh3apt-get install mcGje login failed, server reponse: A1 NO [AUTHENTICATIONFAILED] Authentication failed.
-
repo owner Run ngrep -X port 143, and let me know if the password is there correctly in the packet pilerimport actually sends.
-
reporter pilerimport -i debian13.fritz.box -u namexyz -p 7zeh3!2Gje
root@debian13:~# ngrep -X port 143 interface: eth0 (192.168.2.0/255.255.255.0) filter: (ip or ip6) and ( port 143 )
T 192.168.2.88:143 -> 192.168.2.45:44247 [AP] * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUT =LOGIN] Dovecot ready...
T 192.168.2.45:44247 -> 192.168.2.88:143 [AP] A1 LOGIN namexyz "7zeh3apt-get"..
T 192.168.2.88:143 -> 192.168.2.45:44247 [AP] A1 NO [AUTHENTICATIONFAILED] Authentication failed...
-
@debian13
I don't see how you escape the exclamation mark (!).
As Janos already mentioned it, you have to escape such special characters in the bash with "\"
It may also work if you wrap single quotation marks around the password (untested), like: pilerimport -i debian13.fritz.box -u namexyz -p '7zeh3!2Gje'
-
reporter Hallo Michael, this works perfekt.
-
reporter - changed status to resolved
Change to Resolve.
- Log in to comment
I'm not sure what problem you encountered. Since you have to specify '!' on the command line, perhaps you have to quote it, eg.