To Temple College Class  logo R. Craig Collins >CPMT 2449 > Overview 7

Overview 7 © R. Craig Collins, 2005/6

•Items that should be accomplished before the beginning of the current time frame:
   •Read Chapter 4
Items to accomplish during the current course time frame:

•Read Creating Users, below

Must supply: Organizational units can be used to subdivide the domain, so you may create groups to logically organize certain users, or to control resources for that group, using a group policy.

•Review
   •Chapter 4

Activities Users and Templates Windows

  1. Manually add user Windows
    Specifications
    1. In Windows Server command prompt
      dsadd /?
    2. To create one user using DSADD, named Kent C Deforest
      dsadd user "cn=Kent C Deforest,cn=users,dc=your domain,[dc=522,]dc=templejc,dc=edu"
      Note: Other DSADD options you may add:
      -pwd value - memberof "cn=value" -profile "\\server\profiles\value" -disabled no
      Other DS related command DSMOD and DSMOVE and DSQUERY
      dsmod /?
      dsmove /?
      dsquery /?
  2. Graphically add user Windows
    1. Click Start, select Administrative Tools, and then click Active Directory Users and Computers
      Right Click the Users container, and select New, and click User
    2. Example
      Create one user graphically, named Warren Peese;
      username wpeese,
      password Password1
    3. Right click the users and to Memberof add Server Operators, not full administrator
      (in this class, all users need to be server operators or administrators in order to 'sit at' this machine.)
  3. Automating user creation, by creating a template with all memberof, dialin, etc., already set
    1. Creating a user Template
      Example
      • Right Click the Users container, and select New, and click User
      • In the New Object-User dialog box, type _Template in the First name text box
        (the _ ensures the templat account appears at the top of the user listing)
      • Press Tab four times to reach the User Logon name field. Type template and choose Next.
      • In the Password text box, type Password1, and again for the confirm password.
      • Right click the _Template user account, and choose Properties
      • In the description text box on the General tab, type typical user
      • Click the Profile tab, for the path \\your server's name\profiles\%username%
        (this will automatically create profiles based on the user name
      • Click the Memberof tab and add the template as a memberof Server Operators
  4. Now create resources and groups to test the server
To set the Faculty group up so that they have full control over both the Faculty and Students folders.
Set the Students group so that they have full control over the Students folder, and read only and list permissions for the Faculty Folder.

Activities Users and Templates Linux
1. Optional Manually add user Linux
    Specifications

PS Don’t name your user faculty, then your group faculty, and then a folder faculty. This will lead to confusion later, use different, meaningful names.

2. System Administration: Users and Groups
Create two ‘New users,’ such as
Username (User ID for logon) fflintstone001,
Full Name Fred Flintstone
Password Password2

Username (User ID for logon) bruble001,
Full Name Barney Ruble
Password Password2

Create two ‘New groups,’ such as
Students
Faculty

3. Open up the Linux equivalent of (My) Computer, and browse to the ‘home’ folder.

Create a folder called Share
using chmod, set Share to 777
probably will need to use something like
chmod 777 /home/Share
so everyone has read write execute.
We will alter individual folders inside of Share later

(In Windows, we created the Users folder during the server set up… we are now playing catch up.)

Create a new folder called FacultyStuff in the Share folder
Create a new folder called StudentStuff in the Share folder

As these folders were created by you the administrator, you would now need to change the group affiliation to the correct group.

   • to change which group a file belongs to, use chgrp
     chgrp groupname file or folder, such as
chgrp Faculty /home/Share/FacultyStuff

    (to change which owner (user) a file belongs to, use chown
     chown ownername file or folder)

Browse to the home folder, then right click the folder in question... choose Properties, then choose Permissions

Linux folder permissions

Back in the GUI, right click the StudentStuff folder and make sure
Others have Read and Right
Others in this case is the Faculty group

You could also do this with
chmod 775 /home/Share/StudentStuff

right click the FacultyStuff folder and make sure Others have Read
Others in this case is the Student group

 

   •review chmod here
    chmod rwx ugo file or folder
        •chmod g refers to changing permissions for the file or folders current group

Controlling not just the folders, but the drive the folders are saved on: Dynamic Disks

RAID concepts

          Microsoft How to:Dynamic Disks  http://support.microsoft.com/kb/323442

Disks are divided into partitions, disks can be aggregated with volumes that span disks
   • to http://support.microsoft.com/kb/816307
Start/Administrative Tools/Computer Management/Disk Management
Right clickbasic disk that you want to change, and then click Convert to Dynamic Disk
     the gray area that contains the disk title, such as Disk 0
Creating a Simple Volume
Right click unallocated space, then choose New Volume
   • to http://support.microsoft.com/kb/323442

•Complete
   •Lab 5:
      •Create Groups and Users in both Linux and Windows
      •Create Faculty Folder and Files
         •Give Faculty full control in both,
          give students full control in the student folder, and read list in faculty
   •Lab 6:
      •Convert your Windows Server to a dynamic disk (ONE WAY CONVERSION, CAN'T BE UNDONE)
            Microsoft How to:Dynamic Disks  http://support.microsoft.com/kb/323442
      •OSS5-6 Quiz in D2L:

•Submit
   •Something
   •MUD (My Understanding, Details) respond as directed to the following:
      What topics, if any, during this time frame do you feel very comfortable with? Why?
      What topics, if any, during this time frame do you not feel comfortable with?
   •Class Discussion/BFO (Blinding Flash of the Obvious): respond as directed to the following:
      aldljaldfjalkdfjlakdjf


•For the next time frame, read:
   •Chapter 5

•Each test has a review; you may wish to write out pertinent information from the readings and activities

•After completing this overview, you may wish to start on the next Overview material, and preview Lab x