Re: rc.conf.local update_motd=NO

2006-04-20 Thread Nick Guenther
On 4/20/06, Eduardo Alvarenga <[EMAIL PROTECTED]> wrote: > > > The patch prevents rc from adding these two lines into the motd file. > > > What I want is to not show information about the system and *JUST* my > > > personal motd, for security purposes and to follow the company's > > > policy. > > >

Re: rc.conf.local update_motd=NO

2006-04-20 Thread Eduardo Alvarenga
> > The patch prevents rc from adding these two lines into the motd file. > > What I want is to not show information about the system and *JUST* my > > personal motd, for security purposes and to follow the company's > > policy. > > What security purposes? You have local users who you dont trust to

Re: rc.conf.local update_motd=NO

2006-04-20 Thread Joachim Schipper
On Thu, Apr 20, 2006 at 10:30:10AM +0800, Lars Hansson wrote: > On Thursday 20 April 2006 03:42, Eduardo Alvarenga wrote: > > > Just leave the first two lines of motd intact, add you local motd after > > > the two first lines, and your message will not be touched. > > > > The patch prevents rc from

Re: rc.conf.local update_motd=NO

2006-04-19 Thread Lars Hansson
On Thursday 20 April 2006 03:42, Eduardo Alvarenga wrote: > > Just leave the first two lines of motd intact, add you local motd after > > the two first lines, and your message will not be touched. > > The patch prevents rc from adding these two lines into the motd file. > What I want is to not show

Re: rc.conf.local update_motd=NO

2006-04-19 Thread Eduardo Alvarenga
> Just leave the first two lines of motd intact, add you local motd after > the two first lines, and your message will not be touched. The patch prevents rc from adding these two lines into the motd file. What I want is to not show information about the system and *JUST* my personal motd, for secu

Re: rc.conf.local update_motd=NO

2006-04-19 Thread Matthias Kilian
On Wed, Apr 19, 2006 at 03:50:45PM -0300, Eduardo Alvarenga wrote: > Some companies ask sysadmins to put a specific message of the day for > many purposes, this patch might become handy in such situations. Did you read motd(5)?

rc.conf.local update_motd=NO

2006-04-19 Thread Eduardo Alvarenga
Hi there, -- --- rc.orig 2006-04-19 15:43:13.869242320 -0300 +++ rc 2006-04-19 15:45:43.632474848 -0300 @@ -491,6 +491,7 @@ if [ ! -f /etc/motd ]; then install -c -o root -g wheel -m 664 /dev/null /etc/motd fi +if [ X"${update_motd}" != X"NO" ]; then T=`mktemp /tmp/_motd.XX