Recently i had to re-install our Unix system due to upgrade of Server. Since then i noticed that when i launched command 'last' on root to obtain the log for users who logged in, few pages only are displayed. That is it keeps a log for about 2 days only. Previously i could notice that the file ( /dev/wtmp) was getting bigger, now it's no more the case.
Can this file size be increased so that it can hold log info for 2 months ? Can you please show to me who this changes can be made.
Also, there are many users who uses a terminal Emulator ( e.g. Winlite / AlphaCommunicator ) to have access to the Unix system From a Win9X pc via TCP/IP. But when i type 'w' on Unix to know who are logging and what are they doing, i obtain info like ;
root ttyp1 5:37pm 3 w
bharat ttyp3 8:09am 4:08 lpr -s -dStore2
deepak ttyp6 1:31pm 6 /bin/sh -c /pegixa
laurine ttyp23 8:51am 1:12 /bin/sh -c /pegixa
laurine ttyp24 8:51am 4:35 lpr -s -dInvoice
My question is how can i know which IP address have been assigned the ttyp1 or ttyp24 ?
Thank you very much.
Salim