LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 09-08-2010, 05:58 AM   #1
harryhaller
Member
 
Registered: Sep 2004
Location: Brussels, Belgium
Distribution: Slackware
Posts: 313

Rep: Reputation: Disabled
Can I use the old /bin/login program on SL13.1? I don't like the new one.


I like the asterisks appearing when I key in my password when logging in.

The new /bin/login program (from the shadow package in a) on SL13.1 no longer accepts the GETPASS_ASTERISKS value in /etc/login.defs.

I want to recompile the old SL13.0 version and replace the new SL13.1 version with the recompiled old SL13.0 version.

Does anyone know of any problems that this may cause?
 
Old 09-08-2010, 09:31 AM   #2
harryhaller
Member
 
Registered: Sep 2004
Location: Brussels, Belgium
Distribution: Slackware
Posts: 313

Original Poster
Rep: Reputation: Disabled
Crikey!

Quote:
2006-07-16 Tomasz Kłoczko <kloczek@pld.org.pl>

* man/fr/fr.po, man/pl/pl.po, man/ru/ru.po: updated.

* man/useradd.8.xml: added newusers(8) to SEE ALSO section.

* etc/login.defs:
removed GETPASS_ASTERISKS (patch by Mike Frysinger <vapier@gentoo.org>).

From changelog for shadow-4.1.4.2
Is it that easy to remove an OPTIONAL feature?

Why is it necessary to remove a feature that was optional in any case?
 
Old 09-08-2010, 10:04 AM   #3
Tsomi
LQ Newbie
 
Registered: Oct 2006
Posts: 12

Rep: Reputation: 5
Maybe because it's not really good to show these asteriks, from a security point of view : then anyone could know the length of your password.

But still, yes, it was an optional setting, so I think the people who were enabling it knew what they're doing.

I don't think that using an old version of "login" with a recent version of shadow will work (a lot of other things changed in /etc/login.defs). The best solution, IMHO, would be to revert their patch (which you can create by looking at the diff between the last version having this feature and the one which removed it, or by looking at their git/svn tree if they use one).

Last edited by Tsomi; 09-08-2010 at 10:06 AM.
 
1 members found this post helpful.
Old 09-08-2010, 10:08 AM   #4
harryhaller
Member
 
Registered: Sep 2004
Location: Brussels, Belgium
Distribution: Slackware
Posts: 313

Original Poster
Rep: Reputation: Disabled
Thanks Tsomi. Yes, it does look more complicated than I at first thought. I'll look at the patches:
 
  


Reply

Tags
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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cgi-bin program JATA01 Linux - Software 9 12-10-2008 09:25 AM
Change /bin/login? licht Linux - General 10 06-27-2007 12:04 AM
/bin/login smartentity Linux - Security 2 08-07-2005 11:20 PM
uninstall bin program Santas Linux - Software 3 05-22-2004 04:03 PM
how do you install a .bin program? thinguy10 Linux - Software 3 01-20-2002 10:32 PM


All times are GMT -5. The time now is 09:39 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration