If you'd play with perl command-line options (such as -p, -l and -i) this line might have all you need (you could use -a and -F/:/ for splitting too)
s[:/bin/bash$][:/dev/null$] if /^www:/Note: You have to check how it works under shared access.
In reply to Re: passwd + command line options
by fglock
in thread Questions with sysopen (code)
by deprecated
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |