# WHOSTA - WHOAMI baseline and PUBLIC comparison

`WHOSTA.BAT` captures Novell `WHOAMI` output from `\NPUBLIC\WHOAMI`
and compares it against the current implementation in `\PUBLIC\WHOAMI`.

Run while logged in as the user whose context should be captured, normally
`SUPERVISOR` for the default baseline.

## Run

```bat
F:
CD \
WHOSTA
WHOZIP
```

## Result layout

```text
F:\WHOCMP\OUT         Novell baseline from \NPUBLIC\WHOAMI
F:\WHOCMP\PUBOUT      PUBLIC implementation from \PUBLIC\WHOAMI
F:\WHOCMP\COMPARE.LOG FC comparisons OUT vs PUBOUT
```

`WHOZIP.BAT` packages `RUN.LOG`, `SUMMARY.TXT`, `COMPARE.LOG`, `OUT` and
`PUBOUT` into `F:\WHOCMP\WHOSTA.ZIP`.

## Captured cases

```text
D01  WHOAMI
D02  WHOAMI MARS
D10  WHOAMI /SECURITY
D11  WHOAMI /GROUPS
D12  WHOAMI /WORKGROUPS
D13  WHOAMI /RIGHTS
D14  WHOAMI /SYSTEM
D15  WHOAMI /OBJECT
D16  WHOAMI /ALL
D90  WHOAMI NWBYGONE01
D91  WHOAMI /BOGUS
D99  WHOAMI /?
```

Known Novell baseline detail: `/RIGHTS` and `/ALL` can end with
`Unable to set directory handle. (899c)` depending on the current context.
Keep this output as part of the baseline unless the comparison layer later
normalizes it explicitly.
