Re: A Newbie question, please help!



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"
.



Relevant Pages

  • Re: A Newbie question, please help!
    ... # groupadd groepA ... # adduser -g groupA user01 ... such as user01 only can access Folder ...
    (alt.os.linux.suse)
  • Re: Problems "mount -t cifs" Windows share folder
    ... I got an external shared folder "exc" successfully listed (this folder ... Samba to share files with Windows. ... Click on File Sharing and enable Administrator Mode. ...
    (alt.os.linux.suse)
  • Re: SAMBA deletes folders in my home folder
    ... I use SAMBA to share printers between my WinXP machines and it works fine. ... As you know, when you careate an account in SAMBA for each WinXP user, when SAMBA server appears in the Wokgroup computers in WinXP machines, you can click on SAMBA server and you will see all printers shared and also a folder which acts as home folder for each WinXP user. ...
    (Debian-User)
  • Re: ftp with .... ?
    ... and then set its suid bit ... I have a samba server on a FreeBSD 7.1-STABLE running with mod-acl (or ... automagicly inharits permision of parent folder. ... master ftp account, but all files writen by this user ...
    (freebsd-questions)
  • ftp with .... ?
    ... Thus all data written with samba automagicly inharits permision of parent folder. ... I also want ftp access to that folder but also want it with acl "features"; I mean all files written by/through ftp will have inherited parent directory permisions, leaving samba full permisions over files/folder in that directory. ... from what I tinkered about I need some sort of control "agent" between the actual ftp and the disk (something similar to mod-acl of samba maybe?) or force the files that are to be written to disk to change theyre usr:group by some chmod-similar manner. ...
    (freebsd-questions)