From: Niels Kokholm <kokholm () math ! ku ! dk>
To: tru64-unix-managers
Subject: DEC OSF/1 and Pathworks 5.0 access control vs symbolic links
Date: Mon, 04 Dec 1995 10:49:39 +0000 [thread overview]
Message-ID: <96075325906462.tru64-unix-managers.marc@archive.invalid> (raw)
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
reply other threads:[~1995-12-04 10:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox