# LOGIN / LOGOUT baseline test `LGNTSTA` is a manual two-stage baseline test for Novell `LOGIN`, `LOGOUT`, and `MAP`. This test does **not** overwrite `SYS:LOGIN`, `SYS:PUBLIC`, or `SYS:NPUBLIC`. It copies the Novell tools to a temporary local directory on `C:` and runs from there. `LOGIN` and `MAP` are copied from `SYS:NLOGIN`; `LOGOUT` is copied from `SYS:NPUBLIC`. ## Required setup User `NOPASSUSER` must exist on `MARS` and must be able to login without a password. ## Run Start while logged in as `SUPERVISOR`: ```bat F:\LGNTSTA ``` Then run the helper from `C:`: ```bat C: CD \LGNTTMP LGNTC ``` The helper does: ```text LOGOUT LOGIN NOPASSUSER MAP LOGOUT ``` All tool calls and redirected output paths are absolute `C:\LGNTTMP\...`, because Novell `LOGIN` can change the current drive/search path. Then login manually as `SUPERVISOR` again from the same local tool directory: ```bat C:\LGNTTMP\LOGIN SUPERVISOR ``` After the login script restores `F:`, collect results: ```bat F:\LGNTSTA PART2 F:\LGNTZIP ``` ## Expected output files `F:\LGNTCMP\OUT` contains: ```text D01_LOG.OUT LOGOUT output from initial supervisor session D02_LGIN.OUT LOGIN NOPASSUSER output D03_MAP.OUT MAP output after NOPASSUSER login D04_LGOT.OUT LOGOUT output from NOPASSUSER session D99_HELP.OUT simulated LOGIN usage line for later comparison HELPER.TXT helper trace ``` `D99_HELP.OUT` is intentionally produced with `ECHO`, because Novell `LOGIN /?` may not redirect help text reliably. ## Implementation note After `LOGIN NOPASSUSER`, DOS/NetWare may change the current drive/search path. `LGNTC.BAT` therefore calls `C:\LGNTTMP\LOGIN`, `C:\LGNTTMP\MAP`, and `C:\LGNTTMP\LOGOUT` explicitly and redirects to absolute `C:\LGNTTMP\*.OUT` files. ## Parameter handling `LGNTSTA` starts Part 1 only when called without parameters. `PART2` is accepted case-insensitively (`PART2`, `part2`, `Part2`, etc.). Any other parameter prints usage and does not start Part 1, so a typo cannot accidentally reset the test state.