Talk:TTY Autologin

From Alpine Linux

Isn't this just reinventing the wheel?

Instead of going through the trouble of compiling something, wouldn't it be much easier to apk add agetty (from main) and use the -a (--autologin) option? –zcrayfish (talkcontribssend email) 02:13, 11 September 2023 (UTC)

Disregard because I edited the article to have both. (the agetty option was needed for the non-edge users in any case) –zcrayfish (talkcontribssend email) 08:32, 12 September 2023 (UTC)
tcc is not a mandatory package, it is just a C compiler, I initially choose it because it is small (~1Mb) in contrast to gcc (>100Mb), but if the issue is that it is on edge, then it is enough to use gcc which is in main, simple as that. Also agetty is times larger then a mere system call. –MarcoDG 08:39, 15 September 2023 (CET)

By using agetty (CLI Proxmox)

Hi User:Groin1655, I have never used Proxmox, so need your help. Can you please clarify if the changes suggested by you has to be done in the Proxmox guest or the host alpine OS. btw:are you running diskless either in host or guest? because diskless tool lbu does not track files outside /etc drive. The previous instructions were there for a long time and i'm curious about your use case. Please add necessary qualifiers and if necessary we can create and move the content to Proxmox page and just put a pointer here, so that other users are not affected. -Prabuanand (talk) 04:31, 5 March 2025 (UTC)

Hi Prabuanand, I am building a LXC container based on Alpine linux and wanted the have it perform an autologin on startup. The changes were done in the disk-based guest. The host OS is debian 12. I will change the procedure as needed, when I get it working. Currently after each reboot the /etc/inittab is getting modified and my changes to the line "tty1::respawn:/sbin/getty 38400 tty1" are being restored. The comments are not. So there must be a script somehere. I dont know what it is rewriting the lines. --Groin1655 (talk) 01:21, 7 March 2025 (UTC)