LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-10-2009, 11:06 AM   #1
pisti
Member
 
Registered: Jul 2006
Location: Montréal, Canada
Distribution: Slackware
Posts: 258

Rep: Reputation: 33
how to change login-prompt in slackware?


how the heck do i change that login-prompt line which looks in Slakckware by default like:

"hostname login: "

i have no trouble to change /etc/issue, but that cursed login line resists any attempts in /etc/default/getty. for example i would like to include the number of a given tty, the virtual terminal one intends to log in.

thanks, bye, pisti
 
Old 02-10-2009, 11:55 AM   #2
pisti
Member
 
Registered: Jul 2006
Location: Montréal, Canada
Distribution: Slackware
Posts: 258

Original Poster
Rep: Reputation: 33
Re: how to change login-prompt in slackware?

ok, i just found out how to adjust that login-prompt in Slackware:

- first slackware uses agetty (and not getty, at least not for this purpose).

- second parameters like "\l" and others (see man agetty) in the /etc/issue file will be interpreted by agetty, and printed accordingly right before the login prompt line. a years-long problem got solved!

bye, pisti
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change system login prompt? Randux Slackware 6 04-11-2007 11:09 AM
How do you change login/password prompt? cnewtonne Linux - Security 7 11-16-2006 02:54 PM
How to: Change Login Prompt wildem Linux - General 1 05-24-2006 07:02 PM
how to change login prompt ChronusDark Linux - General 2 03-03-2005 01:34 AM
Change cli login prompt? ipslave Slackware 1 05-06-2003 07:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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