- 论坛徽章:
- 0
|
6点半考试结束,希望看到贴的高手们快快帮助下,留下联系方式,日后必有重谢!
这是我们外教出的考试题:
Graded Exercises
B1 ‐ MCU
Version : 1.0
Auteur : SLA‐Labs
Statut : Final
Warning: This document is the property of SUPINFO. You may not redistribute it unless you
were given the right to do so.
Graded Exercises
B1 – MCU
Page 2 / 3
Prerequisites :
Add another disk to the virtual machine (~ 300MB).
Write the answers in a text file :
For each part of this graded exercise, write down every command you typed to get the wanted
result. Add a dashed‐line ( ‐‐‐‐‐‐‐‐‐‐‐‐‐‐ ) between each parts.
Graded Exercise :
You are a Unix technician in the FreeBird company.
You’ve got the mission to prepare a workstation for one of your colleagues.
You have to proceed the following steps:
Prepare a storage area on a new hard drive:
Actually, there's no partition dedicated to the home directory. You should create one partition
on the new drive and create an ext3 file‐system on this partition.
Then, mount it on /home. (you may have to move the content of the /home directory before).
Create a new user and modify the home directory skeleton:
Each newly created users should get a home directory containing default directory: Docs, Music,
Pics.
Create a new group, "commusers", with the 1069 GID.
Create a new user, named "henri". His UID should be 1024 and his primary group should be
'commusers'.
Set up permissions:
Switch user to henri
Create the 'Private' and 'Public' directores.
Set up permissions on 'Private' so that only henri can access the data of the directory (other
people shouldn't even have the right to list the directory !).
Set up permissions on 'Public' so that everybody can read its data. Only henri should be able to
write in it.
Warning: This document is the property of SUPINFO. You may not redistribute it unless you
were given the right to do so.
Graded Exercises
B1 – MCU
Page 3 / 3
Manage softwares:
Install vim‐full.
Remove nano.
Update the whole system
Setup archiving with cron:
Setup cron to create an archive (gzip compressed) of henri's home directory every sunday, at
3:00AM.
The archive should be created in /mnt/, and called "henri‐homedir‐year‐month‐day.tar.gz".
Of course, day and month should be replaced with the correct day and month in numeric
format.
For example: "henri‐homedir‐34‐12‐31.tar.gz" if archiving happens on 31, december, 2034.
Hand back your graded exercise:
Send your text file to your SCT by email.
The mail subject should be stated as follows:
[GE‐MCU] China NAME Surname IDBOOSTER
Your text file should be named as follows:
[GE‐MCU]China‐Name‐Surname‐IDBOOSTER.txt
Graded Items:
Item Maximum Mark
Hard Drive Management 20
User Management 20
Permission Management 20
Software Management 20
Archiving 20
Total 100 |
|