i haven't come across a hostname in the output yet.
-----Original Message-----
From: Aidan Kehoe [mailto:kehoea at parhasard.net]
Sent: 10 September 2001 17:33
To: Patton, Tony
Cc: ilug at linux.ie
Subject: RE: [ILUG] grep or awk
Ar an 10u la de mi 9, scriobh Patton, Tony :
> there is no plan to upgrade anytime soon.
>
> the reason that i am looking to do this is that we have a lot of
users
> who connect to an oracle database over telnet and print by going thru
a
> menu of printers.
>
> this list is getting crowded, (about 8 or so), so i want to provide
> different menus for the users depending on their ip address. ie
> 172.200.20.x = mis printers, 172.200.30.x = administration printers.
Could be ugly if they're logging on from someplace that shows up as a
hostname, not an IP address. But I suppose your default case will
cover that.
--
`... when the elephant man broke strong men's necks, when he'd had too
many Powers, ...'
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!