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

Re: Configuration for login prompt



On Mon, Jan 08, 2001 at 10:02:50PM +0100, Frederik Vanrenterghem wrote:
> Hi all,
> 
> which file(s) should I look at to solve the following problem: when I
> login through ssh, I get a welcome screen, starting with last login, but
> also ending with that information, which looks something like this:
> 
> Last login: Mon Jan  8 15:55:20 2001 from
> ace.ulyssis.student.kuleuven.ac.be on pts/9
> <snip>
> No mail.
> Last login: Mon Jan  8 22:00:36 2001 from
> ace.ulyssis.student.kuleuven.ac.be
> 
> This last line shouldn't be there, but I don't really know where to
> look...

add this to /etc/ssh/sshd_config:

## since these are likely to be being handled by PAM, switch them off here
PrintMotd no
CheckMail no
PrintLastLog no

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgpz4547DR4OU.pgp
Description: PGP signature


Reply to: