LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 01:10 PM   #1
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,203

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, 02:54 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

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

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



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

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, 12:46 AM   #4
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,203

Original Poster
Rep: Reputation: 45
help

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

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:47 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