Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


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

Set UID no longer supported on mount.cifs



Bill Bogstad wrote:
> On Sat, Feb 6, 2010 at 9:12 AM, jbk <jbk-SkCWf5sxpj0sV2N9l4h3zg at public.gmane.org> wrote:
>   
>> As the subject line says you can no longer make mount.cifs setuid. The
>> change was made last November but the effects did not appear in the
>> distributions till January.
>> ...
>>
>> Does anyone see another means to maintain the users ability to mount
>> their network shares transparently?
>>     
>
> I'm not sure why the sudo (with restricted commands) is not an option.
>  Before the existence of sudo,
> I would have written a trivial C program which just exec()ed the real
> program and installed it with the setuid bit set.   Here is some
> UNTESTED code:
>   
And given that I know squat about C programming it will remain untested 
by me. I can do a passable job at a bash script. I will get started on 
re-writing the script to use sudo.

Jim KR







BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org