[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [NETVAERK] mount af samba drev.



On Mon, May 10, 2004 at 01:46:26PM +0200, Peter Rude wrote:
> Jeg har behov for at forskellige brugere kan mounte samba drev når de 
> logger sig på.
> I brugerens home er oprettet en mappe common
> Sambaserveren er: \\192.168.0.4\common
> hvis jeg som bruger cc forsøger at mappe med:
> mount -t smbfs -o username=cc, password=xxxx //192.168.0.4/common 
> /home/cc/common
> får jeg svaret;  mount: only root can do that
> hvis jeg som root gør det samme mounter den fint, root kan skrive, men 
> bruger cc har kun læserettigheder.
> hvis bruger cc logger på fra en Win2k har han skriverettigheder.
> Hvad skal det til for at bruger cc selv kan mounte og få skriverettigheder?

Smid følgende ind i /etc/fstab:

//192.168.0.4/common   /home/cc/common    smbfs \
username=cc,password=xxx,uid=cc,user

Så kan brugeren bare skrive "mount common" (hvis han står i sit homedir).

-- 
Anders
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/O d--@ s:+ a-- C++ UL+++$ P++ L+++ E- W+ N(+) o K? w O-- M- V
PS+ PE@ Y+ PGP+ t 5 X R+ tv+ b++ DI+++ D+ G e- h !r y?
------END GEEK CODE BLOCK------
PGPKey: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8BFECB41


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 22:42 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *