diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/Samba-Guide/SBE-500UserNetwork.xml | 16 | ||||
-rw-r--r-- | docs/Samba-Guide/SBE-Appendix1.xml | 4 | ||||
-rw-r--r-- | docs/Samba-Guide/SBE-MakingHappyUsers.xml | 24 | ||||
-rw-r--r-- | docs/Samba-Guide/SBE-SecureOfficeServer.xml | 14 | ||||
-rw-r--r-- | docs/Samba-Guide/SBE-SimpleOfficeServer.xml | 2 | ||||
-rw-r--r-- | docs/Samba-Guide/SBE-TheSmallOffice.xml | 6 |
6 files changed, 33 insertions, 33 deletions
diff --git a/docs/Samba-Guide/SBE-500UserNetwork.xml b/docs/Samba-Guide/SBE-500UserNetwork.xml index d86b97d044..8aef19b140 100644 --- a/docs/Samba-Guide/SBE-500UserNetwork.xml +++ b/docs/Samba-Guide/SBE-500UserNetwork.xml @@ -799,11 +799,11 @@ hosts: files dns wins <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 @@ hosts: files dns wins <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> diff --git a/docs/Samba-Guide/SBE-Appendix1.xml b/docs/Samba-Guide/SBE-Appendix1.xml index d6fded0d3c..2b98d92abd 100644 --- a/docs/Samba-Guide/SBE-Appendix1.xml +++ b/docs/Samba-Guide/SBE-Appendix1.xml @@ -603,7 +603,7 @@ M.ROOT-SERVERS.NET. 3600000 A 202.12.27.33 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 @@ to LAM using only SSL. <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 diff --git a/docs/Samba-Guide/SBE-MakingHappyUsers.xml b/docs/Samba-Guide/SBE-MakingHappyUsers.xml index 0ef6f6f61f..ceeffbb027 100644 --- a/docs/Samba-Guide/SBE-MakingHappyUsers.xml +++ b/docs/Samba-Guide/SBE-MakingHappyUsers.xml @@ -1953,10 +1953,10 @@ change the path to them in your &smb.conf; file on the PDC (<constant>MASSIVE</c 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 @@ my $smbldap_bind_conf="/etc/smbldap-tools/smbldap_bind.conf"; 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 @@ application/octet-stream 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 @@ structuralObjectClass: organizationalUnit <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 @@ structuralObjectClass: organizationalUnit 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 @@ structuralObjectClass: organizationalUnit &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 @@ structuralObjectClass: organizationalUnit 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> diff --git a/docs/Samba-Guide/SBE-SecureOfficeServer.xml b/docs/Samba-Guide/SBE-SecureOfficeServer.xml index 5b824a195f..1dfe63ff0c 100644 --- a/docs/Samba-Guide/SBE-SecureOfficeServer.xml +++ b/docs/Samba-Guide/SBE-SecureOfficeServer.xml @@ -1074,10 +1074,10 @@ Added user <parameter>username</parameter>. <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 @@ Added user <parameter>username</parameter>. <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> diff --git a/docs/Samba-Guide/SBE-SimpleOfficeServer.xml b/docs/Samba-Guide/SBE-SimpleOfficeServer.xml index b1e9c6a076..59ff58af21 100644 --- a/docs/Samba-Guide/SBE-SimpleOfficeServer.xml +++ b/docs/Samba-Guide/SBE-SimpleOfficeServer.xml @@ -540,7 +540,7 @@ Password changed 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 diff --git a/docs/Samba-Guide/SBE-TheSmallOffice.xml b/docs/Samba-Guide/SBE-TheSmallOffice.xml index c9e2d3c0e4..e8f8bf427d 100644 --- a/docs/Samba-Guide/SBE-TheSmallOffice.xml +++ b/docs/Samba-Guide/SBE-TheSmallOffice.xml @@ -487,9 +487,9 @@ Users (S-1-5-32-545) -> -1 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 |