LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-27-2004, 02:10 PM   #1
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,185

Rep: Reputation: 45
no more consoles plz


Hi i want to replace the login prompt that appears in each console
(ctrl+alt+Fx) with a ssh prompt.... How i can run my own commands at each console?
 
Old 05-27-2004, 03:54 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Have a close look at
/etc/inittab

[hint]grep/search for getty[/hint]



Cheers,
Tink
 
Old 05-28-2004, 05:39 AM   #3
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,185

Original Poster
Rep: Reputation: 45
then/??? Lets say we need to run the ssh......
What i must type?
Thx for your reply
 
Old 05-29-2004, 01:46 AM   #4
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,185

Original Poster
Rep: Reputation: 45
help

Plzzz hep
 
Old 05-29-2004, 05:56 AM   #5
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
I'm not quite sure what you're asking. Ssh is just a program you can use to connect to remote machines. You wouldn't replace one of your virtual terminals with it. Why can't you just login to the virtual terminal and run ssh? Or use the terminal emulator in your desktop environment? To actually change what would run on the virtual terminals you would probably have to modify the getty source code -- I don't know how well a normal program would take to just being set to listen on a virtual terminal -- an interesting thought though!

Maybe if you try to tell us why you're trying to accomplish this it would help a little more. It is an interesting question though (assuming I understand what you're trying to do right).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Consoles bong.mau Linux - Software 5 09-05-2005 01:59 PM
more consoles Donald1000 Solaris / OpenSolaris 2 02-18-2005 12:12 PM
plz plz help me regarding route mapping nedian123 Programming 1 07-13-2004 09:17 AM
plz plz solve my route mapping problem nedian123 Linux - Networking 1 07-12-2004 10:41 PM
redhat problems plz plz help sap666 Linux - Newbie 5 07-30-2003 11:57 AM


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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration