I second these points! Here's one more: open( my $expFile , qq{>>/etc/ssh/sftp-users.dat} ); would be better as the three-argument open and it should definitely check for errors: open( my $expFile, '>>', q{/etc/ssh/sftp-users.dat} ) or die $!;
In reply to Re^2: Script for SFTP users not deleting accounts automatically
by haukex
in thread Script for SFTP users not deleting accounts automatically
by C18ANT
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |