LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 05-22-2009, 04:42 AM   #1
camry
LQ Newbie
 
Registered: May 2008
Posts: 27

Rep: Reputation: 15
changing warning mesage or emailing it


Hi friends
I have a small problem I want to take you opinion in it, I did a password restriction for all users in my server using PAM modules cracklib and using chage command, Now I found that the warning message that appeared to people is not striking enough to people, So I want to change it by big one or email it to people, I know the issue of emailing it may be some hard, for that I pointing to the easy way by changing the password expiration warning message itself, Can any one help me in that.
Thanks
 
Old 05-22-2009, 05:06 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
You can use
/etc/issue and /etc/issue.net
 
Old 05-22-2009, 06:54 AM   #3
camry
LQ Newbie
 
Registered: May 2008
Posts: 27

Original Poster
Rep: Reputation: 15
Thanks for your reply
As I know issue and issue.net are using to put messages before login
But How can I use issue or issue.net just in case of password expiration warning ?
 
Old 05-22-2009, 07:06 AM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Perhaps this will help
http://www.thegeekstuff.com/2009/04/...ion-and-aging/
 
Old 05-22-2009, 08:20 AM   #5
camry
LQ Newbie
 
Registered: May 2008
Posts: 27

Original Poster
Rep: Reputation: 15
Thanks so much dear
But if you note you will find me asking the same question in the comments before in the same article
 
Old 05-22-2009, 12:27 PM   #6
camry
LQ Newbie
 
Registered: May 2008
Posts: 27

Original Poster
Rep: Reputation: 15
I found that the sentence that used to warning for pasword expiration found in
/usr/share/locale/de/LC_MESSEGES/Linux-PAM.mo
/usr/share/locale/cs/LC_MESSEGES/Linux-PAM.mo
"Warning: your password will expire"
I changed them by hand make it like that for example
################Warning: your password will expire in...##################################

But still give me te same when it expired !!!!!
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing unwanted header line(s) from a mesage Toadman Linux - Software 8 03-05-2007 07:51 PM
dmesg throws up error mesage Steve50 Slackware 1 10-04-2006 03:04 PM
I get this strange mesage what does that means ?? turalo Fedora 1 12-21-2005 08:53 PM
Problems with configs: error mesage Punkduplo Red Hat 2 10-31-2003 12:59 PM
Warning about changing partitions skewer Linux - General 1 08-03-2003 04:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:30 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration