LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 02-22-2006, 03:34 PM   #1
steve21
LQ Newbie
 
Registered: Feb 2006
Posts: 4

Rep: Reputation: 0
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
 
Old 02-22-2006, 04:00 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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?
 
Old 02-22-2006, 04:01 PM   #3
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
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
 
Old 02-22-2006, 04:06 PM   #4
steve21
LQ Newbie
 
Registered: Feb 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Don't people understand im not here for someone to do the work for me? I just want some help/guidance
 
Old 02-22-2006, 04:10 PM   #5
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Stevie Baby,

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

How To Ask Questions The Smart Way
 
Old 02-22-2006, 04:12 PM   #6
steve21
LQ Newbie
 
Registered: Feb 2006
Posts: 4

Original Poster
Rep: Reputation: 0
OH is that right? and what age would that be smart guy?
 
Old 02-22-2006, 04:14 PM   #7
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
21 ... acting like 5
 
Old 02-22-2006, 04:15 PM   #8
steve21
LQ Newbie
 
Registered: Feb 2006
Posts: 4

Original Poster
Rep: Reputation: 0
How is it acting like 5 when im asking for help? is everyone on this forum this big of a douchebag?
 
Old 02-22-2006, 04:47 PM   #9
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
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.

Last edited by Mara; 02-22-2006 at 04:49 PM.
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Back to slack, kind of rusty, maybe making mistakes. rdiaz Slackware 3 02-03-2006 01:47 PM
st lab u-163 question YBA^[x] Linux - Hardware 0 12-29-2004 05:29 AM
Hacked by Paul "Rusty" Russell mnauta Linux - Security 14 11-15-2004 10:14 PM
need help urgently!!! display not coming and error mesage coming when user is logging rddreamz Linux - Newbie 0 08-14-2003 11:11 AM
Linux Redhat Lab Sarah Linux - Networking 1 02-27-2002 08:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration