02-17-2013 08:32 AM - edited 03-19-2019 06:17 AM
Hello guys!
How to unlock the pmadmin default web admin account for CUPM8.6? Already tried passwd -u pmadmin -f through linux (root access) with no success. Also rebooted the box with no sucess.
Thnaks in advanced!
02-19-2013 09:53 AM
Solved by Cisco TAC. I have the procedure if anyone needs it. Just let me know.
03-18-2013 10:58 AM
Hi Nephtali,
Could you please share the procedure Thanks.
03-18-2013 11:24 AM
Hello. Yes Sir. Below the procedure:
root@be6000-cupm ~]#
[root@be6000-cupm ~]# cd /opt/
cupm/ lost+found/ system/
[root@be6000-cupm ~]# cd /opt/
cupm/ lost+found/ system/
[root@be6000-cupm ~]# cd /mnt/
data/ hgfs/
[root@be6000-cupm ~]# cd /mnt/data/
cupm/ lost+found/
[root@be6000-cupm ~]# cd /mnt/data/cupm/
envvar.sh jboss/ logs/ postgres/ voiceProvInstall.sh
ErrorCode.txt jvm/ pmdb.sh sep/ voiceProvReInitialize.sh
httpd/ license/ pmservers.sh velocity.log voiceProvUninstall.sh
[root@be6000-cupm ~]# cd /mnt/data/cupm/postgres/9.0/bin/
clusterdb droplang pg_config pg_standby postmaster
createdb dropuser pg_controldata pg_upgrade psql
createlang ecpg pg_ctl pltcl_delmod psql.bin
createuser initdb pg_dump pltcl_listmod reindexdb
CUPM-implicit-functions.sql oid2name pg_dumpall pltcl_loadmod vacuumdb
CUPM-restore.sh pg_archivecleanup pg_resetxlog postgres vacuumlo
dropdb pgbench pg_restore postgres-9.0-openscg
[root@be6000-cupm ~]# cd /mnt/data/cupm/postgres/9.0/bin/
[root@be6000-cupm bin]# ./psql -Upmadmin -d cupm
psql.bin (9.0.5)
Type "help" for help.
cupm=# select failedloginnum from users where id="pmadmin" ;
ERROR: column "pmadmin" does not exist
LINE 1: select failedloginnum from users where id="pmadmin" ;
^
cupm=# select failedloginnum from users where id= "pmadmin" ;
ERROR: column "pmadmin" does not exist
LINE 1: select failedloginnum from users where id= "pmadmin" ;
^
cupm=# select failedloginnum from users where id= "admin" ;
ERROR: column "admin" does not exist
LINE 1: select failedloginnum from users where id= "admin" ;
^
cupm=# select failedloginnum from users where id= 'pmadmin' ;
failedloginnum
----------------
99
(1 row)
cupm=# update users set failedloginnum=0 where id= 'pmadmin'
cupm-# select failedloginnum from users where id= 'pmadmin' ;
ERROR: syntax error at or near "select"
LINE 2: select failedloginnum from users where id= 'pmadmin' ;
^
cupm=# select failedloginnum from users where id= 'pmadmin' ; failedloginnum
----------------
99
(1 row)
cupm=# update users set failedloginnum='0' where id= 'pmadmin' ;
UPDATE 1
cupm=# select failedloginnum from users where id= 'pmadmin' ;
failedloginnum
----------------
0
(1 row)
cupm=# select failedloginnum from users where id= 'admin' ;
failedloginnum
----------------
99
(1 row)
cupm=# update users set failedloginnum='0' where id= 'admin' ;
UPDATE 1
cupm=# select failedloginnum from users where id= 'admin' ;
failedloginnum
----------------
0
(1 row)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide