Changes

From SME Server
Jump to navigationJump to search
no edit summary
Line 85: Line 85:  
===Authentication Modifications===
 
===Authentication Modifications===
 
{{Warning box| Altering the pam system authentication files can seriously effect your ability to login in to the system. Take a backup of the /etc/pam.d directory and /etc/nsswitch.conf. Have a live CD available to give access and re-apply the backup files if you make a mistake and/or get locked out}}
 
{{Warning box| Altering the pam system authentication files can seriously effect your ability to login in to the system. Take a backup of the /etc/pam.d directory and /etc/nsswitch.conf. Have a live CD available to give access and re-apply the backup files if you make a mistake and/or get locked out}}
Open and edit /etc/nsswitch.conf and find the 'hosts:' line. Change it to
+
*Open, check and edit as necessary /etc/nsswitch.conf  
 
  hosts: files wins dns
 
  hosts: files wins dns
Check also
   
  group:  files winbind
 
  group:  files winbind
 
  passwd: files winbind
 
  passwd: files winbind
 
  shadow: files winbind
 
  shadow: files winbind
Save and close
+
:Save and close
cd/etc/pam.d
+
*Open and edit the /etc/pam.d/system-auth file, and amend as below
Open and edit the system-auth file, and amend as below
     −
Open and edit the password-auth file, and amend as below
+
*Open and edit the /etc/pam.d/password-auth file, and amend as below
    
   
 
   
 
=== Automount User Home Directories at Login===
 
=== Automount User Home Directories at Login===
cd /etc/security
+
Open and edit /etc/security/pam_mount.conf.xml file. Find the 'Volume Definitions' section. Add a volume line below the header
 
  −
Open and edit pam_mount.conf.xml file. Find the 'Volume Definitions' section. Add a volume line below the header
   
  <nowiki><!-- Volume Definitions --> </nowiki>
 
  <nowiki><!-- Volume Definitions --> </nowiki>
 
  <volume fstype="cifs" server="<SMESERVER>" path="homes" mountpoint="~/nethome" options="nosuid,nodev" />
 
  <volume fstype="cifs" server="<SMESERVER>" path="homes" mountpoint="~/nethome" options="nosuid,nodev" />

Navigation menu