tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* DEC OSF/1 and Pathworks 5.0 access control vs symbolic links
@ 1995-12-04 10:49 Niels Kokholm
  0 siblings, 0 replies; only message in thread
From: Niels Kokholm @ 1995-12-04 10:49 UTC (permalink / raw)
  To: tru64-unix-managers

Hi,=20

Does anyone know a way to avoid the following "feature":

SETUP)
HostA runs DEC OSF/1 3.0 with Pathworks v5.0c (primary domain=20
controller).=20

Various values in lanman.ini:

[server]
security=3Duser
[lmxserver]
ignoreunix=3Dno
fullpermcheck=3Dyes

(These are all default values)

OSF/1 account userb has home directory /home/userb.=20
Pathworks user userb is mapped to OSF/1 account userb:

   hosta:> mapuser -l userb
   USERB=3Duserb

Userb has full Pathworks access to his home directory:

   hosta:> net access 'C:\HOME\USERB'
   Resource  Permissions                            Permissions
   ----------------------------------------------------------------------=
-
   C:\HOME\USERB  =20
             USERB:RWCXDAP              =20
   The command completed successfully.
=20
PROBLEM)=20
If userb from his unix account makes the following symbolic link:

cd; ln -s / all

he will have access to all files on HostA through the Pathworks server=20
using \\hosta\userb\all\ as the UNC name of the root of the filesystem.=20
The=20
access through Pathworks will not be limited by Pathworks access rigts,=20
since USERB:RWCXDAP will be used to limit access. Userb will still be=20
somewhat limited by unix access rights, though.=20

It seems to me after realizing this, that it is impossible to  enforce an
access policy to the Pathworks shares based on Pathworks access rights,=20
unless I move these shares to another host, where there is no directories=
=20
simultaneously accessible by Pathworks and unix.  =20
=20
Moreover, (the real) HostA functions as a central Pathworks and NFS
fileserver, serving user home directories. The users are disallowed
interactive unix login through the passwd file (* passwd field, /bin/fals=
e
as shell). I would like a.o. the content of various "world readable"
system files on HostA not to be accessible by the users. But due to the
possibility of making symbolic links this is not possible.

Is there some lanman.ini variable I do not know of like the=20
SymLinksIfOwnermatch facilities in the NCSA httpd?=20


   Niels J=F8rgen Kokholm                 | email:   kokholm@math.ku.dk
   Matematisk Institut                  | phone:   +45 3532 0759
   Universitetsparken 5
   DK-2100 K=F8benhavn =D8=20
   Denmark

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-12-04 10:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-12-04 10:49 DEC OSF/1 and Pathworks 5.0 access control vs symbolic links Niels Kokholm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox