LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-17-2009, 09:57 PM   #1
tanveer
Member
 
Registered: Feb 2004
Location: e@rth
Distribution: RHEL-3/4/5,Gloria,opensolaris
Posts: 525

Rep: Reputation: 39
User friendly message to user on password changing


Dear all,

I am putting some policy regarding password in one of my server.
Modifications are done in /etc/pam.d/system-auth file which is
a. remember last 2 passwords
b. must be of 8 chars with 1 uppercase, one special char, one digit must

Now what I am looking for is how to change the message linux prompts when user is not proceeding as policy set like if user gives his last password when changing his password then linux gives only a line saying "your password is remembered" which I want to change to something more user friendly. Also same for choosing password.

Waiting for your help on this.

Thanks.
 
Old 02-18-2009, 02:44 AM   #2
kenneho
Member
 
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 657

Rep: Reputation: 40
I'd like to know the answer to this myself, so please post back here when you find the answer.
 
Old 02-24-2009, 07:56 AM   #3
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
I suspect they are compiled into passwd:
Code:
strings `which passwd` |less
strings `which passwd` |grep 'password' |less
or some other tool. -- Note: "remembered" is not one of the strings I found in the unidentified ver. of passwd on my MEPIS 7 box.

Identify the tool giving the msg., & you can then decide if you need to recompile it w/ friendlier msgs., or if there is a msgs. file that you can alter.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing password for user r_senthil28 LinuxQuestions.org Member Intro 1 08-27-2008 08:30 AM
Trouble Creating User/ Changing Password beantier Linux - Newbie 19 04-09-2008 09:42 AM
Linux user friendly distribution for exWindows user admmoon Linux - Distributions 6 06-13-2007 02:19 AM
changing user, root, password! itz2000 Linux - Newbie 3 11-19-2005 03:31 AM
changing the password of a user sadiboyz Linux - Newbie 2 04-21-2003 02:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:47 AM.

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