add user
parent
e3b190ce43
commit
65d922cbd8
21
preseed.cfg
21
preseed.cfg
|
@ -92,6 +92,9 @@ d-i netcfg/wireless_wep string
|
|||
# component for remote installation over SSH. This only makes sense if you
|
||||
# intend to perform the remainder of the installation manually.
|
||||
d-i anna/choose_modules string network-console
|
||||
# XXX Set up key here, probably has to be RSA, ed25519 untested.
|
||||
# ssh-keyget -t rsa
|
||||
# Copy that to server
|
||||
d-i network-console/authorized_keys_url string http://145.40.77.103/id_rsa.pub
|
||||
#d-i network-console/password password r00tme
|
||||
#d-i network-console/password-again password r00tme
|
||||
|
@ -100,8 +103,10 @@ d-i network-console/authorized_keys_url string http://145.40.77.103/id_rsa.pub
|
|||
# If you select ftp, the mirror/country string does not need to be set.
|
||||
#d-i mirror/protocol string ftp
|
||||
d-i mirror/country string manual
|
||||
# XXX Set mirror
|
||||
d-i mirror/http/hostname string http.us.debian.org
|
||||
d-i mirror/http/directory string /debian
|
||||
# XXX Set up proxy
|
||||
d-i mirror/http/proxy string
|
||||
|
||||
# Suite to install.
|
||||
|
@ -114,23 +119,24 @@ d-i mirror/http/proxy string
|
|||
# use sudo).
|
||||
#d-i passwd/root-login boolean false
|
||||
# Alternatively, to skip creation of a normal user account.
|
||||
d-i passwd/make-user boolean false
|
||||
#d-i passwd/make-user boolean false
|
||||
|
||||
# Root password, either in clear text
|
||||
#d-i passwd/root-password password r00tme
|
||||
#d-i passwd/root-password-again password r00tme
|
||||
# or encrypted using a crypt(3) hash.
|
||||
# mkpasswd -m sha-512 -S $(pwgen -ns 16 1) mypassword
|
||||
d-i passwd/root-password-crypted password $6$isHvoesy6GWx2nHg$lfhJSAiQCn2hKHCcDDp/RmeoaxjADD0hK7bsVIU93AaWhYjrpkpIV7MZ/49W7FcGYkMzgPwYalUw7aonyr2GI1
|
||||
# mkpasswd -m sha-512 mypassword
|
||||
d-i passwd/root-password-crypted password $6$On5SH6RmP1gKgISf$YvKvj0gkpZUrWh/38XN2hThzcvpf1H6UDnXm2RKwYVKhkmC1YCAcfP/7tiIUpkLchlsAWEmo/S7geymM.5Zqg1
|
||||
|
||||
# To create a normal user account.
|
||||
#d-i passwd/user-fullname string Debian User
|
||||
#d-i passwd/username string debian
|
||||
d-i passwd/user-fullname string Debian User
|
||||
# XXX username
|
||||
d-i passwd/username string debian
|
||||
# Normal user's password, either in clear text
|
||||
#d-i passwd/user-password password insecure
|
||||
#d-i passwd/user-password-again password insecure
|
||||
# or encrypted using a crypt(3) hash.
|
||||
#d-i passwd/user-password-crypted password [crypt(3) hash]
|
||||
d-i passwd/user-password-crypted password $6$wxBjtDAwcATo.ww.$hUsLPT/4QiKTV7O74NHNOnhe0PaGNLaaH2QBsqIGI0uqJ78kxprYkXqg1jLVZmx6oGz5WuAbg.X7TYPpGZm.6/
|
||||
# Create the first user with the specified UID instead of the default.
|
||||
#d-i passwd/user-uid string 1010
|
||||
|
||||
|
@ -404,7 +410,8 @@ d-i finish-install/reboot_in_progress note
|
|||
|
||||
# This is how to make the installer shutdown when finished, but not
|
||||
# reboot into the installed system.
|
||||
d-i debian-installer/exit/halt boolean true
|
||||
# XXX HALT
|
||||
#d-i debian-installer/exit/halt boolean true
|
||||
# This will power off the machine instead of just halting it.
|
||||
#d-i debian-installer/exit/poweroff boolean true
|
||||
|
||||
|
|
Loading…
Reference in New Issue