Ci-dessous, les différences entre deux révisions de la page.
— |
welcome:linux_usually:samba [2021/05/23 10:58] (Version actuelle) |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | <color # | ||
+ | |||
+ | ====== Installation ====== | ||
+ | On Ubuntu 20: | ||
+ | < | ||
+ | |||
+ | ====== Settings ====== | ||
+ | ===== / | ||
+ | Good information: | ||
+ | ==== General settings ==== | ||
+ | Let more or less as it is for a simple file sharing. | ||
+ | |||
+ | ==== Sahres ==== | ||
+ | |||
+ | |||
+ | ===== Management of users and groups ===== | ||
+ | ==== General ==== | ||
+ | |||
+ | * Samba needs " | ||
+ | * But the user must exist in linux before creating the corresponding samba-user. | ||
+ | * By removing is the same way but in the other direction: first remove the samba-user and then the unix-user | ||
+ | * The passwords for unix and samba can be different but setting the same make the life easier (!) | ||
+ | * Even if setting into '' | ||
+ | |||
+ | ==== Some important commands ==== | ||
+ | [[welcome: | ||
+ | * restart samba server < | ||
+ | * test config of ''/ | ||
+ | * list the unix groups < | ||
+ | * remove a user from a group < | ||
+ | * add a user into a group < | ||
+ | * list groups from a user < | ||
+ | * list users < | ||
+ | * remove the unix-user < | ||
+ | * remove the samba-user < | ||
+ | * create or change password of a samba-user < | ||
+ | * create a unix-user < | ||
+ | * list the samba-users < | ||
+ | * list UID and GUI of a user < | ||
+ | * add a group a set its gid < | ||
+ | * add an user a set its uid < | ||
+ | * check if samba runs < | ||
+ | * get information about samab running < | ||
+ | ====== Shared folders ====== | ||
+ | Permissions: |