O
Oliver
I've been looking for information regarding this and all i can gather
is posters informing posties to use $< and $>. However, i can't seem
to find an example on how to apply that.
Information regarding my script
Basically, this script runs as root, parses thru the shadow file to
calculate if any accounts are about to expire, than parses the passwd
file to get the user(s) names, and outputs the matching userids and
names to a text file. I now need this script to switch to another user
and send an email to an external email address with the contents of
that text file as the body of the email.
help....
is posters informing posties to use $< and $>. However, i can't seem
to find an example on how to apply that.
Information regarding my script
Basically, this script runs as root, parses thru the shadow file to
calculate if any accounts are about to expire, than parses the passwd
file to get the user(s) names, and outputs the matching userids and
names to a text file. I now need this script to switch to another user
and send an email to an external email address with the contents of
that text file as the body of the email.
help....