LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-29-2018, 10:30 PM   #1
blason
Member
 
Registered: Feb 2016
Posts: 122

Rep: Reputation: Disabled
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?
 
Old 04-30-2018, 02:32 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,830

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
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?"
 
Old 04-30-2018, 03:25 AM   #3
blason
Member
 
Registered: Feb 2016
Posts: 122

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
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.
 
Old 05-02-2018, 01:34 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,976

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
It is configurable or should be still. Forget where though.
 
Old 05-02-2018, 01:57 PM   #5
blason
Member
 
Registered: Feb 2016
Posts: 122

Original Poster
Rep: Reputation: Disabled
Hi,

Can you please suggest me how? Plsss
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] ctrl+alt+F1 not showing tty darthaxul Linux - Software 12 01-08-2016 07:40 AM
No tty when I enter <alt> <ctrl> F2. Lord Kelvin Fedora 6 01-05-2006 04:53 PM
No TTY when pressing Alt+F1 - 7 tribalmasters Fedora 10 08-15-2005 10:02 AM
change tty => system crashes (ati driver/tty resolution) mosca Debian 6 08-05-2004 07:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration