Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

make_sha1(8) [suse man page]

MAKE_SHA1(8)						      System Manager's Manual						      MAKE_SHA1(8)

 *

NAME
make_sha1 - Generate SHA1 checksums for given set of users. SYNOPSIS
make_sha1 [ -C config-file ] [ -D md5_dir ] [ -k count ] [ -f input_file ] [ -m offset ] [ -M modulo ] [ -v ] [ userid... ] DESCRIPTION
Generate SHA1 checksums for messages given set of users. Works as incremental update: reads in existing set of SHA1 checksums from sha1_dir/u/userid (hashed on first letter of userid) if that file exists. Scans account looking for new messages, and then updates record. The SHA1 checksums which are generated are used to test integrity of the master, replica and backup systems on Hermes. OPTIONS
-C config-file Read configuration options from config-file. -D sha1_dir Read and write SHA1 checksums from sha1_dir, overrides configuration file setting of the same name. -k count Concurrency level: run up to count asynchronous child processes. -f input_file List of accounts to process: use in place of command line arguments. -m offset Regenerate given fraction of the user database in combination with -M below. -M modulo Regenerate SHA1 checksums for given fraction of user database. Allows for rolling consisency checks. -v Verbose mode. FILES
/etc/imapd.conf AUTHORS
David Carter (dpc22@cam.ac.uk) CMU
Project Cyrus MAKE_SHA1(8)

Check Out this Related Man Page

VERIFIER(1)						      General Commands Manual						       VERIFIER(1)

NAME
rdd-verify - verifies checksums and hash values generated by rdd-copy(1) SYNOPSIS
rdd-verify [OPTION] file1 ... DESCRIPTION
Rdd-verify verifies checksums and hash values generated by rdd-copy(1). Rdd stores checksums (Adler32 or CRC32) in files. These files must be passed to rdd-verify for verification. Hash values (MD5 or SHA1) computed by rdd-copy(1) must be passed to rdd-verify on the command line as hexadecimal strings. Rdd-verify reads all input files (file1, ...) and recomputes the checksums and hash values that the user wishes to verify. The verifica- tion will very likely fail if the concatenation of the input files is different from the source that was copied by rdd-copy(1). OUTPUT
All verification errors are reported on stderr. OPTIONS
-?, --help Print a usage message. -V, --version Report version number and exit. -v, --verbose Be verbose (more messages). -v, --verbose Be verbose (more messages). --checksum, --adler32 file Verify the Adler32 checksums stored in file. --crc, --crc32 file Verify the CRC32 checksums stored in file. --md5, --md5 digest Recompute the MD5 hash value. It should be equal to digest. --sha, --sha1 digest Recompute the SHA1 hash value. It should be equal to digest. A digest argument is a hexadecimal string. Leading zeroes may not be omitted. EXAMPLES
rdd-verify --md5 0123456789abcdef0123456789abcdef disk.img Compute the MD5 hash value over disk.img and verify whether it equals 0123456789abcdef0123456789abcdef. rdd-verify --adler32 checksums.a32 disk.img Compute the adler32 checksums over disk.img and compare each checksum to the corresponding checksum in checksums.a32. SEE ALSO
rdd-copy(1) REPORTING BUGS
Report bugs to <rdd@holmes.nl>. ACKNOWLEDGEMENTS
Many thanks to all who reported bugs and successes, and who suggested improvements. You know who you are. COPYRIGHT
Copyright (C) 2002-2003 Netherlands Forensic Institute This software comes with NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. rdd-verify February 2002 VERIFIER(1)
Man Page

11 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Using the Finger command in a Script

This is my senario..... The user enters a userid into linux. ((I have have already scripted the command to read this userid.)) I need help in writing the script so It reads the userID and in conjuction w/ the finger command displays to the user "no plan" on the screen (so the user reads/sees... (4 Replies)
Discussion started by: apolishuk
4 Replies

2. Post Here to Contact Site Administrators and Moderators

Pls change my userid

Can you change my userid from "jdmower" to "jdmowrer". I dropped an r when registering. thanks Jim (0 Replies)
Discussion started by: jdmowrer
0 Replies

3. UNIX for Dummies Questions & Answers

display the userid's of a file

what command can I use to display the userid's only of a file; specifially the /etc/passwd file? (5 Replies)
Discussion started by: raidkridley
5 Replies

4. Shell Programming and Scripting

counting users?

Is it possible to count the number of users? or specifically emac users? I know that you can count certain file sizes, like find /usr/bin/ -size 11k -exec ls {} \;|wc -1 but how would I count users? (3 Replies)
Discussion started by: gordonheimer
3 Replies

5. Red Hat

userid with nothing to do on the os/app

Hi All, I got this userid apache with the same userid and groupid and /sbin/nologin and the /www/a home folder is empty. Can I just delete this userid? How can I investigate if userid have something to do with the application? Thanks for any comment you may add. (1 Reply)
Discussion started by: itik
1 Replies

6. Shell Programming and Scripting

Script to find systems logged in with a particular userid

Hello All, I need to design a script to get all the systems names(IP Addresses) logged in with a particular userid say 'xyz' from different terminals. This is to track the use of the particular userid and take action if it is being misused. The script would accomplish the following steps: 1.... (1 Reply)
Discussion started by: mehimadri
1 Replies

7. Shell Programming and Scripting

What is the command to get name associated with userid?

Hi, 1#what is the command to get name associated with userid? 2#I am using unix on Mainframes thru OMVS. So any one know to to capture TSO command output to a variable on OMVS environment. I tried with below script, but its not working! #!/bin/ksh output=$(tso whois PA1234) echo... (6 Replies)
Discussion started by: prashant43
6 Replies

8. Shell Programming and Scripting

Bash script problem to mount

#!/bin/bash userid=$(id -u) options="rw,exec,users,uid="${userid}",gid="${userid}"" while ;do echo -n "Enter device you want to mount (Example: /dev/sda11): " read device echo "Selected device: ${device}" if ;then echo -n "Enter... (3 Replies)
Discussion started by: cola
3 Replies

9. UNIX for Advanced & Expert Users

Files disappearing from /users/home

We have seen an issue whereby every morning around the same time , we see files being deleted from /users/$userid . We have many crons and processes running across 40+ different servers . Possibly some rogue process is doing this . How can one isolate the process removing stuff from the... (4 Replies)
Discussion started by: taherkf
4 Replies

10. Slackware

Slackware

I want to know more about the Concurrency(Process Synchronization, Deadlocks) of a slackware, i know already the Concurrency but i want to know further what else is the Concurrency(Process Synchronization, Deadlocks) of a slackware. :cool: (1 Reply)
Discussion started by: green12
1 Replies

11. Shell Programming and Scripting

Dumping database results and doing checksums

hey I am dumping two database results into two text files and doing checksums on them. Anyone know how to do this. I originally was doing line by line comparison and diff but I need something faster for larger gb size files. anyone got tips? (5 Replies)
Discussion started by: Samuel12
5 Replies