30 lines
1.9 KiB
Bash
30 lines
1.9 KiB
Bash
# SPDX-Version: 3.0
|
||
# SPDX-CreationInfo: 2025-05-05; WEIDNER, Marc S.; <msw@coresecret.dev>
|
||
# SPDX-ExternalRef: GIT https://git.coresecret.dev/msw/CISS.debian.live.builder.git
|
||
# SPDX-FileContributor: WEIDNER, Marc S.; Centurion Intelligence Consulting Agency
|
||
# SPDX-FileCopyrightText: 2024–2025; WEIDNER, Marc S.; <msw@coresecret.dev>
|
||
# SPDX-FileType: SOURCE
|
||
# SPDX-License-Identifier: EUPL-1.2 OR LicenseRef-CCLA-1.0
|
||
# SPDX-LicenseComment: This file is part of the CISS.debian.installer.secure framework.
|
||
# SPDX-PackageName: CISS.debian.live.builder
|
||
# SPDX-Security-Contact: security@coresecret.eu
|
||
|
||
###########################################################################################
|
||
# User settings #
|
||
###########################################################################################
|
||
# Skip creation of a root account (normal user account will be able to use sudo):
|
||
d-i passwd/root-login boolean true
|
||
d-i passwd/root-password-crypted password $6$rounds = 4194304$4QhOp0Tdthmfky4f$1fRa/D45can2j0ttQDRoK9x8ovBFCftxn0hvyyU3.BlRRafsgs48wpikr1XODyhmgUySZHqXF3zeQeBZNYTul0
|
||
|
||
# Alternatively, to skip creation of a normal user account:
|
||
d-i passwd/make-user boolean false
|
||
# To create a normal user account:
|
||
d-i passwd/user-fullname string Debian User
|
||
d-i passwd/username string debian
|
||
d-i passwd/user-password-crypted password $6$rounds=8388608$bwnJ5ZlnOmYxFE21$LDJ4QBBmoob3pAu5JL4e4RkCt5qFnS2ZFIOm9bOEuADCcsLfOagGmkmh7Lj8OtqdgGSLg8TMXDbizLaZx.hiS1
|
||
|
||
###########################################################################################
|
||
# SALT=$(tr -dc 'A-Za-z0-9' < /dev/random | head -c 16) #
|
||
# mkpasswd --method=sha-512 --salt="${SALT}" --rounds=8388608 # which seems p4ranoid #
|
||
###########################################################################################
|
||
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh |