On Tue, 12 Sep 2000, Kip Turk wrote:

> Is there a simple way to keep a standard "Welcome" bulletin that users see
> the first time they log-in, but still limit the number of bulletins a user
> gets?  We plan to use the bulletins for schedule and maintenance
> notifications, but we don't want a new user to see bulletins that are out
> of date.  I've currently limited the bulletins to 5, so this is my initial
> "solution".
> 
> 001.welcome - contains the obvious intro's to our system
> 002.maintenance 
> 003.schedule
> 004.whatever
> 005.other_stuff
> 
> At this point, the users would have what I want.  But when I need to add a
> new bulletin (006.more), a user added would no longer see the welcome
> message.  So I copy 001 --> 002.  This functions correctly, but is there a
> less admin-intensive method for doing this?

useradd -a -b -c joeschmo
cat welcome_msg.txt | mail -s "Welcome to our system" joeschmo

[ don't do the welcome message with a bulletin, just mail it to them ]

-- 
Jason Englander <[EMAIL PROTECTED]>
Systems Administrator - InterLink L.C.


Reply via email to