trick question about sudo

Valent Turkovic valent.turkovic at gmail.com
Mon Feb 18 18:43:09 UTC 2008


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.



-- 
http://kernelreloaded.blog385.com/
linux, blog, anime, spirituality, windsurf, wireless
registered as user #367004 with the Linux Counter, http://counter.li.org.
ICQ: 2125241, Skype: valent.turkovic




More information about the fedora-list mailing list