blob: be91f64689cd3cd70d652f9867c44906f993cb6b [file] [log] [blame]
#!/bin/bash
# Copyright 2022 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
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}"