Debian :: How Does Detect A Wrapped Version Of An Old Password
Jan 18, 2011
When I was changing my password with the "passwd" command in Debian Lenny, after the confirmation, I received the following message: Bad: new password is just a wrapped version of the old one
I know the passwords are not saved in clear text, but hashes. Even further, when a single char changes in the string (the password in this case) the hash is completely different. So, how does linux detect a wrapped version of an old password?
I considered making my system run the following if an incorrect password is entered 10 times in a row or a specific dead-password is entered.Code:shred /home/.ecryptfs/$USER/.ecryptfs/wrapped-passphrase.Because ext4 doesn't journal the contents of the file, only the metadata, the file would be shredded and it would be impossible to recover the encrypted home folder even with the password.Is there a simple way I could make GDM check this or would I have to patch and recompile GDM for something like this to work?
I've installed Squeeze 2.6.32-5-amd64 on my laptop (Alienware M17X R3, Intel i7 Sandybridge, ATI Technologies Inc Broadway [ATI Mobility Radeon HD 6800 Series])The screen is 17", with maximum resolution of 1920 x 1080. After a default install of the operating system, the maximum resolution I can select is 1280 x 1024.My research so far has suggested that I need to edit the /etc/X11/xorg.conf file and provide xorg with the necessary resolution.
Again, by default, the xorg.conf file is not created. This leads me to believe that xorg is scanning my hardware at startup and providing me with whatever it thinks is appropriate. I tried following these instructions to generate an xorg.conf file. This process created an xorg.conf file under /root/.
When I copy this xorg.conf file to /etc/X11, I get a blank (i.e. black) screen. Deleting this file restores the default resolution 1280 x 1024.This system is dual booting with Windows 7. Under windows I am able to get a 1920 x 1080 resolution, so I know my hardware is up to it.At this stage I have yet to install the drivers for the Radeon graphics card.What are my options regarding configuring xorg to give me a higher screen resolution?
How to detect intrusion in my desktop ubunta 9.10 version ? which command that could direct tell me about any change in my files ? I would like the procedures that protect my system from intrusion , i am using firestarter and keep tracing the network by using netsta -tap ?
I'm having a problem with sed syntax. So far I can sed the HiResBoundingBox to capture the images I want and output to pdf. But now ever so often I get an illustrator file that has hexadecimal values at the start and end of the file. Imagemagick powers through this and still creates the rastorized previews I want but the gs dies using the epstopdf script to output the vector files. If I hand remove the hex on both ends of the file, both functions work fine and the file can still be managed in illustrator but if I resave it the hex comes back. It only happens on a few files plus it seems to serve no purpose as the files work perfectly without it. I cannot get the sed statement to work. I've tried a blue million variations with no luck. Copied some that I found, same result.
Start of bad eps file: ADOĆ ^@^@^@5O ^@^@^@^@^@^@^@^@^@UO ^@im^K^@yy^@^@%!PS-Adobe-3.1 EPSF-3.0^M
The way I need it to look: %!PS-Adobe-3.1 EPSF-3.0^M End of file the same: %AI9_PrivateDataEnd^M @ @ just needs to be: %AI9_PrivateDataEnd^M Tried sed -n '/%/,$p' < = blank file sed -i 's/%/,$!d/g' = same sed 's/%/,$!d/g' = same sed 's/%/,$!d' = same
I can't seem to find any proper reference to this.
I'm a new programmer (a life-long desire, but at 40 just getting to it) and cutting my teeth with Python. I just found the popen2 module today. I was so excited because I could do this:
If you want to use another shell, substitute that shell for /bin/bash (e.g., /bin/sh for the shell portability purists out there). It is easy to modify what is returned as well. Don't like the tuple? Then just change it to return or even print stdout if you like.
I just added a nice little HDTV as a second display on my laptop, it worked fine but I found that the text was a bit hard to read so I decided to change it, got another one yesterday, just plugged it in and everything was perfect. Today I came back from work, plugged the laptop in the monitor, booted the machine, and got a wrapped display, the bottom part (about 1/4 of teh display) seem to be stuck with the content that was visible when I opened my session, and the top part is shifted up, making it totally useless.I took a picture of the display, you can see it here [URL]... I will try to see what happen if I put back the other display, but I really want to get working with the new one.
I installed debian squeeze on an old computer that I found. (Pentium 4 3.2GHz HT) I installed from the i386 version, but now the uname command shows that its an i686. I don't find many packages that I need using apt-get. Do I need to compile each package I need from source or use dpkg to install the deb of an i386 version?
Can I use the i386 version on this computer rather than the i686 version? Will it cause a signifncant performance decreaes? (I use this computer to mostly do some reading and writing and file storage, no gaming etc.) How do I force the installer to use the i386 version?
I've only seen this occur in cases where I'm viewing a GPG-signed message and a line wraps. A plus sign appears at the beginning of the next line. Is this something I can get rid of?
Sometimes a kernel image seems to have the same version as the backported kernel image, for example: linux-image-2.6.32-bpo.5-amd64 linux-image-2.6.32-5-amd64
I have an HP Compaq nx6235 Notebook, which was happily running Windows Vista Home Premium, until I finally got around to loading Linux openSUSE 11.1 from a DVD issued with a magazine last year. I now have a problem, because my Windows Vista has been wrapped up in the Linux partitioning system. I know it is located at dev/sda1 and that it is an HPFS/NTFS filetype, create a dual boot drive on my notebook, so that I can happily play with both systems. I am newbie, so the instructions should be as clear and simple as possible.
I got the fresh installation of Ubuntu 10.04 desktop version.But it asked for username and password to login. I didn't set any username and password.I tried tose ubuntu and blank.Try ubuntu - it still ask for username and password .Install ubuntu - it still ask for username and password .
I installed a command-line version of Ubuntu 10.04 using the Alternate CD. The machine was wiped, and I used most of the default settings.
I used a thirteen character user id which consisted of mixed case letters and numbers, and an eighteen character password that contains mixed case letters and numbers and a # sign.
When I rebooted, the command-line login would not accept my password. I assumed I had somehow made a mistake, and just wiped the machine again and reinstalled. This time I was very careful with the user name/pw.
Again, the command-line login did not accept my password!
On a hunch, I took an old Ubuntu 7.10 Alternate CD and erased the machine again. I installed a command-line version of Ubuntu. AGAIN --- it will not accept my password even though I'm 100% sure it is correct.
I have a new F12 install, and my syslog is filling up with messages about USB. I have 2 USB devices plugged in directly to the mobo (bluetooth keyboard receiver, touchscreen), and it keeps redetecting them and then disabling the port for some reason.
My driver is rt2870sta. I know it works because wicd can detect a WEP network, but it can't detect my WPA network despite me being right next to the hub. I consulted the wiki and have wpa_supplicant installed.
My /etc/network/interfaces file reads: # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5).
# The loopback network interface auto lo iface lo inet loopback I am added to the group netdev as well.
On an unrelated point, my other usb wifi adapter uses ath9k_htc, but it isn't included with the kernel. I thought it was supposed to be?
I have a laptop with a floppy drive, and it works fine in Windows, but I'm not sure how to use it under Linux. It does not show up in PCmanFM, like my USB-harddrive, but I do have a /dev/fd0, so I tried:sudo mount /dev/fd0 /mntand then it complains about the file system not being specified, so I dosudo mount -t vfat /dev/fd0 /mntbut to no avail.
I'm having an issue with the installation. I've downloaded the live ISO and put it on my USB. Everything appeared fine except for the wireless because it requires non-free firmware. The installation tells me that I can insert a USB device with the firmware on it, so I ran to a different computer to download it off the manufacturer's website and put it on the root of another USB.
However, when the installation tries to detect the firmware on the USB, it fails.
The installation is claiming to look for rt2561.bin. I have placed this in the root of the USB as well as the .zip file it came in and a .bz2 file for manual installation of the firmware. Unfortunately, I cannot install the firmware manually either because the system is missing various commands (make, etc.). I am assuming these would be installed automatically with an internet connection.
In the past i used OpenSUSE for a few months, in OpenSUSE all updates related to security labeled as "Security Update" like updates related to Firefox, unlike OpenSUSE in the Debian i did can't find a way to detect security updates.
The nouvea drivers work with some xrandr magic, but the closed-source drivers won't. They fail to detect a possible resolution over 640x480. My monitor has a native resolution of 1440x900 @ 60hz. I've tried to modify my xorg.conf, but to no avail. I installed the latest nvidia drivers from the site instead of the repo drivers, version: 260.19.29, this is my xorg.conf, basically a standard xorg file:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig # nvidia-xconfig: version 260.19.29 (buildmeister@swio-display-x86-rhel47-04.nvidia.com) Wed Dec 8 12:27:39 PST 2010 Section "ServerLayout"
I am trying to dual boot my system. MS Vista and Debian lenny 5.05. Installed Vista first, need vista for voice recognition software. Installed Lenny second but grub does not see Vista. Installed NTFS-g3 so I can read and write to /dev/sdc1 where my vista is. But grub still does not detect it. Installed grub2 and upgraded from legacy but still grub2 does not see the vista partition.
I recently installed fglrx proprietary drivers. Upon reboot, gnome stopped working - the classical "something has gone horribly wrong" message showed up. Surprised, i switched to KDE plasma display manager, and it worked flawlessly.So I opened up Konsole, and typed: gnome-shell --replace.I received this output:
Code: Select all(gnome-shell:3729): GLib-CRITICAL **: g_strsplit: assertion 'string != NULL' failed (gnome-shell:3729): Clutter-CRITICAL **: Unable to initialize Clutter: The OpenGL version could not be determined (gnome-shell:3729): mutter-ERROR **: Unable to initialize Clutter. Trace/breakpoint trap
which led me to think that gnome is not able anymore to detect my display driver. It is however working well: glxgears gives the usual values, and glxinfo does detect the correct driver.I thus searched the web for that error, and the only results that showed up were about changelogs / some obscure things.The xorg.conf seems perfect to me: pointing to the correct drivers, and having the correct values.I am having Debian Jessie with an r9 290x on the proprietary Omega drivers.
I just purchased a Logitech ClearChat Comfort USB Headset. It works fine in Windows but unfortunately the same can't be said for Linux. It doesn't even seem to be detected as when I use the command cat /proc/bus/input/devices I get
I checked Volume control and I have Headphone checked, and in switched Headphone is also checked. Actually... Maybe it is being detected... In the Device dropdown menu in Volume control I see "Logitech USB Headset". I checked that and the volume is turned up, speaker and microphone are selected in preferences... Sound is still coming out of my monitor's speakers though.
Debian Jessie does not detect one of my monitors (I have two) when I use the default drivers (nouveau) for my NVIDIA graphics card. It does work when I install the proprietary drivers, but then, after a couple of reboots, I get many problems (when I log in, it does not manage to load the desktop environment). I've tried this a couple of times unsuccessfully.
How to make the machine recognize the dual screen with the default drivers?
I'm installing Debian 5.0.8 on a Dell Latitude E6410 using the network install x86 CD.
Unfortunately, it won't detect my Ethernet adapter. Specifically, I get the error: No Ethernet card was detected. If you know the name of the driver needed by your Ethernet card, you can select it from the list.
That should correspond to the e1000e driver. But, if I select it from the list, the install CD still fails to detect it.
Ubuntu 10.10 and Windows 7 are able to use this device with no problem.
Does anybody know what I can do to make Debian use/recognize my ethernet adapter?
Edit: Additional Info:
I think this is an Intel 82577LM Gigabit Ethernet chipset. If I switch from the graphical installer to the console and run lsmod, I see e1000e with a use count of 0.