<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><br><br>--- On <b>Fri, 4/17/09, JohnS <i><jses27@gmail.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">From: JohnS <jses27@gmail.com><br>Subject: Re: [CentOS-docs] Wish to contribute a Winki Article<br>To: "Mail list for wiki articles" <centos-docs@centos.org><br>Date: Friday, April 17, 2009, 12:39 PM<br><br><pre>        <br>        <br>        Made the changes.  Please check it over if I made a mistake.  <br>        I tried very<br>         hard to address everyone's concerns. <br>        I decided not to delve too deeply into setting up rights for the users.<br><br><br>Yes that part is confusing see below...<br>         <br>        I felt that was beyond the scope of the article and was easy enough to<br>learn on your own.  <br>        My desire is to provide the
 NOT-SO-EASY to find documentation.<br>        <br>        Thanks...<br>        <br>        Akemi<br><br>Sorry, what I meant was to write articles that provided information that was not so<br>easily obtained. I didn't want to include a lot of detail on chmod and setting up the rights of the users<br>because I felt other articles had already addressed that concern.  However,<br>if you want me to include more information...I would be happy to do so.<br><br>Let me know<br>"setsebool –P samba_domain_controller on"<br>Take this out or there needs to be a seperate page referring howto make<br>a samba domain controller with "winbindd"<br>http://wiki.centos.org/HowTos/SambaDomainControler I can help with<br>writing it. Any Takers with exp? This is a Win NT Style Domain. The only<br>way as in "MACHINENAME\USERNAME" Or an option is to wait for<br>Samba to<br>totaly emulate a Win 2000 Active Directory Domain Controler.<br><br>4. Step 4: Adding Users<br><br>Now
 that we have security taken care of, it's time to add users. For<br>this example, I'm going to create a user named dave (which happens to be<br>my name)<br><br>useradd dave -d /mnt/data/home/dave<br><br>(Notice the -d command). This creates my home directory on the new data<br>drive AWAY from the operating system. Now you have the best of both<br>worlds.<br><br>"It is recommended that you establish these rights for each user."<br><br>**Ok this is contradicting to what you said above. Useradd does this or<br>Adduser or the System-**Config-Adduser will do this.<br><br>"chown (user): (user) /mnt/data/home/(user)<br>chown dave:dave /mnt/data/home/dave"<br><br>So these two commands are not needed if this is used -<br>"useradd dave -d /mnt/data/home/dave"<br><br>Confusing - <br>"chmod 770 -R /mnt/data"  0750 should be enough ???<br><br>Should not be be needed *IF* users are added in this fashion -<br>useradd dave -d /mnt/data/home/dave<br><br>"The last action
 (smbpasswd) adds the passwd to the smbpasswd database.<br>The actual password file has changed over the years. The latest is<br>passtb.tdb but its original name was smbpasswd. You can see the<br>confusion with a command having the same name as a file!"<br><br>This can be amended to say also that the *tdb data bases can be backed<br>up and restored.<br><br>JohnStanley<br><br><br><br><br>_______________________________________________<br>CentOS-docs mailing list<br>CentOS-docs@centos.org<br>http://lists.centos.org/mailman/listinfo/centos-docs<br></pre></blockquote></td></tr></table><br>