Mounting options

Ho'ala Greevy hoala at secretbonus.com
Mon Jan 21 12:12:05 PST 2002


have you tried using sudo?

maybe add something like this to /etc/sudoers

# User alias specification
User_Alias      SAMBAUSERS = smb_user1, smb_user2, smb_user3 

# Runas alias specification
Runas_Alias     OP = root 

# Cmnd alias specification
Cmnd_Alias      SAMBAMOUNT= /path/to/smbmount

# User privilege specification
root    ALL=(ALL) ALL
SAMBAUSERS      ALL=SAMBAMOUNT

-=-=

'man sudo' and 'man sudoers' give much more detail on configuring
sudo.  good luck!

-ho'ala

On Sun, 20 Jan 2002, Yuser wrote:

> Only problem with smbmount is mounting the shares as a user and
> not root.  Is there an easy way to do this?  I figured I could have the
> mounting occur automatically on logging in.
> 



More information about the LUAU mailing list