-
Notifications
You must be signed in to change notification settings - Fork 86
Administration
Michael Forney edited this page Feb 12, 2017
·
4 revisions
Currently, you must manually choose a UID/GID, and manually edit
/etc/passwd
, /etc/group
and /etc/shadow
.
echo "$USER:x:$UID:$UID:$NAME:/home/$USER:/bin/ksh" >> /etc/passwd
echo "$USER:x:$UID:" >> /etc/group
echo "$USER:*:::::::" >> /etc/shadow
mkdir /home/$USER
chown $USER:$USER /home/$USER
passwd $USER
First, generate host keys, then activate the sshd
service.
ssh-keygen -A
perpctl A sshd
First, run ip link set eth0 up
and add this to your rc.local
.
ip link set eth0 up
$EDITOR /etc/rc.local
Create a new service directory for sdhcp@eth0
.
cd /etc/perp
mkdir sdhcp@eth0
ln -s ../.sdhcp/rc.main ../.default/rc.log sdhcp@eth0
Activate sdhcp@eth0
.
perpctl A sdhcp@eth0
cat >> ~/.profile <<EOF
export XKB_DEFAULT_LAYOUT=$LAYOUT
export XKB_DEFAULT_VARIANT=$VARIANT
EOF