LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-21-2002, 11:11 AM   #1
cruella
LQ Newbie
 
Registered: Jun 2001
Posts: 17

Rep: Reputation: 0
Share home directory


We have Redhat 6.0, Windows NT Server 4.0 and Windows NT workstations 4.0. I need to share "joanne's" home directory with another user, "boss". I created a new group to include both users, changed the group for that directory and changed all the attributes as necessary. When I do a "l -ls", it shows the group. When I connect through Windows as "boss" I cannot see the directory. Is there something else I need to do?
 
Old 01-21-2002, 02:01 PM   #2
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
Re: Share home directory

Quote:
Originally posted by cruella
We have Redhat 6.0, Windows NT Server 4.0 and Windows NT workstations 4.0. I need to share "joanne's" home directory with another user, "boss". I created a new group to include both users, changed the group for that directory and changed all the attributes as necessary. When I do a "l -ls", it shows the group. When I connect through Windows as "boss" I cannot see the directory. Is there something else I need to do?
i'm assuming you're running samba on redhat.

changing the group permissions isn't enough. you have to tell samba that user 'boss' is allowed to browse /home/joanna
 
Old 01-21-2002, 02:08 PM   #3
cruella
LQ Newbie
 
Registered: Jun 2001
Posts: 17

Original Poster
Rep: Reputation: 0
How do I do that?
 
Old 01-21-2002, 02:14 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
set it up as a normal share and set the 'valid users =' line for that share in smb.conf

man smb.conf
 
Old 01-22-2002, 01:17 AM   #5
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
As acid_kewpie said, the users need to be valid as far as Samba is concerned. You might have to do something like "smbpasswd -a <username> <username's password>" to get that working. You can do "man smbpasswd" for more on that if need be. Otherwise, here's a snip from my /etc/smb.conf file for a share on my linux box which can be accessed from my Win98 box by the users "dave" and
"boris":
Code:
[shared]
 comment = home shared directory
 path = /home/shared
 valid users = dave boris
 public = no
 browseable = yes
 writeable = yes
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba - Share definition on a folder under a home directory craig467 Linux - Software 9 06-07-2005 03:29 AM
Possible to share Home directory between SUSE 9.3 and Red Hat Enterprise Linux 4? Paramjeet Linux - Newbie 7 05-26-2005 09:29 PM
Samba :share files from home directory to an other user flashdelux Linux - Software 0 11-29-2004 12:57 PM
Share /home Directory aeruzcar Linux - General 5 09-02-2003 07:50 PM
Can I share my /home directory.. GhostInDarkness Linux - Newbie 7 08-28-2003 03:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration