On Tue, 2003-03-18 at 04:15, Oeystein Olsen wrote:
> On Monday 17 March 2003 23:44, Jacob Langley wrote:
> > I normally use Slackware but my gf uses linux.  I want her to be able to
> > mount the samba shares she has on my file server on her laptop easily.
> > On my own machine i added the info to the fstab and installed smbmnt
> > suid root. 
        sorry for being unclear - my server is redhat as well.  smbmnt the
other machine i have set up (slackware) is my laptop.
> > I have the samba stuff installed on her laptop, and the
> > drive mounts fine if i do a mount /mnt/path as root but I can't do it as
> > her user.  I went looking for smbmnt but I couldn't find it.  Anyone
> > know what I have to do differently with RedHat?
> 
> I think you want the package samba-client and not samba.

        I have the samba-client installed and I can't _find_ smbmnt on her
laptop.

> 
> This is what I put in my /etd/fstab/ on my laptop:
> 
> //mymachine.uio.no/username        /home/olsen/UiO      smbfs        \ 
> defaults,uid=olsen,gid=olsen,credentials=/home/olsen/.smbmntrc 0 0
> 
> The file .smbmntrc contains the following in plain text:
> 
> username=uio/username
> password=secretofcourse
> 
> And ls -l .smbmntrc gives:
> ls -l .smbmntrc
> -r--------    1 olsen olsen       39 Mar 16 21:40 .smbmntrc
> 
> Then smbmnt don't have to be suid root, and the samba-share is mounted at 
> every boot. Only root can unmount/mount the share. I don't know if this is 
> better that setting smbmnt suid root.
> 
> 
> 
> 
> -- 
> Øystein Olsen, [EMAIL PROTECTED], http://folk.uio.no/oeysteio
> Institute of Theoretical Astrophysics, http://www.astro.uio.no
> University of Oslo, Norway
-- 
Jacob Langley   <[EMAIL PROTECTED]>

GPG id:26BD3340
GPG fingerprint:2D27 4B63 A5A2 0BDB 260F  1410 D689 3116 26BD 3340



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to