svn commit: samba-docs r600 - in trunk/Samba-Guide: .
jht at samba.org
jht at samba.org
Sat May 28 18:38:20 GMT 2005
Author: jht
Date: 2005-05-28 18:38:20 +0000 (Sat, 28 May 2005)
New Revision: 600
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba-docs&rev=600
Log:
Replacing dot delimited with colon for chown command.
Modified:
trunk/Samba-Guide/SBE-500UserNetwork.xml
trunk/Samba-Guide/SBE-Appendix1.xml
trunk/Samba-Guide/SBE-MakingHappyUsers.xml
trunk/Samba-Guide/SBE-SecureOfficeServer.xml
trunk/Samba-Guide/SBE-SimpleOfficeServer.xml
trunk/Samba-Guide/SBE-TheSmallOffice.xml
Changeset:
Modified: trunk/Samba-Guide/SBE-500UserNetwork.xml
===================================================================
--- trunk/Samba-Guide/SBE-500UserNetwork.xml 2005-05-28 05:02:13 UTC (rev 599)
+++ trunk/Samba-Guide/SBE-500UserNetwork.xml 2005-05-28 18:38:20 UTC (rev 600)
@@ -799,11 +799,11 @@
<screen>
&rootprompt; mkdir -p /data/{accounts,finsvcs,pidata}
&rootprompt; mkdir -p /apps
-&rootprompt; chown -R root.root /data
-&rootprompt; chown -R root.root /apps
-&rootprompt; chown -R bjordan.accounts /data/accounts
-&rootprompt; chown -R bjordan.finsvcs /data/finsvcs
-&rootprompt; chown -R bjordan.finsvcs /data/pidata
+&rootprompt; chown -R root:root /data
+&rootprompt; chown -R root:root /apps
+&rootprompt; chown -R bjordan:accounts /data/accounts
+&rootprompt; chown -R bjordan:finsvcs /data/finsvcs
+&rootprompt; chown -R bjordan:finsvcs /data/pidata
&rootprompt; chmod -R ug+rwxs,o-rwx /data
&rootprompt; chmod -R ug+rwx,o+rx-w /apps
</screen>
@@ -824,15 +824,15 @@
<screen>
&rootprompt; mkdir -p /var/spool/samba
&rootprompt; mkdir -p /var/lib/samba/{netlogon/scripts,profiles}
-&rootprompt; chown -R root.root /var/spool/samba
-&rootprompt; chown -R root.root /var/lib/samba
+&rootprompt; chown -R root:root /var/spool/samba
+&rootprompt; chown -R root:root /var/lib/samba
&rootprompt; chmod a+rwxt /var/spool/samba
</screen>
For each user account that is created on the system, the following commands should be
executed:
<screen>
&rootprompt; mkdir /var/lib/samba/profiles/'username'
-&rootprompt; chown 'username'.users /var/lib/samba/profiles/'username'
+&rootprompt; chown 'username':users /var/lib/samba/profiles/'username'
&rootprompt; chmod ug+wrx,o+rx,-w /var/lib/samba/profiles/'username'
</screen>
</para></step>
Modified: trunk/Samba-Guide/SBE-Appendix1.xml
===================================================================
--- trunk/Samba-Guide/SBE-Appendix1.xml 2005-05-28 05:02:13 UTC (rev 599)
+++ trunk/Samba-Guide/SBE-Appendix1.xml 2005-05-28 18:38:20 UTC (rev 600)
@@ -603,7 +603,7 @@
the LDAP LDIF file for your system. Execute the following:
<screen>
&rootprompt; mkdir /etc/openldap/SambaInit
-&rootprompt; chown root.root /etc/openldap/SambaInit
+&rootprompt; chown root:root /etc/openldap/SambaInit
&rootprompt; chmod 700 /etc/openldap/SambaInit
</screen>
</para></step>
@@ -1085,7 +1085,7 @@
<indexterm><primary>file permissions</primary></indexterm>
Set file permissions using the following commands:
<screen>
-&rootprompt; chown -R wwwrun.www /srv/www/htdocs/lam
+&rootprompt; chown -R wwwrun:www /srv/www/htdocs/lam
&rootprompt; chmod 755 /srv/www/htdocs/lam/sess
&rootprompt; chmod 755 /srv/www/htdocs/lam/tmp
&rootprompt; chmod 755 /srv/www/htdocs/lam/config
Modified: trunk/Samba-Guide/SBE-MakingHappyUsers.xml
===================================================================
--- trunk/Samba-Guide/SBE-MakingHappyUsers.xml 2005-05-28 05:02:13 UTC (rev 599)
+++ trunk/Samba-Guide/SBE-MakingHappyUsers.xml 2005-05-28 18:38:20 UTC (rev 600)
@@ -1953,10 +1953,10 @@
and ownership as shown here:
<screen>
&rootprompt; mkdir -p /opt/IDEALX/sbin
-&rootprompt; chown root.root /opt/IDEALX/sbin
+&rootprompt; chown root:root /opt/IDEALX/sbin
&rootprompt; chmod 755 /opt/IDEALX/sbin
&rootprompt; mkdir -p /etc/smbldap-tools
-&rootprompt; chown root.root /etc/smbldap-tools
+&rootprompt; chown root:root /etc/smbldap-tools
&rootprompt; chmod 755 /etc/smbldap-tools
</screen>
</para></step>
@@ -2000,7 +2000,7 @@
To complete the configuration of the smbldap-tools, set the permissions and ownership
by executing the following commands:
<screen>
-&rootprompt; chown root.root /opt/IDEALX/sbin/*
+&rootprompt; chown root:root /opt/IDEALX/sbin/*
&rootprompt; chmod 755 /opt/IDEALX/sbin/smbldap-*
&rootprompt; chmod 640 /opt/IDEALX/sbin/smb*pm
</screen>
@@ -2938,7 +2938,7 @@
steps to printing heaven:
<screen>
&rootprompt; mkdir -p /var/lib/samba/drivers/{W32ALPHA,W32MIPS,W32X86,WIN40}
-&rootprompt; chown -R root.root /var/lib/samba/drivers
+&rootprompt; chown -R root:root /var/lib/samba/drivers
&rootprompt; chmod -R ug=rwx,o=rx /var/lib/samba/drivers
</screen>
</para></step>
@@ -3366,11 +3366,11 @@
<screen>
&rootprompt; mkdir -p /data/{accounts,finsvcs,piops}
&rootprompt; mkdir -p /apps
-&rootprompt; chown -R root.root /data
-&rootprompt; chown -R root.root /apps
-&rootprompt; chown -R bobj.Accounts /data/accounts
-&rootprompt; chown -R bobj.Finances /data/finsvcs
-&rootprompt; chown -R bobj.PIOps /data/pidata
+&rootprompt; chown -R root:root /data
+&rootprompt; chown -R root:root /apps
+&rootprompt; chown -R bobj:Accounts /data/accounts
+&rootprompt; chown -R bobj:Finances /data/finsvcs
+&rootprompt; chown -R bobj:PIOps /data/pidata
&rootprompt; chmod -R ug+rwxs,o-rwx /data
&rootprompt; chmod -R ug+rwx,o+rx-w /apps
</screen>
@@ -3393,7 +3393,7 @@
portion of his or her profile as shown here:
<screen>
&rootprompt; mkdir -p /var/lib/samba/profdata
-&rootprompt; chown root.root /var/lib/samba/profdata
+&rootprompt; chown root:root /var/lib/samba/profdata
&rootprompt; chmod 755 /var/lib/samba/profdata
# Per user structure
@@ -3404,7 +3404,7 @@
&rootprompt; do
&rootprompt; mkdir <emphasis>username</emphasis>/$i
&rootprompt; done
-&rootprompt; chown -R <emphasis>username</emphasis>.Domain\ Users <emphasis>username</emphasis>
+&rootprompt; chown -R <emphasis>username</emphasis>:Domain\ Users <emphasis>username</emphasis>
&rootprompt; chmod -R 750 <emphasis>username</emphasis>
</screen>
</para>
@@ -3441,7 +3441,7 @@
and has the needed permissions. Use the following commands to create this directory:
<screen>
&rootprompt; mkdir -p /var/lib/samba/profiles/<emphasis>username</emphasis>
-&rootprompt; chown <emphasis>username</emphasis>.Domain\ Users
+&rootprompt; chown <emphasis>username</emphasis>:Domain\ Users
/var/lib/samba/profiles/<emphasis>username</emphasis>
&rootprompt; chmod 700 /var/lib/samba/profiles/<emphasis>username</emphasis>
</screen>
Modified: trunk/Samba-Guide/SBE-SecureOfficeServer.xml
===================================================================
--- trunk/Samba-Guide/SBE-SecureOfficeServer.xml 2005-05-28 05:02:13 UTC (rev 599)
+++ trunk/Samba-Guide/SBE-SecureOfficeServer.xml 2005-05-28 18:38:20 UTC (rev 600)
@@ -1074,10 +1074,10 @@
<screen>
&rootprompt; mkdir -p /data/{accounts,finsvcs}
&rootprompt; mkdir -p /apps
-&rootprompt; chown -R root.root /data
-&rootprompt; chown -R root.root /apps
-&rootprompt; chown -R bjordan.accounts /data/accounts
-&rootprompt; chown -R bjordan.finsvcs /data/finsvcs
+&rootprompt; chown -R root:root /data
+&rootprompt; chown -R root:root /apps
+&rootprompt; chown -R bjordan:accounts /data/accounts
+&rootprompt; chown -R bjordan:finsvcs /data/finsvcs
&rootprompt; chmod -R ug+rwxs,o-rwx /data
&rootprompt; chmod -R ug+rwx,o+rx-w /apps
</screen>
@@ -1098,15 +1098,15 @@
<screen>
&rootprompt; mkdir -p /var/spool/samba
&rootprompt; mkdir -p /var/lib/samba/{netlogon/scripts,profiles}
-&rootprompt; chown -R root.root /var/spool/samba
-&rootprompt; chown -R root.root /var/lib/samba
+&rootprompt; chown -R root:root /var/spool/samba
+&rootprompt; chown -R root:root /var/lib/samba
&rootprompt; chmod a+rwxt /var/spool/samba
</screen>
For each user account that is created on the system, the following commands should be
executed:
<screen>
&rootprompt; mkdir /var/lib/samba/profiles/'username'
-&rootprompt; chown 'username'.users /var/lib/samba/profiles/'username'
+&rootprompt; chown 'username':users /var/lib/samba/profiles/'username'
&rootprompt; chmod ug+wrx,o+rx,-w /var/lib/samba/profiles/'username'
</screen>
</para></step>
Modified: trunk/Samba-Guide/SBE-SimpleOfficeServer.xml
===================================================================
--- trunk/Samba-Guide/SBE-SimpleOfficeServer.xml 2005-05-28 05:02:13 UTC (rev 599)
+++ trunk/Samba-Guide/SBE-SimpleOfficeServer.xml 2005-05-28 18:38:20 UTC (rev 600)
@@ -540,7 +540,7 @@
ownership and permissions:
<screen>
&rootprompt; mkdir -p /data/{ftmfiles,officefiles/{letters,invitations,misc}}
-&rootprompt; chown -R abmas.office /data
+&rootprompt; chown -R abmas:office /data
&rootprompt; chmod -R ug+rwxs,o-w,o+rx /data
</screen>
These demonstrate compound operations. The <command>mkdir</command> command
Modified: trunk/Samba-Guide/SBE-TheSmallOffice.xml
===================================================================
--- trunk/Samba-Guide/SBE-TheSmallOffice.xml 2005-05-28 05:02:13 UTC (rev 599)
+++ trunk/Samba-Guide/SBE-TheSmallOffice.xml 2005-05-28 18:38:20 UTC (rev 600)
@@ -487,9 +487,9 @@
Create the top-level file storage directories are follows:
<screen>
&rootprompt; mkdir -p /data/{accounts,finsvcs}
-&rootprompt; chown -R root.root /data
-&rootprompt; chown -R alanm.accounts /data/accounts
-&rootprompt; chown -R alanm.finsvcs /data/finsvcs
+&rootprompt; chown -R root:root /data
+&rootprompt; chown -R alanm:accounts /data/accounts
+&rootprompt; chown -R alanm:finsvcs /data/finsvcs
&rootprompt; chmod -R ug+rwx,o+rx-w /data
</screen>
Each department is responsible for creating its own directory structure within its
More information about the samba-cvs
mailing list