#!/bin/sh
#
+# SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+#
# Copyright (c) 2002-2004 Michael Telahun Makonnen. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
trap 'stty echo; exit' 0 1 2 3 15
stty -echo
echo -n "Enter password: "
- read -r upass
+ IFS= read -r upass
echo''
echo -n "Enter password again: "
- read -r _passconfirm
+ IFS= read -r _passconfirm
echo ''
stty echo
# if user entered a blank password
Dflag=
Sflag=
readconfig="yes"
-homeprefix="/home"
+homeprefix="/var"
randompass=
fileline=
savedpwtype=