LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Have a lab final coming up and im rusty on implementing the commands (https://www.linuxquestions.org/questions/linux-newbie-8/have-a-lab-final-coming-up-and-im-rusty-on-implementing-the-commands-418481/)

steve21 02-22-2006 03:34 PM

Have a lab final coming up and im rusty on implementing the commands
 
It is using fedora...this is what I have to do and yes to experienced users im sure its very easy...but to me I really havent a clue. I know alot of commands but we dont get much lab time. IF anyone is willing to help me complete this I will paypal that person $40 in appreciation for the help....thanks!



Used linux fedora



Add the following users through CLI:
Login User ID Group ID GroupName
Msteele 3001 5000 finance
Jbiggins 3002 5000 finance
Jsawyer 3003 6000 sales
Wanderson 3004 6000 sales
1. Create 2 directories:
/home/finance
/home/sales

2. Modify the permissions of the /home/finance so that the owner is msteele and the group is finance
3. Modify the permissions of the /home/sales so that the owner is jsawyer and the group is sales
4. Modify the permissions as follows:
/home/finance owner = read/write/execute, group = read and execute, others = none

/home/sales owner = read/write/execute, group = read and execute, others = none
6. Become the jbiggins user
7. Create two empty files under his default home directory called: file1.txt and file2.txt
8. Show your instructor
• The configuration file related to the user’s account (login, default home dir, default shell, etc.)
• The configuration file related to Linux group.
• Permissions for /home/finance and /home/sales
• The contents of the default directory for jbiggins

1. Using the appropriate Linux command and options, delete the user jbiggins, his home directory and its contents.
2. Show your Instructor

3. Become the msteele user

4. Permanently change the user’s prompt through his hidden profile file. The prompt should now be:
username@current_date>
5. Make a directory called /home/finance/scripts
6. Create a BASH shell to print out the current directory followed by the current date and time. The script is called /home/finance/scripts/dir.sh
7. Change msteele’s environment so that /home/finance/scripts is in your path every time you login as msteele
8. Show your instructor:
• The new prompt
• Execute dir.sh

1. Become the jsawyer user
2. Modify jsawyer’s profile so that the following commands are equivalent:
• Showlocation = type
• Showfiletype = file
1. Show your instructor

2. Activate ftp

3. Modify the local configuration file so that your ip address equates to the host name:
Yourlogin.itt.com (192.168.20.6) Jordan.itt.com
1. Copy /home/finance/scripts/dir.sh into the public anonymous ftp directory
2. As the jsawyer user, create a directory called /home/sales/scripts.

3. As root create a tar archive of /home/msteele directory called msteele.tar
4. Copy the msteele.tar file into the public anonymous ftp directory
5. Connect to your own ftp server through anonymous ftp
• Change the ftp client directory to /home/sales/scripts
• Activate # markings
• Download the Dir.sh script and the msteele.tar archive into /home/sales/scripts from the anonymous ftp public directory

1. Copy /etc/passwd into /home/jsawyer
2. Use vi to modify /home/jsawyer/passwd
3. Show your instructor
• Delete 2 lines
• Go to the end of the file (first character of the last line)
• Go to the end of the line
• Go to the beginning of the line
• Copy and paste a line

1. As the user msteele, create a cron job to execute /home/finance/scripts/dir.sh after 2 minutes. Make sure to redirect the output of dir.sh into /home/msteele/dir.log
2. Show your instructor

pixellany 02-22-2006 04:00 PM

If I were your instructor reading this, you would not be on my "good" list.
What is the class and why are you there?
Are you in school to learn---or to simply get a diploma?
After you get your diploma, will you be paying people to do your work assignments?

Bruce Hill 02-22-2006 04:01 PM

Read the rules you agreed to when you signed up!
You have broken a few of them, and your thread will be closed.
And I for one have no respect for someone who isn't willing
to do their work.
http://www.catb.org/~esr/faqs/smart-questions.html

steve21 02-22-2006 04:06 PM

Don't people understand im not here for someone to do the work for me? I just want some help/guidance

Bruce Hill 02-22-2006 04:10 PM

Stevie Baby,

I'm giving you all the help/guidance you can handle at your age!

How To Ask Questions The Smart Way

steve21 02-22-2006 04:12 PM

OH is that right? and what age would that be smart guy?

Bruce Hill 02-22-2006 04:14 PM

21 ... acting like 5

steve21 02-22-2006 04:15 PM

How is it acting like 5 when im asking for help? is everyone on this forum this big of a douchebag?

Mara 02-22-2006 04:47 PM

Closed. It's just a flame war, not worth to continue.

To the orginal poster: the tasks use basic Unix/Linux commands: mkdir, touch, chown, chmod and so on. Every Unix/Linux beginner book will cover them all. Also, the combination of apropos and man commands should give you enough (often too much) details.

Edit (to other posters from this thread): if you think that a post breaks LQ rules just report it and move along. There's no reason to get into arguments.


All times are GMT -5. The time now is 06:47 PM.