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

From ubermix Wiki
Jump to: navigation, search
(Created page with "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 c...")
 
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
'''IMPORTANT: Please make sure you enable wireless for all users (otherwise these directions will not work because Network Manager will not be available until user logs-in)'''
 +
 +
  A. Click on your Wireless Connection Icon in upper right corner.
 +
   
 +
  B. Click '''Edit Connections''' at the bottom of list.
 +
 
 +
  C. Click on the '''Wireless''' Tab.
 +
 
 +
  D. Select Wireless connection (example "'''MyWifi'''") and then Click on '''Edit'''
 +
  -- Enter the password '''"Password"''' unless you have changed the default Ubermix password.
 +
 
 +
  E. Click on the '''Wireless''' Tab.
 +
 
 +
  F. Click on the '''Available to all users''' in bottom left corner of the open window.
 +
 +
 
Adding Ubermix to Active directory is easy with these steps:
 
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:  
+
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 (/home/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/.config /etc/skel/
 +
 
 +
    cp -r /home/user/.gconf /etc/skel/
 +
 
 +
    cp -r /home/user/.gconfd /etc/skel/
 +
 
 +
    cp -r /home/user/.gnome2 /etc/skel/
 +
 
 +
    cp -r /home/user/.local /etc/skel/
 +
 
 +
    cp -r /home/user/.nautilus /etc/skel/
 +
 
 +
    cp -r /home/user/.scribus /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.
 +
 
  
#open terminal with Ctrl-T
+
    nano /etc/hostname  
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:
+
    sudo reboot
  
#open terminal with Ctrl-T
+
5. After the computer is rebooted, join to the AD and reboot again
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'''
#open terminal with Ctrl-T
 
  
sudo -i
+
    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:
+
    adjoin -w {name of AD Domain} -u {user of AD with rights to join}
  
#open terminal with Ctrl-T
+
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'''.
sudo -i
 
apt-get install nano ssh centrify*
 
nano /etc/hosts #ctrl-o to save and Y to overwrite -- edit the name that starts with system-{mac}
 
nano /etc/hostname #ctrl-o to save and Y to overwrite
 
sudo reboot #reboot the computer
 
  
5) After the computer is rebooted, join to the AD and reboot again
+
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.''
#open terminal with Ctrl-T
 
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.
+
'''More Advanced Topics on Active Directory and Centrify:'''
  
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 is to put a wait time in the log-in script for lightdm.
+
* [[Linking to Active Directory Home Directories using CentrifyDN]]

Latest revision as of 12:42, 27 April 2012

IMPORTANT: Please make sure you enable wireless for all users (otherwise these directions will not work because Network Manager will not be available until user logs-in)

  A. Click on your Wireless Connection Icon in upper right corner.
    
  B. Click Edit Connections at the bottom of list.
  
  C. Click on the Wireless Tab.
  
  D. Select Wireless connection (example "MyWifi") and then Click on Edit 
  -- Enter the password "Password" unless you have changed the default Ubermix password.
  
  E. Click on the Wireless Tab.
  
  F. Click on the Available to all users in bottom left corner of the open window.


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 (/home/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/.config /etc/skel/
   cp -r /home/user/.gconf /etc/skel/
   cp -r /home/user/.gconfd /etc/skel/
   cp -r /home/user/.gnome2 /etc/skel/
   cp -r /home/user/.local /etc/skel/
   cp -r /home/user/.nautilus /etc/skel/
   cp -r /home/user/.scribus /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.

More Advanced Topics on Active Directory and Centrify: