* NFS-Mount Problems from SUN to VAX(VMS)
@ 1992-06-04 14:49 Reiner Huober
1992-06-04 15:18 ` Steve McKinty - Sun ICNC
1992-06-04 17:27 ` Barry Margolin
0 siblings, 2 replies; 4+ messages in thread
From: Reiner Huober @ 1992-06-04 14:49 UTC (permalink / raw)
Hello Nethackers,
we have a Sun under SunOS4.1.2 and a VAX running VMS 5.5 and
UCX 1.3. With many problems we now managed to export a VAX-VMS
directory and access it on our sun via NFS.
Unfortunately, the mount requires superuser privileges on SUN-OS
(this is not the case on our Ultrix DECstations). UCX for VAX-VMS
requires UID/GID specification. The manual says, that the Superuser
is not allowed to appear in the UID/GID field of the UCX-proxy
specification.
Nevertheless we tried
VAX> UCX ADD PROXY /UID=0/GID=230/HOST=*
VAX> UCX ADD PROXY /UID=-2/GID=-2/HOST=*
VAX> UCX ADD PROXY /UID=1002/GID=230/HOST=*
and (how ulgy, what about security?)
# chmod u+s /usr/etc/mount /usr/etc/umount
The first two UCX-lines seem to be necessary to be able to
mount the VAX-Directory. Because s-uid on mount User 1002
can mount the VAX-Directory and work with it, but it's
extremely ugly and probably contains security holes.
So, does SunOS allow mount for normal users (this would also
be fine for /pcfs) or can we overcome the problem on the VAX
using wild cards for uid/gid.
Thanks in advance
==================================================
email: huober_r@rz.uni-ulm.de
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: NFS-Mount Problems from SUN to VAX(VMS)
1992-06-04 14:49 NFS-Mount Problems from SUN to VAX(VMS) Reiner Huober
@ 1992-06-04 15:18 ` Steve McKinty - Sun ICNC
1992-06-04 16:30 ` Gwyn Evans @ IME
1992-06-04 17:27 ` Barry Margolin
1 sibling, 1 reply; 4+ messages in thread
From: Steve McKinty - Sun ICNC @ 1992-06-04 15:18 UTC (permalink / raw)
In article <1992Jun4.144941.27919@wega.rz.uni-ulm.de>, huober_r@hal.rz.uni-ulm.de (Reiner Huober) writes:
> Hello Nethackers,
> we have a Sun under SunOS4.1.2 and a VAX running VMS 5.5 and
> UCX 1.3. With many problems we now managed to export a VAX-VMS
> directory and access it on our sun via NFS.
>
> Unfortunately, the mount requires superuser privileges on SUN-OS
> (this is not the case on our Ultrix DECstations). UCX for VAX-VMS
> requires UID/GID specification. The manual says, that the Superuser
> is not allowed to appear in the UID/GID field of the UCX-proxy
> specification.
> So, does SunOS allow mount for normal users (this would also
> be fine for /pcfs) or can we overcome the problem on the VAX
> using wild cards for uid/gid.
As far as I know mount on SunOS will only work for root. I'm very
surprised that Ultrix will allow a non-superuser to use mount, since it
creates an enormous security hole.
Steve
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: NFS-Mount Problems from SUN to VAX(VMS)
1992-06-04 15:18 ` Steve McKinty - Sun ICNC
@ 1992-06-04 16:30 ` Gwyn Evans @ IME
0 siblings, 0 replies; 4+ messages in thread
From: Gwyn Evans @ IME @ 1992-06-04 16:30 UTC (permalink / raw)
In article <10lc8mINN8nf@grapevine.EBay.Sun.COM>,
smckinty@sunicnc.France.Sun.COM (Steve McKinty - Sun ICNC) writes:
>As far as I know mount on SunOS will only work for root. I'm very
>surprised that Ultrix will allow a non-superuser to use mount, since it
>creates an enormous security hole.
No security hole, afaik, as there are the restrictions that in those
cases :=
(a) the user must own the directory they're mounting to,
(b) they can't execute setuid or setuig programs on the
new file-system
and (c) they can't access block or special character devices on
the new file-system
Gwyn
--
+======================================================================+
| Gwyn Evans | evansg@uproar.enet.dec.com | Uxbridge, Middlesex, UK |
| DESISCo - Digital Equipment Service Industries Solutions Company Ltd |
| Views expressed and statements made are mine and not those of DEC |
+======================================================================+
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: NFS-Mount Problems from SUN to VAX(VMS)
1992-06-04 14:49 NFS-Mount Problems from SUN to VAX(VMS) Reiner Huober
1992-06-04 15:18 ` Steve McKinty - Sun ICNC
@ 1992-06-04 17:27 ` Barry Margolin
1 sibling, 0 replies; 4+ messages in thread
From: Barry Margolin @ 1992-06-04 17:27 UTC (permalink / raw)
In article <1992Jun4.144941.27919@wega.rz.uni-ulm.de> huober_r@hal.rz.uni-ulm.de (Reiner Huober) writes:
>So, does SunOS allow mount for normal users (this would also
>be fine for /pcfs) or can we overcome the problem on the VAX
>using wild cards for uid/gid.
My primary suggestion is to use the automounter.
Another possibility is to get the "sudo" command (sorry, I don't know
precisely where it's located, but it's probably in most Unix public
software archives). This is an interface to su that gives you more control
over what the users can do.
--
Barry Margolin
System Manager, Thinking Machines Corp.
barmar@think.com {uunet,harvard}!think!barmar
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1992-06-04 17:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1992-06-04 14:49 NFS-Mount Problems from SUN to VAX(VMS) Reiner Huober
1992-06-04 15:18 ` Steve McKinty - Sun ICNC
1992-06-04 16:30 ` Gwyn Evans @ IME
1992-06-04 17:27 ` Barry Margolin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox