cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
868
Views
0
Helpful
3
Replies

how to create 871 users with encrypted password (in run-config)

sebastiasebas
Level 1
Level 1

Hi - I am configuring a 871 to control remote VPN access.

When I create a user/password using SDM, the password is displayed encrypted on "show running-config" command.

But, if I log into 871 using Putty and use "username myuser  privilege 1  secret 0 mypassword", then the password is displayed as text with the same "show running-config" command.

My question is : what is the syntax of the "username ..." command, so the password is encrypted in "show running-config" display ?

Thanls a lot. Sebastian.

1 Accepted Solution

Accepted Solutions

Antonio Knox
Level 7
Level 7

You need to enable password encryption

Router(config)#service password-encryption

Should do the trick.

Please rate helpful posts.

View solution in original post

3 Replies 3

Antonio Knox
Level 7
Level 7

You need to enable password encryption

Router(config)#service password-encryption

Should do the trick.

Please rate helpful posts.

Not applicable

Antonio is correct, that will encrypt all passwords on your device.

If you did not want to use that global command, you could use the following;

username cisco privilege 15 password 7 cisco

The 7 encrypts the password.

The 7 also means that you will enter the password in it's encrypted form. Best used when copy/pasting default or original confute. Good tip, Christian. Both methods will solve your problem, Mike.

Please rate helpful posts.

Sent from Cisco Technical Support iPhone App

Review Cisco Networking for a $25 gift card