BAD PASSWORD: it is based on a dictionary word

 
Thread Tools Search this Thread
Homework and Emergencies Emergency UNIX and Linux Support BAD PASSWORD: it is based on a dictionary word
# 1  
Old 01-08-2013
BAD PASSWORD: it is based on a dictionary word

hi all,

i am trying to change the password of a user as the same is used in
various deployment scripts but when chnaging the passowrd to desired one by root user i am getting as below

Code:
Changing password for user tcms.
New UNIX password:
BAD PASSWORD: it is based on a dictionary word
Retype new UNIX password:
passwd: all authentication tokens updated successfully.

it is showing as all authentication tokens updated successfully but when i am using the password it is showin incorrect.

i want to use same paaswd even if its a weak passwd and i am changing it by root user , also machine is

Linux cbl00504dat01 2.6.18-238.el5 #1 SMP Tue Jan 4 15:41:11 EST 2011 x86_64 x86_64 x86_64 GNU/Linux

pls help with this urgently

---------- Post updated at 07:03 AM ---------- Previous update was at 06:51 AM ----------

i have removed and commented some lines in file
/etc/pam.d/system-auth
coomented first line and removed use_authtok from 2nd lines in below two lines

1 password requisite pam_cracklib.so try_first_pass retry=3
2 password sufficient pam_unix.so md5 shadow nullok try_first_pass use_authtok

after dis it is not giving BAD passwd error, but i am unable to login for that user even after changing the passwd
# 2  
Old 01-08-2013
In all computer stuff, you can pretty much do anything, but you must ask yourself: Should you?
# 3  
Old 01-08-2013
It's interesting that it rejects that password because it is literally able to crack it in three tries, yes...
# 4  
Old 01-08-2013
'Root'? Smilie
# 5  
Old 01-09-2013
actually that user was locked that why it was showing incorrect password even after changing with root user. any ways i unlocked it with faillog command.
This User Gave Thanks to Jcpratap For This Post:
# 6  
Old 01-10-2013
If a password is hardcoded in, and probably should not age, then it should be a robust, random one.
# 7  
Old 01-10-2013
You need to remove (or comment out) the pam_cracklib line in the appropriate PAM configuration file. This is probably /etc/pam.d/system-auth but I could be wrong as I am not sitting in front of a Red Hat system at the moment.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Replace a word based upon the file content

I have a file which contains timestamp and date in the second column. If the line contains one of the word then it need to be replace like below. Any help is appreciated. File: a smallint b timestamp c date d varchar O/P: a smallint ... (1 Reply)
Discussion started by: JoshvaPeter
1 Replies

2. UNIX for Advanced & Expert Users

Sort words based on word count on each line

Hi Folks :) I have a .txt file with thousands of words. I'm trying to sort the lines in order based on number of words per line. Example from: word word word word word word word word word word word word word word word word to desired output: word (2 Replies)
Discussion started by: martinsmith
2 Replies

3. Shell Programming and Scripting

Merge mutiple lines into one based on if the first word is some particular value

Hi, trying to knock something together to create one line entries based on whether the first word on each line matches a particular value. eg. Link,"Name=""Something\something"","Timeout=""1800""", "Target=""\\thing\thing\thing""","State=""ONLINE""",something,... (0 Replies)
Discussion started by: adamdb
0 Replies

4. Shell Programming and Scripting

Expect scripting telnet stop on bad username or password

I am trying to build and expect script to log into multiple aix boxes and change password. I need for the script to terminate if it cannot log into a server because the username or password is wrong. #!/usr/bin/expect set timeout 1 set host set user set password set uh "Unknown host" set... (3 Replies)
Discussion started by: leemalloy
3 Replies

5. Shell Programming and Scripting

tcl/expect magic ssh dictionary password

Hi gurus, I am trying to do some expect/TCL magic. My goal is to write some kind of password guessing script (nearly similar to dictionary attack against ssh). I read that this could be possible with expect/TCL, I am newbie in this language, its function and its terms so please be patient ;) ... (3 Replies)
Discussion started by: wakatana
3 Replies

6. Shell Programming and Scripting

Grepping word based on white space.....

Hi, I am having a text file with following contents: word word I want to grep the first line i.e. word that is being preceded with three space characters. So i tried sed -n '/ {3}/p' filename grep " {3}" filename But is not returning any result. If i don't use {}, then it... (5 Replies)
Discussion started by: sarbjit
5 Replies

7. Programming

How to create java based dictionary for mobile using data in microsoft excel?

i am having a ms excel file which contains 2 columns, I first column i added words, and in second column meaning to the word in the first column. I want to create a dictionary for mobile like nokia or any java based application running mobile. How it can be created as i, dont know the java... (1 Reply)
Discussion started by: Anna Hussie
1 Replies

8. Shell Programming and Scripting

How to fetch rows based on line numbers or based on the beginning of a word?

I have a file which will have rows like shown below, ST*820*316054716 RMR*IV*11333331009*PO*40.31 REF*IV*22234441009*xsss471-2762 DTM*003*091016 ENT*000006 RMR*IV*2222234444*PO*239.91 REF*IV*1234445451009*LJhjlkhkj471-2762 </SPAN> DTM*003* 091016 RMR*IV*2223344441009*PO*40.31... (18 Replies)
Discussion started by: Muthuraj K
18 Replies

9. Shell Programming and Scripting

Manipulating word based off of contents

Hello everyone, my first post here, please feel free to inform me if my question can be better formatted so my future posts may be more clear. I have a large text file which I need parsed in one specific way, I have done the rest of the processing, I am simply lacking the last aspect of such. ... (8 Replies)
Discussion started by: ryanfx
8 Replies

10. UNIX for Dummies Questions & Answers

How to find function name based on word search

Hi All, I want to find out function name based on word. Here i ll give u one example I have several files based on below format. file will start and ends with same name only EX: file1.txt public function calculate1() { ---- ---- call Global Function1() ---- ---- } END... (9 Replies)
Discussion started by: spc432
9 Replies
Login or Register to Ask a Question