Difference between revisions of "Adding Ubermix to Active Directory using CentrifyDN"

From ubermix Wiki
Jump to: navigation, search
m
m
Line 5: Line 5:
 
'''open terminal with Ctrl-T if it is not already open'''
 
'''open terminal with Ctrl-T if it is not already open'''
  
sudo -i
+
    sudo -i
  
cd /usr/local/bin
+
    cd /usr/local/bin
  
mv update-hostname update-hostname.xxx
+
    mv update-hostname update-hostname.xxx
  
echo >>update-hostname
+
    echo >>update-hostname
  
chmod a+x update-hostname
+
    chmod a+x update-hostname
  
 
2. Go Ahead and update and upgrade Ubermix to make sure it is up-to-date for AD integration:
 
2. Go Ahead and update and upgrade Ubermix to make sure it is up-to-date for AD integration:
Line 19: Line 19:
 
'''open terminal with Ctrl-T if it is not already open'''
 
'''open terminal with Ctrl-T if it is not already open'''
  
sudo -i
+
    sudo -i
  
apt-get update
+
    apt-get update
  
apt-get upgrade
+
    apt-get upgrade
  
 
3. Copy contents from the default user logging in to /etc/skel so all users have the same desktop:
 
3. Copy contents from the default user logging in to /etc/skel so all users have the same desktop:
Line 29: Line 29:
 
'''open terminal with Ctrl-T if it is not already open'''
 
'''open terminal with Ctrl-T if it is not already open'''
  
sudo -i
+
    sudo -i
  
cp -r /home/user/. /etc/skel/
+
    cp -r /home/user/. /etc/skel/
  
 
4. Install  nano, ssh, and centrifydn, also edit the hostname and hosts file in /etc/hosts and /etc/hostname:
 
4. Install  nano, ssh, and centrifydn, also edit the hostname and hosts file in /etc/hosts and /etc/hostname:
Line 37: Line 37:
 
'''open terminal with Ctrl-T if it is not already open'''
 
'''open terminal with Ctrl-T if it is not already open'''
  
sudo -i
+
    sudo -i
  
apt-get install nano ssh centrify*
+
    apt-get install nano ssh centrify*
  
 
4a. Use your editor of choice, or '''nano''' to edit the '''/etc/hosts''' file: ctrl-o to save and Y to overwrite, then ctrl-x to exit; arrow keys move the cursor in the editor -- edit the name that starts with system-{mac} to a name you want identified in '''Active Directory'''. Do not add the .domain at the end. '''Nano''' works well for this because it does not add extra hidden characters like some editors do.
 
4a. Use your editor of choice, or '''nano''' to edit the '''/etc/hosts''' file: ctrl-o to save and Y to overwrite, then ctrl-x to exit; arrow keys move the cursor in the editor -- edit the name that starts with system-{mac} to a name you want identified in '''Active Directory'''. Do not add the .domain at the end. '''Nano''' works well for this because it does not add extra hidden characters like some editors do.
  
  
nano /etc/hosts  
+
    nano /etc/hosts  
  
4b. Use your editor of choice or '''nano''' to edit the '''/etc/hostname''' file -- ctrl-o to save and Y to overwrite -- edit the name that starts with system-{mac} to a name you want identified in '''Active Directory'''. Do not add the .domain at the end.
+
4b. Use your editor of choice or '''nano''' to edit the '''/etc/hostname''' file -- ctrl-o to save and Y to overwrite -- edit the name that starts with system-{mac} to a name you want identified in '''Active Directory'''. Do not add the .domain at the end. Reboot the computer.
  
  
nano /etc/hostname  
+
    nano /etc/hostname  
  
sudo reboot #reboot the computer
+
    sudo reboot  
  
 
5. After the computer is rebooted, join to the AD and reboot again
 
5. After the computer is rebooted, join to the AD and reboot again
Line 57: Line 57:
 
'''open terminal with Ctrl-T if it is not already open'''
 
'''open terminal with Ctrl-T if it is not already open'''
  
sudo -i
+
    sudo -i
  
adjoin -w {name of AD Domain} -u {user of AD with rights to join}
+
    adjoin -w {name of AD Domain} -u {user of AD with rights to join}
  
6. Go to System --> Login Screen {System is found across the bottom}, click the unlock. The password is "password". Click "Show the Screen for who will login in." Uncheck show list of users.
+
6. Go to '''System --> Login Screen {System is found across the bottom}''', click the '''unlock'''. The password is "password". Click '''"Show the Screen for who will login in."''' Uncheck '''show list of users'''.
  
 
7. Reboot the system *please note that the log-in screen will apear before the AD is ready for authentication. Please let the users know that they must wait. -- ''Note to Advanced Linux Administrators - put a wait time in the log-in script for lightdm.''
 
7. Reboot the system *please note that the log-in screen will apear before the AD is ready for authentication. Please let the users know that they must wait. -- ''Note to Advanced Linux Administrators - put a wait time in the log-in script for lightdm.''

Revision as of 11:10, 9 April 2012

Adding Ubermix to Active directory is easy with these steps:

1. Move the update-hostname to update-hostname.xxx and create a blank file -- this will keep the machine name from changing on startup and allow hostname to be set:

open terminal with Ctrl-T if it is not already open

   sudo -i
   cd /usr/local/bin
   mv update-hostname update-hostname.xxx
   echo >>update-hostname
   chmod a+x update-hostname

2. Go Ahead and update and upgrade Ubermix to make sure it is up-to-date for AD integration:

open terminal with Ctrl-T if it is not already open

   sudo -i
   apt-get update
   apt-get upgrade

3. Copy contents from the default user logging in to /etc/skel so all users have the same desktop:

open terminal with Ctrl-T if it is not already open

   sudo -i
   cp -r /home/user/. /etc/skel/

4. Install nano, ssh, and centrifydn, also edit the hostname and hosts file in /etc/hosts and /etc/hostname:

open terminal with Ctrl-T if it is not already open

   sudo -i
   apt-get install nano ssh centrify*

4a. Use your editor of choice, or nano to edit the /etc/hosts file: ctrl-o to save and Y to overwrite, then ctrl-x to exit; arrow keys move the cursor in the editor -- edit the name that starts with system-{mac} to a name you want identified in Active Directory. Do not add the .domain at the end. Nano works well for this because it does not add extra hidden characters like some editors do.


   nano /etc/hosts 

4b. Use your editor of choice or nano to edit the /etc/hostname file -- ctrl-o to save and Y to overwrite -- edit the name that starts with system-{mac} to a name you want identified in Active Directory. Do not add the .domain at the end. Reboot the computer.


   nano /etc/hostname 
   sudo reboot 

5. After the computer is rebooted, join to the AD and reboot again

open terminal with Ctrl-T if it is not already open

   sudo -i
   adjoin -w {name of AD Domain} -u {user of AD with rights to join}

6. Go to System --> Login Screen {System is found across the bottom}, click the unlock. The password is "password". Click "Show the Screen for who will login in." Uncheck show list of users.

7. Reboot the system *please note that the log-in screen will apear before the AD is ready for authentication. Please let the users know that they must wait. -- Note to Advanced Linux Administrators - put a wait time in the log-in script for lightdm.