[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

changing default umask on useradd

hello everyone !
  does anyone know of a way to change the default "useradd" or "adduser" behaviour in terms of giving permissions to the new users home directory ?  that is, when u add a new user, the permission on his/her new home dir is set at 755.  is there any way to make the default settig to chmod 775 or -rwxrwxrx upon adding ?
  i know this may be a bad idea for some, but these new group of users i want to add have no shell access and are all chrooted to their home dir when ftp'ing in.

Reply to: