logo

Automated Account Management, Designing and Implementing File Systems with Ubuntu

   

Added on  2023-04-22

34 Pages4720 Words437 Views
 | 
 | 
 | 
NETWORKING
Student ID: ********
Student Name: ********
Submission Date: ********
University Name: ********
1
Automated Account Management, Designing and Implementing File Systems with Ubuntu_1

Table of Contents
Part 1 Automated Account Management...................................................................................3
Part 2 Designing File Systems...................................................................................................7
Part 3 Implementing the File System with Ubuntu..................................................................13
Part 4 Making the file system Accessible and Robust.............................................................19
Part 5 File System Management with Scripts..........................................................................27
References................................................................................................................................31
Automated Account Management, Designing and Implementing File Systems with Ubuntu_2

Part 1 Automated Account Management
This task is used to prepare the two shell scripts which are used to manage the user
information. The First shell scripts is used to reads the text file called backup.txt. The second
shell scripts are used to change the password in every 60 days. These are will be executed.
First Scripts
#!/bin/sh
for i in `more userlist.txt `
do
echo $i
adduser $i
done
Automated Account Management, Designing and Implementing File Systems with Ubuntu_3

Automated Account Management, Designing and Implementing File Systems with Ubuntu_4

Second Scripts
#!/bin/sh
echo $i
chage -M 60 allen $i
chage -M 60 jeff $i
chage -M 60 chandana $i
chage -M 60 antonio $i
# What to backup.
backup_files="/home"
# Create archive filename.
day=$(date +%A)
hostname=$(hostname -s)
archive_file="$hostname-$day.tgz"
# Print start status message.
echo "Backing up $backup_files to $dest/$archive_file"
date
echo
# Backup the files using tar.
tar czf $dest/$archive_file $backup_files
# Print end status message.
Automated Account Management, Designing and Implementing File Systems with Ubuntu_5

echo
echo "Backup finished"
date
# Long listing of files in $dest to check file sizes.
ls -lh $dest
Automated Account Management, Designing and Implementing File Systems with Ubuntu_6

Automated Account Management, Designing and Implementing File Systems with Ubuntu_7

Part 2 Designing File Systems
We have begun utilizing an amazing solution for backup our Linux records and
envelopes to Amazon S3 called Cloudberry Backup. A Cloudberry Backup permits to
perform backups of all Linux frameworks and accessible for Ubuntu, Debian, Fedora, Suse,
Red Hat, Cent OS. Not just for Linux, it is accessible for Windows and macOS too. With
Cloudberry Backup, we can back up our information to Amazon S3, Google Cloud, and
Azure just as other accessible distributed storage plans. Cloudberry bolsters the immediate
exchange of information from source to goal without handling the information on outsider
servers, making information much secure and less defenceless to interruption. We can
likewise check the consistency of our backups to guarantee appropriate recovery anytime. It
supports gradual backups for example we can utilize it to backup altered records and we can
likewise backup organize areas like NAS, mapped drives and so on with it. Concerning
reclamation, we can re-establish information on the equivalent or distinctive machine, we can
plan the re-establish activity whenever we need, we can choose the point so as to re-establish
and Cloudberry Backup can likewise re-establish the representative connections of our Linux
frameworks ("Backup Linux data to Amazon S3 with CloudBerry Backup - LinuxTechLab",
2019). There are two versions accessible for us to utilize:
Freeware version
Automated Account Management, Designing and Implementing File Systems with Ubuntu_8

End of preview

Want to access all the pages? Upload your documents or become a member.