Solved

cisco 2900 x series changing username or removing an account

Posted on 2010-09-02
1
484 Views
Last Modified: 2012-05-10
I wish to remove the reference to username 'pbutler' on my cisco 2900 switch.
We have long since lost the password for this account and I would like to rename or replace it with admin and associate it with a new password. I can access the switch using the console just fine it is only when I try to telnet to it and it prompts for username/password where I run into trouble so if I can edit the config file to remove/replace this account we should be able to remotely administer this appliance.

here is the current configuration:

Building configuration...

Current configuration:
!
version 12.0
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname Switch
!
enable secret 5 $1$7qhU$vlXkU9VUkuillnoFFHv5Y/
enable password 7 051E0E002E5C460C1C
!
username pbutler privilege 15 password 7 10590D4C060719
!
!
!
!
!
ip subnet-zero
!
!
!
interface FastEthernet0/1
 spanning-tree portfast
!
interface FastEthernet0/2
 spanning-tree portfast
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface VLAN1
 no ip directed-broadcast
 no ip route-cache
!
interface VLAN2
 ip address 192.168.2.10 255.255.255.0
 no ip directed-broadcast
 no ip route-cache
 shutdown
!
!
line con 0
 transport input none
 stopbits 1
line vty 0 4
 password 7 105B01160A071A0E09
 login local
line vty 5 15
 login
!
end

Switch#

what commands do I need to use to make the change?

Thanks

0
Comment
Question by:cp361
1 Comment
 
LVL 8

Accepted Solution

by:
Saineolai earned 250 total points
ID: 33588062
enable the router when logged on at the console type:
enable

enter the configure terminal mode on the router by entering
config t

create a new username
username admin priv 15 password yournewpassword

to remove the old username type:
no username pbutler
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let’s list some of the technologies that enable smooth teleworking. 
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question