[OM Cooker] Samba-Letz dance with the user.. and ->User-group of the user

Andreas Schneider dajudge61 at gmail.com
Sun Jan 24 07:47:06 EST 2016


Hi,
there is no Problem with Samba. Listen, you need to know how the rights
system works with Linux and Fileshares.
SAMBA / SMB works like this.
First of all you need to understand the Linux-Rights System and Permissions
and how it works
Samba and all Deps installed and configured so the Deamons start........
Create Users with theirs groups, add them to the needed groups...
Linux permissions system, heritable rights, THIS IS THE KEY !!!
Now you have created your Users and rights belonging to each Group, OR!
Rights per User....
Last Step, convert the Users for and to Samba .. means you need to add them
into Samba... and it works pretty fine.....

BlackCrack start to learn Linux or let other do it for you.

A good day


Its so awwwwwwwwwwfull to find new Linux Users who are worst to support
them then.....

2016-01-24 9:33 GMT+01:00 Blackcrack <blackcrack at blackysgate.de>:

> Hi,
>
> i have notice a small problem because samba,
> Samba have take the user with drakconf and able to configuring
> the user for the smbd but the user it's also in the group of the root wor
> easy aorking,
> not it's this wrong, the Sambauser (as example:blackcrack) if it is
> "blackcrack"
> it is in an own group, -> group=blackcrack so, if the files&folders
> prepared for blackcrack:blackcrack
> create samba the files and folders with chown blackcrack:root , so it's
> the blackcrack in the group of root and
> this can not be happens and it's wrong, because the usersecurity and
> systemsecurity.
>
> If the user blackcrack on the own group blackcrack, so chown
> blackcrack:blackcrack,
> should be the user blackcrack also be in samba in the group blackcrack (or
> maby in the group users)
> so, it is setting up in the samba an wrong strin.. to be all users in the
> root group for working easy and not for the security ..
>
> so schould look anyone to be setting up not "root" as group rather the
> string/variable GID
> or looking for the Users group to use the same usergroup as the exist user
> it is.
>
> btw, why can i not echo $GUD , echo $UID works ..
>
> can someone check this ?
>
> best regards
> Blacky
>
> _______________________________________________
> OM-Cooker mailing list
> OM-Cooker at ml.openmandriva.org
> http://ml.openmandriva.org/mailman/listinfo/om-cooker_ml.openmandriva.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ml.openmandriva.org/pipermail/om-cooker_ml.openmandriva.org/attachments/20160124/c08dd3a7/attachment.html>


More information about the OM-Cooker mailing list