Forum Discussion
getitng out of tmsh mode when using ldap access
Hi, we ssh to our big-ips using remote-ldap authentication. I see that it takes you by default to the tmsh mode and if i do a "quit" to exit out of it so that I can get to the regular shell, it closes the whole session. Is there a way to avoid this?
6 Replies
- What_Lies_Bene1
Cirrostratus
If you are on v11 it would seem Advanced Shell access isn't possible for externally authenticated users. You can of course still use a local Administrator account. - hoolio
Cirrostratus
If you run !bash and you have console access you can get to a bash prompt using remote auth.
You can also hack this a bit and add an entry to /etc/passwd for remote users to have them logged in with a bash shell by default. This isn't supported but should work.
my_remote_user:x:0:0:my_remote_user:/home/my_remote_user:/bin/bash
There's an open request for enhancement to support bash as a terminal option for remotely authenticated users:
Bug 358740 - RFE Allow bash as a shell option for remote users
You can open a case with F5 Support to request this RFE be built.
Aaron - sandy16
Altostratus
Thanks Aaron, i put in the above entry as it is in the /etc/passwd file. It still takes me to tmsh prompt.... - sandy16
Altostratus
the fix to this is by running "run /util bash" in tmsh. Thanks to TAC...- Aswath_300705
Nimbostratus
Thanks Sandevsingh for sharing the command. Very helpful.
- getrajan1_36236
Nimbostratus
i am getting below error when trying to get the logs of device. Please advise.
(cfg-sync Standalone)(Active)(/Common)(tmos) run /util bash Syntax Error: "bash" unexpected argument
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com