[rhn-users] Mounting Linux from Windows

Marty Merrick MMerrick at idleaire.com
Fri Jun 24 18:14:12 UTC 2005


True enough, I didn't think to edit that part of the command when I
composed the email. Good catch.

Marty

On Fri, 2005-06-24 at 11:05 -0700, Brian T. Brunner wrote:

> Does this not assume that the uid/gid is 500/500 for all users?
> 
> $UID and $GID might be better choices...
> 
> Brian Brunner
> brian.t.brunner at gai-tronics.com
> (610)796-5838
> 
> >>> Marty Merrick <MMerrick at idleaire.com> 06/24/05 01:57PM >>>
> Here's the command I use on RH:
> 
> smbmount //WindowsServer/share_to_mount /home/users_home/mount_point_dir
> -o username=username,uid=500,gid=500
> 
> The benefit of doing it this way is you can allow each (non-root) user
> control over which shares they mount. Have them create a mount point
> directory in their home directory. 
> 
> You will need to set the sticky bit on  /usr/bin/smbmnt (as root) as
> well: chmod +s /usr/bin/smbmnt
> 
> After that the (non-root) user can run the smbmount command as above.
> 
> Cheers,
> Marty
> 
> 
> On Fri, 2005-06-24 at 10:10 -0700, Clinton Fernandes wrote:
> 
> > In linux:
> > 
> > mount -t smbfs -o username=<username> <also any other options here> //<windows
> > machine name>/<path to mount> /mnt/<mount point>
> > 
> > the -o is for options. Usually for windows you'll need to supply a windows
> > username to gain access to the shared folder. (It'll ask for a password too).
> > 
> > `man mount` should provide other available options.
> > 
> 
> *******************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
> 
> This footnote also confirms that this email message has been swept
> for the presence of computer viruses.
> 
> www.hubbell.com - Hubbell Incorporated
> 
> _______________________________________________
> rhn-users mailing list
> rhn-users at redhat.com
> https://www.redhat.com/mailman/listinfo/rhn-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/rhn-users/attachments/20050624/024eca58/attachment.htm>


More information about the rhn-users mailing list