[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: source code for /bin/login?



On Thu, Nov 12, 1998 at 02:09:33PM -0500, John B. Fink wrote:
> 
> Hi folks,
> 
> Due to an extreme amount of idiocy at the place where I work, I have need
> to modify the /bin/login program so that instead of displaying this --
> 
> adler login:
> 
> it will display this --
> 
> login:
> 
> [snipped]

If you make the changes, how about adding the option to login.defs, and
forwarding the changes upstream?  That would be most cool...

You can find out where to find source code for a given package like this:

$ dpkg --status login

Package: login
Essential: yes
Status: install ok installed
Priority: required
Section: base
Installed-Size: 153
Maintainer: Guy Maor <maor@debian.org>
Source: shadow
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is what you want
Version: 980403-0.3
Replaces: shadow-login, shadow-passwd
Pre-Depends: libc6
Conflicts: shadow-login
Conffiles:
 /etc/login.defs 8f524e3b2937d29b4cc54fcfae9f4155
 /etc/login.access d30c542d565436bd5333a80466d5ccf8
 /etc/securetty 2561f31ce2a1b00b28cacf3e9ad54734
 /etc/porttime 5b19db99247a9275bd94a6c8e2140b52
 /etc/limits 9d253c5f92441741739064c5bf92ef6f
 /etc/init.d/logoutd 48a23db21d84dc9ea7f4f3f9adf97da2
Description: Sign on to the system.
 login and newgrp change the user and group.


Regards,

Jeff


Reply to: