Solved

cisco 2900 x series changing username or removing an account

Posted on 2010-09-02
1
463 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
Comment Utility
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Let’s list some of the technologies that enable smooth teleworking. 
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
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.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

728 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now