[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: USB Stick, GPG and CryptoFS in a startup script



Clemens Bier <ClemensBier@arcor.de> writes:

> So, now we come to the point: 
> When I integrate my script into /etc/init.d as one of the startup
> scripts, I get the following error message during boot time
> <snip>
> cannot open '/dev/tty' : no such device or address 
> Error: Password must be at least 20 characters
> </snip>

I think you need to redirect input from /dev/tty or /dev/console
explicitly or you need to setup an utmp entry first (like login would
do).

MfG
        Goswin



Reply to: