Search Results

Search: Posts Made By: craigp84
Forum: Ubuntu 01-18-2012
3,183
Posted By craigp84
#!/bin/sh ALL_USERS=$( getent passwd | cut...
#!/bin/sh

ALL_USERS=$( getent passwd | cut -f1 -d':' )
for user in $ALL_USERS; do
echo $user
chage -l $user
sleep 1
done
15,546
Posted By craigp84
"(cat plain.txt;uuencode attach.file targ.type) |...
"(cat plain.txt;uuencode attach.file targ.type) | /usr/lib/sendmail -oi addr@server"

You can tack on whatever other sendmail options you want as well, like -f to specify the envelope return...
Showing results 1 to 2 of 2

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