Re: login.c

2001-04-24 Thread Jamie Heckford

Thanks for your help - worked a treat :)

Jamie

On 2001.04.24 15:15 Thomas Quinot wrote:
> Le 2001-04-24, Jamie Heckford écrivait :
> 
> > Noticed getpass() is in libc, is there a definition somewhere
> > else that would prevent me from changing the Password: prompt?
> 
> Try /usr/src/lib/libpam/modules/pam_unix/pam_unix.c.
> 
> Thomas.
> 
> -- 
> [EMAIL PROTECTED]
> 
> 
-- 
Jamie Heckford
Network Operations Manager
Psi-Domain - Innovative Linux Solutions. Ask Us How.

FreeBSD - The power to serve

Join our mailing list and stay informed by emailing
[EMAIL PROTECTED]

=
email:  [EMAIL PROTECTED]
web:http://www.psi-domain.co.uk/

tel:+44 (0)1737 789 246
fax:+44 (0)1737 789 245
mobile: +44 (0)7866 724 224 

=


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: login.c

2001-04-24 Thread David Malone

On Tue, Apr 24, 2001 at 04:03:32PM +0100, Jamie Heckford wrote:
> Noticed getpass() is in libc, is there a definition somewhere
> else that would prevent me from changing the Password: prompt?

Login probably uses pam to get and check the password. You could
try recompiling the pam_unix.c module after changing the PASSWORD_PROMPT
at the top of the file.

David.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: login.c

2001-04-24 Thread Thomas Quinot

Le 2001-04-24, Jamie Heckford écrivait :

> Noticed getpass() is in libc, is there a definition somewhere
> else that would prevent me from changing the Password: prompt?

Try /usr/src/lib/libpam/modules/pam_unix/pam_unix.c.

Thomas.

-- 
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



login.c

2001-04-24 Thread Jamie Heckford

Hello,

Sorry - am slightly new to C programming, so I apologise of
this is the wrong place.

Having a bit of a hack at login.c, made a few custom mods
for my company one of which being changing the

login:

and 

Password:

prompts.

Have succesfully changed the login: message to something
else, but the Password:  prompt seems to be unchangable.

Noticed getpass() is in libc, is there a definition somewhere
else that would prevent me from changing the Password: prompt?

A kick in the right direction would be appreciated :)

Thanks in Advance,

-- 
Jamie Heckford
Network Operations Manager
Psi-Domain - Innovative Linux Solutions. Ask Us How.

FreeBSD - The power to serve

Join our mailing list and stay informed by emailing
[EMAIL PROTECTED]

=
email:  [EMAIL PROTECTED]
web:http://www.psi-domain.co.uk/

tel:+44 (0)1737 789 246
fax:+44 (0)1737 789 245
mobile: +44 (0)7866 724 224 

=


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message