There are a number of things you can do with samba and the mount
command.  I know on HP-UX if you install the cifs swinstall package
you can allow anyone to mount the file system .  The thing is you have
to try and use the file system for it too show up.  If you use nagios
to monitor what file systems are mounted this can be a problem.  With
Linux if you read the mount man pages you can allow all users to mount
and unmount file systems.  Or you can just call the file system at
boot up in the /etc/fstab or use a /etc/rc.local script to mount the
smbfs/cifs fs.

Mike Miller

On 11/28/06, mage <[EMAIL PROTECTED]> wrote:
Here is how to make smbmnt run as SUID; as root run:

whereis smbmnt
    (this is in /usr/bin/ on my system, so I will use that path)
chmod +s /usr/bin/smbmnt

Now, using your regular account, try you actions again.  You may find
that some other programs need to be SUID also (I believe that mount will
need to be, if it isn't already), just do the chmod +s on those, as root
of course.

Thanks,

Chris

>While working in SMB4k to mount win shares on a p2p
>network, I get the error: smbmnt must be installed
>suid root for direct user mounts (1000.1000)
>
>This may be so obvious, however:
>Does this indicate that everytime one mounts the
>shares, it requires a current login as ROOT?
>
>I would like to automate the backup of four win boxes
>using a beautiful Ubuntu6.10 box that see's the
>network but can't get into the shared folders on each,
>much less automate a nightly grab of critical files.
>Would hate to keep it running logged in as ROOT.
>
>Cheers,
>g
>
>
>
>____________________________________________________________________________________
>Want to start your own business?
>Learn how on Yahoo! Small Business.
>http://smallbusiness.yahoo.com/r-index
>_______________________________________________
>EUGLUG mailing list
>[email protected]
>http://www.euglug.org/mailman/listinfo/euglug
>
>
>

_______________________________________________
EUGLUG mailing list
[email protected]
http://www.euglug.org/mailman/listinfo/euglug

_______________________________________________
EUGLUG mailing list
[email protected]
http://www.euglug.org/mailman/listinfo/euglug

Reply via email to