Getting Unix login name or home dir from client-side JavaScript

Giganews Newsgroups
Subject: Getting Unix login name or home dir from client-side JavaScript
Posted by:  Toralf Lund (toralf.delete@nospam.procaptura.com)
Date: Fri, 05 Sep 2003

Is there any way at all I can get a user's login name from within
JavaScript on Unix/Linux with Mozilla browser. If not, how about the
home directory? I know there are *usually* variables accessible via
navigator.preferences() that contain the info, but I have found none
that can *always* be expected to exist.

- Toralf

Replies