[CS-FSLUG] sudo, alternatives, configurators

Jonathan E. Brickman jeb at joshuacorps.org
Sat Jan 10 21:13:31 CST 2009


>> I thoroughly agree.  Linc, do you know of a good GUI sudo configurator?
>> sudo is the best permissions-override system I know of (although, come
>> to think of it, there are at least two or three more in the Ubuntu
>> repository I have not tried!  Hmmm), but its configuration complexity
>> drives me batty.
>>
>> J.E.B.
>
> Alas, no.  However, it's probably not as hard configuring sudo as you 
> may think.  Most times, there are good examples already there that you 
> can copy, and many times you can just uncomment an example and make 
> sure your user is part of that group.  But really, just put this in 
> the end of that file:
>
> yourloginname ALL=(ALL) ALL
>
> and that will let you use sudo to do whatever you need to do.
>
That line I have used before -- and for the current basic home desktop, 
I think it is quite sufficient.  It works well, because anything can be 
done, with the user's own password.

But the instant we extend to what really should be "intermediate" (not 
advanced) usage -- mounting shares located on either an SMB NAS or 
Windows PC, _mounting them automatically at login_ -- that simple sudo 
doesn't work, and I don't have anything really good which does.  I spent 
an hour or two a while back figuring out how to get 'sudo' to do this, 
but it was such a pain in the neck, and I couldn't be sure I wasn't 
opening huge security holes...:-(. 

I wish one of the 'fuse' SMB filesystems would work reliably with XP 
Home; if it would, the problem would be solved nicely.  But I wrestled 
with that for hours a while back, and won't do it again unless informed 
outside input tells me it's easy :-)

I have even looked into NFS on XP Home (Cygwin does it supposedly, I'm 
not so sure having tried it) and other wildcards (OpenAFS?) as ways to 
work around Microsoft's non-self-compliant XP Home SMB, but thus far, 
nothing has worked well.  I have thought of putting XP Pro on my wife's 
PC and using documented methods of setting up a Linux-based Win32 
domain, but this would be a very complex solution for us, and would not 
help anyone else.

Do you have a simple way to have SMB NAS or XP Home shares mount 
automatically at login? 

J.E.B.





More information about the Christiansource mailing list