11-02-2018 10:19 PM
Hello-
We are running CSPCv2.7.3.1
When I try to login to CLI using admin account, I get successfully authenticated but i get to linux prompt
"[admin@ccoll01 ~]$ " instead of adminshell enable mode. Collectorlogin account is working as well.
Can someone help with this?
Thanks
Solved! Go to Solution.
11-05-2018 08:15 AM
It looks like someone changed the admin user's default shell to bash. You can change it back with the below command run as the root user:
usermod --shell /opt/cisco/ss/adminshell/bin/clishell admin
Please confirm if you are able to access the admin shell when this runs.
Thank you,
Brandon
11-05-2018 08:08 AM
Can you please post output of below command run as the collectorlogin user:
getent passwd admin | cut -d: -f7
Thank you,
11-05-2018 08:12 AM
Here is the output.
[collectorlogin@netprtccoll01 ~]$ getent passwd admin | cut -d: -f7
/bin/bash
11-05-2018 08:15 AM
It looks like someone changed the admin user's default shell to bash. You can change it back with the below command run as the root user:
usermod --shell /opt/cisco/ss/adminshell/bin/clishell admin
Please confirm if you are able to access the admin shell when this runs.
Thank you,
Brandon
11-05-2018 10:45 AM
That worked. Thank you.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: