General :: Error - BAD PASSWORD: It Does Not Contain Enough DIFFERENT Characters

Oct 29, 2010

I'm trying to change the password for an account using the passwd command in Linux. However I'm getting the error:

"BAD PASSWORD: it does not contain enough DIFFERENT characters"

Even though the passwords I'm trying seem pretty safe and complicated enough to me. I googled and think this is controlled by something called cracklib? Don't know for sure though. How can I change the settings for this, perhaps lowering the amount of different characters required, or disabling whatever security setting is causing this error?

View 4 Replies


ADVERTISEMENT

OpenSUSE Install :: Change Password But When Type In The New Password Get This "The Password Is Longer Than 8 Characters?

Jan 8, 2010

hello i am trying to change my password, but when i type in the new password i get this:"The password is longer than 8 characters. On some systems, this can cause problems. You can truncate the password to 8 characters, or leave it as it is."my question is what kind of problem could i get and how can i change so i have to log in every time i start the computer?

View 9 Replies View Related

General :: Setting The Password To Only Three Characters?

Feb 7, 2010

In Ubuntu 9.10 is there a way of setting the password to only three characters.If one goes to system, Preferences, About Me, the password can be reset, but it only lets you set it to eight characters, I would prefer three or less.

View 5 Replies View Related

Ubuntu :: Change Root Password - Typing A Password, No Characters Show Up?

Mar 9, 2010

I'm really new to Linux so this will probably sound like a pretty naive question to most users, but how do you change the root password?To install Java, I have to type # su into Terminal,which then asks for the password.What's weird is that when I start typing a password, no characters show up. I don't know if this is supposed to happen or not.I've found a bunch of different sites on the Internet that explain how to change the root password, but none of them seem to work for my specific work station.

I've got Ubuntu 9.10 64 bit. In the GRUB boot menu, I can choose to boot normal or in recovery mode (I'm led to believe older versions don't have this option).I've tried typing # sudo passwrd into Terminal, but I already have a root password set up apparently, so I can't change it there.

View 4 Replies View Related

Software :: Password Management - The Password Length Must Be At Least 16 Characters Long

Feb 23, 2010

I have a requirement to set up linux system administrator password with respect to below guidelines... I was lookin at pam_passwdqc but not sure that it all the below mentioned criterias to be acheieved.. Please go thru the below criteria and let me know which utility should i use for it.

1 The password length must be at least 16 characters long.
2 The password must be different from the previous 20 passwords.# Not sure how to acheieve this
3 The password must be changed every 60 days.
4 The password must be different from the user ID. It must not contain any derivatives of the User ID. ]# Not sure how to acheieve this
5 The password must contain characters from 3 of the following 4 classes:

5.1 Upper Case
5.2 Lower Case
5.3 Numerals
5.4 Special Characters (for example: #, $, &, ].....)

View 1 Replies View Related

General :: Sed Error - Extra Characters After Command

Aug 3, 2011

sed '/
$/ {N s/
//}'
sed: -e expression #1, char 10: extra characters after command

I want to understand what is wrong with my command line. When I can do the some of following in a script but not in a command line. I have been working through the tutorial at [URL]. When I got stuck at the section Working with Multiple Lines. These script works fine.

#!/bin/sh
sed '
# look for a "#" at the end of the line
/#$/ {
# Found one - now read in the next line
N
# delete the "#" and the new line character,
s/#
//
}' file

In my case I am looking for or return ^M.
#!/bin/sh
sed '
# look for a "#" at the end of the line
/
$/ {
# Found one - now read in the next line
N
# delete the "#" and the new line character,
s/
//
}' file

The problem is when I try to convert it to a single line shell command it gives me an errors.
sed '/
$/ {N s/
//}'
sed: -e expression #1, char 10: extra characters after command
sed '/
$/{N s/
//}'
sed: -e expression #1, char 9: extra characters after command
sed '/
$/{Ns/
//}'
sed: -e expression #1, char 8: extra characters after command

I want to understand what is wrong with my command line. When I can do the following in a script but not in a command line. I have created a sed script to do the work I want.
cat test.sed
#!/bin/sed -f
/
$/ {
N
s/
//
}

View 1 Replies View Related

General :: Does Non-printing Characters Escape Characters Still Needed For PS1 Definition?

Aug 28, 2011

While modifying the definition of my PS1, I saw that "[" and "]" markers should be added to help bash to compute the right display lenght. Many exemples on the web do not use them or even mention them.I searched for a solution to add them automatically, like with sed, but I didn't find any example.Are they still needed and is there a recommandation not to use sed to define PS1?

View 1 Replies View Related

Ubuntu Security :: Password Characters And Length

Mar 24, 2010

I need a little insight, and I�m not sure if the two can relate, but I am trying to find out the following.
When generating WEP Keys the available bits are: 64/128/152/256; however, you need 5/13/16/29 character respectfully for each key if you generate the key manually.Can this formula be applied to passwords and the length of the password? For example: if my password had 29 characters, could I say that my password is 256-bits?

View 9 Replies View Related

Security :: Force Password To 15 Characters On A Selected Accounts?

Apr 5, 2010

I would like to restrict a few selected accounts to minimum of 15 characters passwords. Other accounts,however, should still be able to login with 8 character passwords. This is in RHEL 5. Does anyone know how to go about it? I have checked PAM documentation and pam_cracklib.so has an option minlen. As per its documentation, minlen can force users to use 15 characters, but it forces every account on the system. I might be wrong too.

View 5 Replies View Related

Ubuntu :: 10.04 Get 4 Characters Entered In The First Password Field And It Freezes?

May 4, 2010

This is mostly an FYI. I have been messing around with an old desktop to see what I could do.

I installed an image of XP, then tried installing Ubuntu. I chose the option to install along side XP, and adjusted the partition size. The install gets to the point where I create my password, and I get exactly 4 characters entered in the first password field and it freezes. It did the same thing on two consecutive installation attempts.

View 4 Replies View Related

Ubuntu Networking :: Can't Connect To Wifi Unless The Password Is Atleast 8 Characters Long?

Jan 20, 2011

When I need to type in the password to get on a wifi network, the "connect" button is grayed out and unclickable until I've typed in 8 characters for the password, making it impossible to connect to networks with shorter passwords. I'm not sure if this problem is unique to 10.10 or not, I've been using linux for a couple years now and I've never tried to connect to a network with such a short password before until last weekend, after my friend figured out how to change his password from the one his ISP set for him.

I'm running Xubuntu 10.10 on an IBM T42 laptop, here's the relevant hardware from the lspci command, 02:01.0 Ethernet controller: Intel Corporation 82540EP Gigabit Ethernet Controller (Mobile) (rev 03) 02:02.0 Network controller: Intel Corporation PRO/Wireless LAN 2100 3B Mini PCI Adapter (rev 04)

View 4 Replies View Related

Ubuntu :: Delete All ASCII Characters In File - Leave Chinese Characters Only

Jul 8, 2011

What command could I use in terminal to delete all ASCII characters? That is, delete a-z, A-Z, 0-9, and all punctuation? I have a file containing Chinese characters, and I want to remove everything else and leave just the Chinese.

I can use grep to leave only the lines that have Chinese in them, but this still leaves a lot of non-Chinese stuff on those lines. Does anyone know how I could actually remove everything that isn't Chinese?

View 4 Replies View Related

OpenSUSE :: Error After Upgrading - OS Does Not Recognize Many Characters At Many Places

Aug 3, 2011

I upgraded my openSUSE 11.2 to openSUSE 11.4 . Unfortunately after the upgrade the OS does not recognize many characters at many places . For eg :- In YaST , everything is square boxes as if the character set weren't present . Moreover , every theme has same font at every place i.e. Sans Serif . After the upgrade, the graphics have become worse . I'm using KDE environment . Hardware is : Core i5/4GB .

View 1 Replies View Related

OpenSUSE :: UTF-8 Characters On Vi / Can't Handle Those Characters Properly

Jun 16, 2010

I have my OpenSuse 11.1 box set up with utf-8, however, every time I try to open a file with utf-8 characters with vi it can't handle those characters properly.

View 6 Replies View Related

General :: Why Does VNC Eat Certain Characters?

Dec 29, 2010

I often use VNC to connect to my desktop upstairs using a laptop downstairs over my home network. I tunnel the VNC connection via SSH. The problem I keep running into is that I'll attempt to type a ! or a : or even a captial A and it will come across the wire as a 1, ;, or a respectively. Is this something I can fix? It's really REALLY annoying while one is programming to have to pop open character map and find a colon and copy/paste it in each time. Running Ubuntu 10.04 upstairs, Linux Mint 10 downstairs.

View 1 Replies View Related

General :: "Login Incorrect" Error After Boot - No Password Prompted

May 17, 2011

I have built a linux image based on kernel 2.6.32.10. The image boots up fine & at the login prompt when I enter the login Id - the
system doesnt prompt for password - instead throws an error message "Login incorrect".

mygway login: admin
Login incorrect
login: root
Login incorrect

From all the search I did, I narrowed this down to be a pam configuration issue. I checked that the /etc/securetty has an entry "/dev/ttyS0" to allow root to logon via serial console - so I ruled out this file to be a cause for that error. Few files that I am not entirely sure are as below:

1) /etc/pam.d/login
sudo cat login
#%PAM-1.0

[code]....

View 5 Replies View Related

General :: Error Message "the Password Is Incorrect"

Jul 24, 2010

i downloaded alinux 14.0 and when i restarted my pc to install it,it asked for login and password and i tried many and many of them but it always give the same message "the password is incorrect"

View 2 Replies View Related

General :: Password/shadow Or Group/gshadow Mismatch - Error "user Database Cannot Be Read"

Aug 6, 2010

I'm running RHEL 5. When using the GUI System>Administration>Users and Groups, I get the error: The user database cannot be read. This problem is most likely caused by a mismatch between /etc/passwd and /etc/shadow or /etc/group and /etc/gshadow. The program will exit now.

Some research showed that I need to use vipw and vigr respectively to find an inconsistency between these two sets, which I did - to make it easy I copied each from [vipw | vigr] to an excel file and did =exact(%1, %2). There are no inconsistencies.

[Code]...

View 1 Replies View Related

General :: How To Exclude Last Several Characters?

Aug 17, 2010

any tips from you guys on how to filter my awk output?I want to exclude last 5 characters using awk in my tcpdump result.I don't want to include ".443:" in my tcpdump using awk.

View 6 Replies View Related

General :: How To Put Some Characters On The End Of A Line

Nov 1, 2010

We have a list of cyclones in the world. Now i got to check whether or not the second field is more than 1000 mm. If so, than the line has to have a[*] at the end of the line. For exemple:

Australia:1411:55.55:Mackay Cyclone 1918:1918:Mackay
to
Australia:1411:55.55:Mackay Cyclone 1918:1918:Mackay[*]

I also have to use a substitute. So far i've got this but it fails, 6,$s/([0-9])111:1/.* [*]

View 7 Replies View Related

General :: Characters For Usernames

Nov 4, 2010

How many characters does Linux recognize on usernames?

View 2 Replies View Related

General :: Keep Last 'n' Characters Of A Specified Field?

Apr 4, 2010

The input file consists of several fields. The first field is always five or more characters long. I want to keep the last five characters of the first field.

Example:
If the input file record is FEDERAL PACIFIC ELECTRIC PRODUCTS then I want to keep DERAL I can do this in four steps by using C, REV, C, and REV again but that seems like doing an easy thing the hard way. Is there a straightforward way to achieve this result with C or some other command?

View 14 Replies View Related

General :: Get The Lines With Only Five Characters?

Nov 2, 2010

I have a file with a random word on each line (3k+ lines). How can I get the lines with only five characters? I tried using grep file | more, but it returns all the words (even those less than 5 characters).

Edit: I also tried grep '.{5}' file | more but it doesn't show anything. And grep '.{5}' file | more returns all lines with four or more characters (I'm really confused about why it's doing this).

View 4 Replies View Related

General :: Sed - Match Even Characters Only?

Sep 3, 2010

Say I had a string like so

Let's say I only wanted to grab TAC and BDX the ones in the 2nd, 4th, and 6th spot.

Will grab the lines from the rest of the file assuming these are the only lines with capital letters at the very beginning of each line.

Will delete the first 'T'. What I want to do is learn how to just pick the even characters, T(T)A(A)C(C) & B(B)D(D)X(X).

Is there something like the {1} which can pick just the even or odd character matches?

View 3 Replies View Related

General :: Mail Server : Reset The Password For It Using The Password Command From The Root Login?

Jul 23, 2009

I am an absolute Linux Beginner who is being required to do a bit of admin work because the boss just fired the old linux admin. Unfortunately, one of our employees cannot remember her password to her email account and as such I need to reset it on our linux server.What I want to check is that this email account is actually a linux user account and I simply will reset the password for it using the passwd command from the root login. Is that correct?

View 1 Replies View Related

General :: Start Truecrypt Automatically And Use The Same Password As Login Password?

Sep 13, 2009

Ubuntu 8.4 Just installed Truecrypt yesterday. Would like to be able to start Truecrypt automatically and use the same password as my login password.

View 1 Replies View Related

General :: Reset Password Or Bypass 'username/password Log On Screen'

Jun 4, 2011

brand new 2 Ubantu & set up standard Ubantu compartment accessed via 1 user name only and password. 1st few times all good but now suddenly, unexpectedly password declared invalid. Had written down password so it is correct & not entry error. Not know how to reset password or bypass 'username/password log on screen' Am on an Acer 5542G with windows 7 home premium.

View 3 Replies View Related

General :: Add Characters To Several Lines In A File?

Apr 17, 2009

I would like to modify the content of a text file in Linux, in the following way:=> the file has several of these lines:./run_pest3 ./g134366.04080_0.062 x 2_d043 1 0.43 results_EC=> I want to modify all lines to be:./run_pest3 ./g134366.04080_0.062 x 2_d043 1 0.43 results_EC0.062i.e., the last number of $2 should be "attached" to the end of $7, for each line.

View 5 Replies View Related

General :: Remapping Characters In Xmodmap?

Jun 9, 2010

I am using a Swedish keyboard, and I want to be able to type braces easier.

I planned to map AltGr + to '}' and AltGr + to '{'. However, nothing really changes. I have some other stuff in my .Xmodmap so I know that it gets loaded allright. Here's what I have so far:

keycode 35 = slash asciitilde dead_ogonek section dead_ogonek section
keycode 49 = asciicircum onehalf
keycode 66 = F10
clear Lock

[Code]....

View 1 Replies View Related

General :: Moving Characters To The End Of Line (EOL) With SED?

Sep 13, 2010

Any time the word The appears at the beginning of a line, I want to move it to the end of the line and capitalize the new first word in the line. For example, The heaven becomes Heaven the. I'm trying to test this out for my Library.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved