Problème lors de la création d'un user

:smt006 Hello tout le monde, je suis actuellement entrain de mettre en place un serveur de fichier pour mon travail, tout ce passe plutôt bien mais je bloque sur un truc!

Lors de la création d’un user, j’aimerai que son dossier home ce voit affecté les droits 0770 j’ai donc tout naturellement modifier la ligne DIR_MODE en mettant DIR_MODE=0770 dans mon fichier adduser.conf mais voilà malgré un reboot de la machine plusieurs essais les droits du dossier home de l’utilisateur reste par défaut soit 0755 :confused:
J’ai également modifié quelques paramètres dans ce fichiers afin de mieux l’adapter à nos besoin et ça à bien marché, voici mon fichier adduser.conf:

[quote]# /etc/adduser.conf: `adduser’ configuration.

See adduser(8) and adduser.conf(5) for full documentation.

The DSHELL variable specifies the default login shell on your

system.

DSHELL=/bin/bash

The DHOME variable specifies the directory containing users’ home

directories.

DHOME=/home

If GROUPHOMES is “yes”, then the home directories will be created as

/home/groupname/user.

GROUPHOMES=no

If LETTERHOMES is “yes”, then the created home directories will have

an extra directory - the first letter of the user name. For example:

/home/u/user.

LETTERHOMES=no

The SKEL variable specifies the directory containing “skeletal” user

files; in other words, files such as a sample .profile that will be

copied to the new user’s home directory when it is created.

SKEL=/etc/skel

FIRST_SYSTEM_[GU]ID to LAST_SYSTEM_[GU]ID inclusive is the range for UIDs

for dynamically allocated administrative and system accounts/groups.

Please note that system software, such as the users allocated by the base-passwd

package, may assume that UIDs less than 100 are unallocated.

FIRST_SYSTEM_UID=1000
LAST_SYSTEM_UID=2000

FIRST_[GU]ID to LAST_[GU]ID inclusive is the range of UIDs of dynamically

allocated user accounts/groups.

FIRST_UID=1000
LAST_UID=2000

The USERGROUPS variable can be either “yes” or “no”. If “yes” each

created user will be given their own group to use as a default. If

“no”, each created user will be placed in the group whose gid is

USERS_GID (see below).

USERGROUPS=no

If USERGROUPS is “no”, then USERS_GID should be the GID of the group

`users’ (or the equivalent group) on your system.

USERS_GID=500

If DIR_MODE is set, directories will be created with the specified

mode. Otherwise the default mode 0755 will be used.

DIR_MODE=0775

If SETGID_HOME is “yes” home directories for users with their own

group the setgid bit will be set. This was the default for

versions << 3.13 of adduser. Because it has some bad side effects we

no longer do this per default. If you want it nevertheless you can

still set it here.

SETGID_HOME=yes

If QUOTAUSER is set, a default quota will be set from that user with

`edquota -p QUOTAUSER newuser’

QUOTAUSER=""

If SKEL_IGNORE_REGEX is set, adduser will ignore files matching this

regular expression when creating a new home directory

SKEL_IGNORE_REGEX=“dpkg-(old|new|dist)”

Set this if you want the --add_extra_groups option to adduser to add

new users to other groups.

This is the list of groups that new non-system users will be added to

Default:

#EXTRA_GROUPS=“dialout cdrom floppy audio src video lp src users”

If ADD_EXTRA_GROUPS is set to something non-zero, the EXTRA_GROUPS

option above will be default behavior for adding new, non-system users

#ADD_EXTRA_GROUPS=1[/quote]

Au niveau de ce que j’utilise:

Dell PowerEdge 2950
Debian Etch 2.6.18-6-686
Gnome

note: je passe via l’interface graphique pour la création des users, en ligne de commande par contre ça marche très bien.
Malheureusement, je suis obligé de passer via une interface graphique c’est une condition pour la mise en place de ce serveur :frowning:

Merci de votre aide :wink: