Re: A Newbie question, please help!



On Aug 31, 5:56 am, "Theo v. Werkhoven" <t...@van-
werkhoven.nl.invalid> wrote:
The carbonbased lifeform long0345 inspired alt.os.linux.suse with:

Dear All,

I am a newbie using Linux and currently worked with samba, so I would
like to ask for your help about
few questions- it would be very simple for you but please help

Here is my situation:

I have two folder, folderA and folderB

Called directories for non-Windows people.

I would like to create 02 user group which are groupA and groupB

# groupadd groepA
# groupadd groepB

There 05 users belong to 02 group above:
user01, user02 belong to group A
user03, user04 belong to group B
user05 belong to both group A and group B.

# adduser -g groupA user01
# adduser -g groupA user02
# adduser -g groupB user03
# adduser -g groupB user04
# adduser -g groupA -G groupB user05

All I want to do here is manage user01-05 accessing the file server
following their security group, such as user01 only can access Folder
A, user05 can access both folderA and folderB.. (very simple with
windows 2000). How to do it?

smb.conf(5)
There are numerous documents on the net about configuring Samba.
And you're not *in* Win2k, so stop comparing.

BTW, Do I need to configure the Linux machine as the domain control
lever? Or I only create workgroup share lever?

Yes.

Is there any GUI Interfaces to do the above thing, like windows 2000?
The command to create user look like too complicated for me...and in
case there are 50 user and 10 group, it would be hard to manage it...

Scripting would be my answer, but SUSE has YaST if you want a GUI.

Theo
--
theo at van-werkhoven.nl ICQ:277217131 SuSE Linux
linuxcounter.org: 99872 Jabber:muadib at jabber.xs4all.nl AMD XP3000+ 1024MB
"ik _heb_ niets tegen Microsoft, ik heb iets tegen
de uitwassen *van* Microsoft"

Don't forget to add the users to samba as well:

smbpasswd -a user01
smbpasswd -a user02
etc.

Curtis Grote
Memorial Hospital

.



Relevant Pages