From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,96577dad42f56511,start X-Google-Attributes: gidfee84,public From: Maurice Steyvers Subject: Changing passwords from crontab Date: 1996/01/26 Message-ID: #1/1 X-Deja-AN: 136519017 organization: Rijksuniversiteit Limburg content-type: TEXT/PLAIN; charset=US-ASCII mime-version: 1.0 newsgroups: comp.unix.osf.osf1 I've written some scripts (perl and expect) to manage about 8000 student accounts on our Alpha 2100. One of the things these scripts do is add new users. It's done with the tool "expect" mainly because the "passwd" programm refuses to accept input from a file. This script works fine but only when executed from the command-line. When i run it from "crontab" things go wrong when the password has to be entered. Does anyone have similar experiences and even better has anyone solved this or a similar problem. Maurice Steyvers University of Limburg Maastricht, the Netherlands