Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to show if i got any email on login (tried pam)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
warer
n00b
n00b


Joined: 26 Oct 2002
Posts: 38

PostPosted: Thu Nov 07, 2002 8:50 pm    Post subject: how to show if i got any email on login (tried pam) Reply with quote

I just installed postfix, it worked afther some trouble. but now i want the computer to tell me if i got any email when i login.
I tried adding:
session optional pam_mail.so standard noenv
in /etc/pam.d/sshd

but when i log in with ssh nothing changes. I tried to restart sshd. but still no change. any ideas?? reboot is NOT an option.
Back to top
View user's profile Send private message
fyerk
Apprentice
Apprentice


Joined: 17 Sep 2002
Posts: 212
Location: Atlanta, GA

PostPosted: Thu Nov 07, 2002 9:01 pm    Post subject: Reply with quote

Try setting UseLogin to yes in your sshd_config file.
_________________
-David
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum