LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Can I have tty on Alt+F9 only? (https://www.linuxquestions.org/questions/linux-server-73/can-i-have-tty-on-alt-f9-only-4175628683/)

blason 04-29-2018 10:30 PM

Can I have tty on Alt+F9 only?
 
Hi team,

Wondering if below can be achived? I have Ubuntu server 16.04 and have zebra routing daemon installed. I have changed the shell so that as soon as user logs in he will be dropped into vtysh shell and but the issue I am facing here is I am unable to change the shell to linux bash from there.

Hence wondering if such settings can be done that F1-f8 can be used with vtysh and F9 will be used for bash shell?

Again wondering what to do with SSH? Any clue?

pan64 04-30-2018 02:32 AM

looks like you gave no enough information. How did you change and what exactly to run vtysh instead of bash?
Does F9 works for you at all (will happen anything when you press it)?

What do you mean by "Again wondering what to do with SSH? Any clue?"

blason 04-30-2018 03:25 AM

Quote:

Originally Posted by pan64 (Post 5848849)
looks like you gave no enough information. How did you change and what exactly to run vtysh instead of bash?
Does F9 works for you at all (will happen anything when you press it)?

What do you mean by "Again wondering what to do with SSH? Any clue?"

I ran zebra daemon which is routing service and changed in /etc/passwd file instead of /bin/bash

For SSH since the user will have vtysh once logged in wondering how to do that? May be I can create separate user for SSH which will have /bin/bash shell running.

jefro 05-02-2018 01:34 PM

It is configurable or should be still. Forget where though.

blason 05-02-2018 01:57 PM

Hi,

Can you please suggest me how? Plsss


All times are GMT -5. The time now is 06:04 PM.