Automatically log into linux with python
missive at frontiernet.net
Sat Aug 31 00:30:07 CEST 2002
> I'm sure this is possible, but I'm new to python so I have no idea how to
> accomplish this...
> My box has no secret information and I'm the only one that can use this box,
> so I don't want to log in everytime I boot my computer (Gentoo Linux) - of
> course root stays password protected.
> I don't like KDM either, wich can do this, so I want to write my own (text
> based) inlog system, wich will basically log me in and then do a startx
> with the options I give in a config file...
> I will start this script as a deamon (together with samba, cups,...).
> So how can I make this deamon log me in as my normal user? Just like kdm
> would do?
If I wanted to do this (on FreeBSD), I think it would involve changes in
/etc/ttys and /etc/gettytab
There is probably something similar in gentoo... I would recommend
asking on a linux group or the gentoo specific groups.
I dont think I would do any python programming to do it.
More information about the Python-list