Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I am using Netware 4.11 and was wondering if there some log file which records user names & login times. Or is there some way to create one. Thanks.

I use this. It will create a last.txt file on the root of the C drive that you run it from. You can then take that to Excel or Lotus and Convert. Or you can just run in Notepad.
nlist USER SHOW "Login Time" /s /c >C:Last.txt
You can change the pramaters after > to whereever you want the file to go.

I use the following method to log user names & login times into a seperate file for each user...
In the system login script I have the following line which sets a DOS environment variable with the user's login name:
dos set USERNAME=login_name
Then in each user's login script I include this line as the last line of their login script which executes a batch file. Drive, directory, and batch file could be changed to suit your preferences:
#h:\home\bats\log
The batch file itself looks like this:
ECHO LOGIN >>H:\HOME\LOGS\%USERNAME%.LOG
SYSTIME >> H:\HOME\LOGS\%USERNAME%.LOG
ECHO OFFCLS
ECHO To close this window and have it close automatically in the future...
ECHO 1. Click on the MS-DOS icon in the top left corner of this window
ECHO 2. Click on Properties
ECHO 3. Click the 'Close on exit' box so it has a check mark in it
ECHO 4. Click OK
ECHO 5. Then click the X in the top right corner of this window
The lines above are normally only seen the first time this is run on a user's workstation & I'm usually the one that takes care of that. The rest of the time the DOS window closes automatically and flashes past so fast users don't know it's there.

![]() |
4.71 Client for NT and &q...
|
Cannot delete files from ...
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |