blob: b075542b15a4123802231bfffb52ead0ec7be607 [file] [log] [blame] [edit]
#!/bin/bash
IMAGE_DIR="/home/.shadow"
USERID="$(cat $IMAGE_DIR/salt <(echo -n $1) | openssl sha1)"
echo "Data belonging to $1 is stored in $IMAGE_DIR/$USERID"