atom feed17 messages in org.freebsd.freebsd-stableRe: fstab mount options
FromSent OnAttachments
Harry PutnamJul 3, 2000 2:10 pm 
Vivek KheraJul 3, 2000 2:22 pm 
Crist J. ClarkJul 3, 2000 2:34 pm 
Brad KnowlesJul 3, 2000 3:07 pm 
Udo ErdelhoffJul 3, 2000 3:13 pm 
Crist J. ClarkJul 3, 2000 4:30 pm 
Harry PutnamJul 3, 2000 4:40 pm 
Brad KnowlesJul 4, 2000 12:54 am 
David MaloneJul 4, 2000 2:02 am 
David MaloneJul 4, 2000 2:08 am 
AMAKAWA ShuheiJul 4, 2000 2:12 am 
Jonathan SmithJul 4, 2000 6:31 am 
Peter RadcliffeJul 4, 2000 11:14 am 
Jonathan MichaelsJul 4, 2000 4:10 pm 
Vivek KheraJul 5, 2000 7:05 am 
Vivek KheraJul 5, 2000 7:12 am 
David O'BrienJul 6, 2000 1:56 pm 
Subject:Re: fstab mount options
From:David Malone (dwma@maths.tcd.ie)
Date:Jul 4, 2000 2:02:43 am
List:org.freebsd.freebsd-stable

On Mon, Jul 03, 2000 at 04:30:45PM -0700, Crist J. Clark wrote:

The risk I see is does this method let users mount with setuid?

Not by the looks of things - you can also only mount on directories owned by yourself. It's enforced in the mount syscall.

temp1# sysctl -w vfs.usermount=1 vfs.usermount: 0 -> 1 temp1# suspend Suspended

mount vn0 /mnt mount: Operation not permitted mkdir blah mount vn0 blah mount | fgrep blah vn0 on /usr/home/dwmalone/blah (ufs, local, nodev, nosuid, mounted by dwmalone,
writes: sync 2 async 0, reads: sync 14 async 0) umount blah fg

su temp1# sysctl -w vfs.usermount=0

David.

To Unsubscribe: send mail to majo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message