We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad10d84 commit b2cdab2Copy full SHA for b2cdab2
install_common.sh
@@ -15,6 +15,15 @@ cat > /etc/systemd/journald.conf.d/60-limit-log-size.conf <<EOF
15
SystemMaxUse=100M
16
EOF
17
18
+# Create user photon:vision login
19
+echo "creating photon user"
20
+useradd photon -m -b /home -s /bin/bash
21
+usermod -a -G sudo photon
22
+echo 'photon ALL=(ALL) NOPASSWD: ALL' | tee -a /etc/sudoers.d/010_photon-nopasswd >/dev/null
23
+chmod 0440 /etc/sudoers.d/010_photon-nopasswd
24
+
25
+echo "photon:vision" | chpasswd
26
27
# Add a helpful message to the logon screen
28
# ASCII Art generated by: https://www.asciiart.eu/image-to-ascii
29
cp -f ./files/issue.txt /etc/issue
0 commit comments