smbwall
Scott Gifford
sgifford at suspectclass.com
Fri Jan 25 13:25:02 GMT 2002
David Brodbeck <DavidB at mail.interclean.com> writes:
> Couldn't you write your own versions of 'shutdown' and 'wall' that
> are Samba-aware, and called whatever Samba-wall script you're
> already using? In the case of 'wall' it could just be a wrapper
> around the existing binary. shutdown is a slightly more complex
> problem, but a Perl script that did the timing and notification,
> then called the existing shutdown to request an immediate shutdown
> when it was done seems like it'd work.
Better yet would be writing a daemon that opened up a psuedo-TTY,
wrote an entry into utmp and friends, and then ran the Samba-wall
script whenever it received a message on that TTY.
Or something like that...
----ScottG.
More information about the samba-technical
mailing list