- Samba's message command

PDA

View Full Version : Samba's message command


SemiSonic
07-24-2004, 10:08 PM
Dear Friends,

I wish to recieve winpopup messages on the root screen what even root is on eg. console or loged in remotly.

I would like it text not gui eg. xedit

Can anyone out there help me

Ive tried with write root and everything

Thanks in Advance

Semi

Walter Peters
07-24-2004, 10:08 PM
SemiSonic wrote on 23.10.2003 23:58:


> I wish to recieve winpopup messages on the root screen what even root is
> on eg. console or loged in remotly.
>
> I would like it text not gui eg. xedit
>
> Can anyone out there help me
>
> Ive tried with write root and everything

What exactly did you try?
Try this in smb.conf:
Try this in smb.conf:
message command = echo "Message from %f on %m: `cat %s`" | write root;
rm %s &

Walter

SemiSonic
07-24-2004, 10:09 PM
Dear Walter,

Im unable to the write root workin but have been able to get wall workin...

it would b nice to get write root because it gets annoyin to other users
loged in...who the the winpop messages
ah well

Thanks
Semi


"Walter Peters" <w.nospam.usenet@arcor.de> wrote in message
news:bnapdc$vdl7h$1@ID-91138.news.uni-berlin.de...
> SemiSonic wrote on 23.10.2003 23:58:
>
>
> > I wish to recieve winpopup messages on the root screen what even root is
> > on eg. console or loged in remotly.
> >
> > I would like it text not gui eg. xedit
> >
> > Can anyone out there help me
> >
> > Ive tried with write root and everything
>
> What exactly did you try?
> Try this in smb.conf:
> Try this in smb.conf:
> message command = echo "Message from %f on %m: `cat %s`" | write root;
> rm %s &
>
> Walter
>