Hi!,
Quote:> I have a Linux box that serves as a shell server for many users. I would
> like to turn OFF the DNS name resolution when a user logs in. In other
> words, I would like the output of w, finger, and other commands to show
> the IP address instead of the hostname.
> Anybody know of a way to do this?
It actually isn't that easy to do. The only time that the IP addresses appear
in the "w","finger" and other related logs is when the system is unable to
actually resolve IPs into hostnames. The only possible way I could think of
doing this, would be not to provide a domain name server to your box. The
only catch is that you would have to reference everything on your box as a IP
address.
Any particular reason why you want to see the IP addresses recorded rather
than the hostnames ?
See ya
Dean Thompson
--
+____________________________+____________________________________________+
| Bach. Computing (Hons) | ICQ - 45191180 |
| PhD Student | Office - <Off-Campus> |
| School Comp.Sci & Soft.Eng | Phone - +61 3 9903 2787 (Gen. Office) |
| MONASH (Caulfield Campus) | Fax - +61 3 9903 1077 |
| Melbourne, Australia | |
+----------------------------+--------------------------------------------+