trick question about sudo

Brian Chadwick brianchad at westnet.com.au
Tue Feb 19 00:32:48 UTC 2008


Valent Turkovic wrote:
> Hi,
> I have one question about sudo.
>
> While looking for uid/gid override for samba mounts I found this solution:
> sudo echo 0 > /proc/fs/cifs/LinuxExtensionsEnabled
>
> But this obviously doesn't work on Fedora but this works:
> sudo sh -c 'echo 0 > /proc/fs/cifs/LinuxExtensionsEnabled'
>
> But the trick question is in which setups and which circumstances can
> the first sudo work?
>
> Cheers,
> Valent.
>
>
>
>   

sudo "echo 0 > /proc/fs/cifs/LinuxExtensionsEnabled"

will work




More information about the fedora-list mailing list