> Ok thanks for you hints.
> 
> Is there a way to get the  Unix login name  that the user chosen using
> debconf? I'd like to use it to set gdm's autologin. E.g. :
> 
>     . /usr/share/debconf/confmodule
> 
>     db_get passwd/username
> 
>     if [ -n "$RET" ]; then
>       sed -i "s,^AutomaticLoginEnable=false,AutomaticLoginEnable=false,g"  
> /etc/gdm/gdm.conf
>       sed -i "s,^AutomaticLogin=,AutomaticLogin=$RET,g"/etc/gdm/gdm.conf
>     fi

Hmmm, I don't understand. The Unix login name *is* passwd/username so
I would bet the above should work.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to