rootpass revision 218799
1218847Sed#!/bin/sh 2231530Sed#- 3218847Sed# Copyright (c) 2011 Nathan Whitehorn 4218847Sed# All rights reserved. 5218847Sed# 6218847Sed# Redistribution and use in source and binary forms, with or without 7218847Sed# modification, are permitted provided that the following conditions 8218847Sed# are met: 9218847Sed# 1. Redistributions of source code must retain the above copyright 10218847Sed# notice, this list of conditions and the following disclaimer. 11218847Sed# 2. Redistributions in binary form must reproduce the above copyright 12218847Sed# notice, this list of conditions and the following disclaimer in the 13218847Sed# documentation and/or other materials provided with the distribution. 14218847Sed# 15218847Sed# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 16218847Sed# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 17218847Sed# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 18218847Sed# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 19218847Sed# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20218847Sed# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21218847Sed# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22218847Sed# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23218847Sed# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24218847Sed# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25218847Sed# SUCH DAMAGE. 26218847Sed# 27218847Sed# $FreeBSD: head/usr.sbin/bsdinstall/scripts/rootpass 218799 2011-02-18 14:54:34Z nwhitehorn $ 28218847Sed 29218847Sedclear 30218847Sedecho "FreeBSD Installer" 31218847Sedecho "========================" 32218847Sedecho 33218847Sed 34231530Sedecho "Please select a password for the system management account (root):" 35218847Sed 36218847Sedchroot $BSDINSTALL_CHROOT passwd root 37218847Sed 38218847Sed