[clug-talk] mounting question
Robert Lewko
lewkor at gmail.com
Wed May 20 15:02:10 PDT 2009
ahhhh!!! Sorry that won't work! I need to try things before I make
suggestions.
On Wed, May 20, 2009 at 4:55 PM, Robert Lewko <lewkor at gmail.com> wrote:
> actually I just looked on my system here at work. Mount has no special
> permissions. There maybe security implications for the following suggestion
> - be ware. Try "chown root.admin /bin/mount ; chmod g+s /bin/mount" and add
> the user to the admin group.
>
> On Wed, May 20, 2009 at 4:40 PM, Shawn <sgrover at open2space.com> wrote:
>
>> I'm trying to execute the following command in a script:
>>
>> mount -t cifs -o username=$user,password=$pass //192.168.0.14/c$$MOUNTDIR/remote
>>
>> I'm getting told that only root can do this. The local directory in
>> question is owned by my user account, and I need to run the script as that
>> user - not as root.
>>
>> I'm trying to remove the need to use sudo and/or enter passwords here to
>> help automate things....
>>
>> Sooo, what am I missing? Does my user account need to be added to a group
>> so it can use mount?
>>
>> Shawn
>>
>> _______________________________________________
>> clug-talk mailing list
>> clug-talk at clug.ca
>> http://clug.ca/mailman/listinfo/clug-talk_clug.ca
>> Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
>> **Please remove these lines when replying
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://clug.ca/pipermail/clug-talk_clug.ca/attachments/20090520/94366446/attachment.html>
More information about the clug-talk
mailing list