Date: Wed, 7 Oct 1998 07:35:19 -0400 (EDT) From: Daniel Mahoney <root@suffolk.lib.ny.us> To: freebsd-questions@FreeBSD.ORG Subject: zero-intervention logins? Message-ID: <Pine.NEB.3.96.981007073219.601A-100000@GushiComTech.DanMahoney.com>
next in thread | raw e-mail | index | archive | help
Hi. This may sound wierd, as I've asked on several IRC channels (inlcuding #freebsd), but I was wondering if there's some driver that allows serial (or virtual) consoles to do automatic logins. This would be used where I simply want a terminal to sit in a location and drop to a minimal shell no matter what the user does (like a library card catalog). I did a little snooping, and realize that I need getty to handle terminal setup, and that getty passes the username argument to login (so I can't rename the getty login program variable, it wouldn't help. Thus far, my only solution has been to prepare to hack a version of getty. I don't like this option at all because I'm SURE someone's already found a better way, and because I'm not all that c-savvy. I'd wind up gutting the program and not passing things as cleanly as they could be. (Naturally, the above assumes the user has a null password and a HIGHLY restricted shell (like bin/lynx (with the lynx anon defines)) or something). Any help is GREATLY appreciated. And, btw...Nice OS... -Dan Mahoney To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96.981007073219.601A-100000>