Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-22-2008, 02:48 AM   #1
LQ Newbie
Registered: May 2006
Posts: 8

Rep: Reputation: 0
Unhappy customizing login on terminal

How should i customize my login process on a terminal, to ask me the user name, check whether the user exists, greet him the day, and then to ask for the password? Pam modules looked awesome in customizing access but checking something in between the 'username' and password inputs....umm... couldn't get a clue :-(
Old 04-22-2008, 11:52 AM   #2
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Lenny
Posts: 351

Rep: Reputation: 47
You need to write your own "login" program
It need not be very complicated like the stock login program which can talk to serial console also; but it can be tailor made for your purpose

The best place to start would be to look at the busybox code. There is a login program
there which does this task and you can probably modify it for your purpose.


authentication, customize, login

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
How do I login to the terminal as someone else? ChrisR(SQL DBA) Linux - Newbie 2 11-10-2006 04:22 PM
Customizing Desktop thru Terminal burningsun1981 Linux - Newbie 8 07-03-2005 10:00 PM
Customizing KDE login jdozarchuk SUSE / openSUSE 3 02-07-2005 09:39 PM
Cannot login@terminal gk_ Slackware 4 08-06-2004 06:24 PM
Customizing the GUI login screen Wynand1 VectorLinux 3 03-04-2004 12:05 PM

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

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