LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 08-10-2005, 12:41 PM   #1
dvishloff
Member
 
Registered: Jun 2003
Location: Saskatchewan
Distribution: Gentoo, Smoothwall, CentOS, FreeBSD
Posts: 35

Rep: Reputation: 15
Home Directory Permission


Hello all,

I have got a CentOS 3.5 installation logging on with winbind to a w2k AD domain, and I was wondering if there was a better way to set up users home directories than to have them created on the local linux box (I am running thin clients of this machine). Or, if not possible to set them up with their windows home folders, maybe a way to change the directory permissions on their linux home folders when they are first created so that nobody else can access them? Winbind (I believe) creates the home folders under /home/DOMAIN/USERNAME, all I need is for the folders to be chmodded to 711 or have them created with those permissions.

Any and all ideas would be appreciated.

Thanx
 
Old 08-11-2005, 04:07 AM   #2
ZilenT-X
LQ Newbie
 
Registered: Aug 2005
Posts: 6

Rep: Reputation: 0
You can configure pam to make homedirs for new users. and sett the correct permissions on them.

This is an example on how it can be done.

session required pam_mkhomedir.so umask=0022 skel=/etc/skel



__
ZiLenT-X
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache Root/Home Directory and setting up FTP for home directories? Mankind75 Linux - Newbie 6 07-23-2006 02:37 PM
permission denied to home directory ekdya Debian 3 11-08-2005 04:24 PM
Permission problems when removing user's home directory. davethegenius Linux - Software 3 08-11-2005 04:01 PM
Default home directory permission kumarsundaram Linux - Security 14 06-30-2005 07:33 PM
Default home directory permission in SUSE 9.1 soldonz Linux - Security 1 05-26-2005 05:41 AM


All times are GMT -5. The time now is 04:18 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration