The tag has no wiki summary.

learn more… | top users | synonyms

-2
votes
1answer
44 views

Understanding linux /etc/shadow file structure (Linux) [closed]

Consider the following line taken from /etc/shadow file: root:$1$NFEf74q.$bmukkxAq9dOMJINgEtP7u0:15258:0::::: From this I understand that the hashing algorithm is md5 ($1) and starting from third $ ...
1
vote
2answers
163 views

Migrate user and passwords to new linux box

I am trying to migrate old Centos 4.3 box to Centos 7. I have followed the migration steps from an article published way long back on ...
1
vote
1answer
70 views

Check all debian binaries against the checksum of the original

I would like to check all binaries on my server against dpkg -e <path_to_deb_package> <destination> (for example rkhunter could do this check against the originals when doing ...
18
votes
1answer
1k views

Why are md5 passwords hashed differently?

I've been wondering for a while, why does running "echo 'helloworld' | openssl passwd -1 -stdin" yield different results every time?If I put any of the hashes in my /etc/shadow I can use them as my ...
-1
votes
1answer
106 views

MD5 for Git's git-credential-osxkeychain executable? [closed]

This question copied over from Super-User, where it was apparently unwelcome. Anyway, asked and answered: I'm setting up a GitHub account and have downloaded Git's git-credential-osxkeychain ...
3
votes
3answers
2k views

vsftpd will not accept passwords encrypted with MD5

I am setting up an server with vsftpd to let virtual users access their space. Now it is fully working but only with CRYPT passwords. sudo htpasswd -c /etc/vsftpd/ftpd.passwd phpmyadmin Will not ...
0
votes
2answers
971 views

Moving a 13 gig file over sFTP (md5sum fails)

Each time I download a big file over sftp, the md5sum on the source machine doesn't match the md5sum I do on the destination machine. I have a 13gig file on an Ubuntu 12.04 machine with ...
2
votes
1answer
220 views

debsum and actual md5

I have discovered that debsum maybe does not work as i thought. I ran debsum -as And actually i did not see sshd binary in that list. However md5 of the /usr/sbin/sshd file and the numbers given ...
0
votes
2answers
1k views

Change password hashing algorithm for SuSE users from blowfish to MD5

I have a network of roughly 1000 SuSE machines with 20-200 users on each. The password hashing algorithm used is the default i.e. blowfish. In order to check, whether a user has used a dictionary word ...
3
votes
2answers
2k views

changing shadow hash algorithm to bcrypt: how to rehash

I want to change my SHA512 shadow file to use bcrypt as shown in this question/answer: Enable blowfish-based hash support for crypt The problem is that i run into a chicken and egg problem, because ...
1
vote
1answer
390 views

How to generate a Linux Apache password file on a PC running Windows 7?

My development machine is Windows. I use the htpasswd program that is part of the Windows XAMPP package, version 1.7.7, to generate a Windows Apache password file. C:\xampp\apache\bin\htpasswd.exe ...
4
votes
1answer
973 views

LDAP passwords encryption (userPassword attribute)

I'm trying to import passwords from an LDAP to a MySQL database. When I look at the userPassword attribute for the known password test I get this: userPassword:: ...
5
votes
5answers
731 views

md5sum of large files gives different results sometimes

I have an AMD quad core, 8 gb RAM, 1 SSD EXT2 (2 months old), 2 HDD EXT4, approximately 1 year old. I'm using Ubuntu 10.04 x86-64 and when I compute the md5sum of large files (9 GB) sometimes I get ...
29
votes
13answers
47k views

How to create an SHA-512 hashed password for shadow?

The previous SF questions I've seen have lead to answers that produce MD5 hashed password. Does anyone have a suggestion on to produce an SHA-512 hashed password? I'd prefer a one liner instead of a ...
0
votes
2answers
201 views

Prompt server for Etag or MD5

We are a price comparison portal and crawl certain websites on a regular basis. I am looking for a method to save bandwidth by avoiding downloading the same page over and over again if the content did ...
0
votes
2answers
3k views

How can I ensure non-corrupt file transfer in linux?

I have script scheduled with cron that transfers a file around to other machines using scp filename user@host:~ and today have noticed that sometimes the md5 of the files don't match. Upon closer ...
20
votes
8answers
15k views

Calculate MD5 checksum of a directory

I'm looking for a quick way to compare directory contents. Is it possible to do an md5sum (or equivalent checksum) of an entire directory? Using Ubuntu Linux
2
votes
2answers
592 views

Software to brute force MD5 password on multi-core machine? [closed]

First off, I'm well aware that this is a controversial topic. I can give my word as a sysadmin that I have the best of intentions (depending on how you view the next paragraph) but I understand that ...
3
votes
3answers
2k views

Can I force the passwd command to use MD5 hash (and not crypt)?

How can I force the passwd command to use MD5 hash and not to use crypt? I need to get the passwd command to talk to the ldap server (which it does) and use MD5 when I change passwords for the users.
0
votes
1answer
378 views

Creating an MD5 file for a directory tree for only a given extension

I would like to create an MD5 file of a directory tree, containing only the bare names of the files. md5deep exactly does that, but it cannot filter for files when in recursive mode. md5deep -rb . ...
2
votes
5answers
2k views

Is there any value in checking MD5 of files after they have been unzipped?

A project I am working on currently requires that the user runs an MD5 hash checking tool on the entire project, after it has been unzipped. They do not currently request that the ZIP itself is ...
1
vote
1answer
291 views

md5sum returns different results for a folder, but why?

/tmp/file.txt tar cvf 1.tar tmp md5sum 1.tar c32dc6f04ff02b371129dd4aa923cc12 rm 1.tar cd tmp touch test.txt rm test.txt cd .. tar cvf 1.tar tmp md5sum 1.tar f9204f04ff02b300130ee4aa234aa78 i ...
4
votes
4answers
4k views

Is it secure to encrypt my POST variables to md5 before sending them?

I have a simple login form where a user enters their username and password. When php receives the vars via POST, it encrypts the password to md5, then compares it with the database records. My ...
4
votes
1answer
896 views

Securing NTP: which method to use?

Can someone good at NTP configuration please share which method is the best/easiest to implement a secure, tamper-proof version of NTP? Here are some difficulties... I don't have the luxury of ...
0
votes
2answers
361 views

HOw to know if files md5 chnaged by virus or system itself centos

I installed OSSSEC to very files have chnaged or not. But sometimes it is giving me false waring and integrity checksums like following files have chnaged. How can i makesure that files are chnaged ...
0
votes
3answers
858 views

Puppet - MD5 sum of string

I would like to name a file based on a MD5 sum of certain characters. Such as $environment and $URL. So from a high-level what I'd want is something like md5("http://$environment/$url"). Does anyone ...
3
votes
2answers
2k views

Can “tar” backup incrementally?

I have my home folder with a few GB. Is it possible to run tar on it, create a home.tar.gz, and then for changed files, it creates home1.tar.gz only with modified files from previous tar (thus being ...
3
votes
2answers
1k views

Different md5sums for same tar contents

I run a test creating two tars from the same dir (its files remained unchanged), and I found that their md5sums were different. I assume there's some timestamp being included in the tar's header, but ...
0
votes
2answers
521 views

Ubuntu - Is there any programme for MD5 rainbowtables on Ubuntu?

I've been reading about Rainbow Tables recently. There's a few webpages that will do a reverse look up for an MD5 hash. Is there any programme on Ubuntu that lets me do this? Is there something in ...