Re: getting rid of "mount: only root can ..."

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 2, 2014 at 3:21 PM, Dale R. Worley <worley@xxxxxxxxxxxx> wrote:
>> From: Andy Lutomirski <luto@xxxxxxxxxxxxxx>
>>
>> This isn't really true any more.  Can we get rid of those checks or at
>> least have an option to turn them off?
>
> My understanding is that whether the user has to be root when running
> mount depends on the "user" and "users" options in fstab.  I assume
> that "those checks" haven't changed recently because the required
> behavior hasn't changed recently.

Blech.  I forgot that mount is setuid root.

What if mount determined that the requested option wasn't allowed by
fstab and instead fell back to dropping privileges and trying anyway?

--Andy
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux