Sha256: 409c6dc35e60898f2d919c7c56d6a81fe38daa957023bfcd5beba9bfb9cb0321
Contents?: true
Size: 531 Bytes
Versions: 62
Compression:
Stored size: 531 Bytes
Contents
# # Autologin - set_autologin: - exec_in: | # check SysV init if [ -f '/etc/inittab' ] then perl -pi -e 's;/sbin/getty.*tty1;/bin/login -f $$user_name tty1 </dev/tty1 >/dev/tty1 2>&1;' /etc/inittab else # use systemd mkdir -p /etc/systemd/system/getty@tty1.service.d cat > /etc/systemd/system/getty@tty1.service.d/autologin.conf <<< ' [Service] ExecStart= ExecStart=-/usr/bin/agetty --autologin <username> --noclear %I 38400 linux ' fi
Version data entries
62 entries across 53 versions & 1 rubygems