Search Results

Search: Posts Made By: TREBRETNA
29,108
Posted By TREBRETNA
Is the interact command needed in your script?...
Is the interact command needed in your script? Since it is running in cron there is no shell or user for it to interact with and probably wont work. Maybe you should have it do something similar to...
21,286
Posted By TREBRETNA
Try replacing: spawn /usr/bin/passwd $user ...
Try replacing:

spawn /usr/bin/passwd $user

with

send "/usr/bin/passwd $user\r"
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 08:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy