LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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


Reply
  Search this Thread
Old 04-04-2012, 10:04 AM   #1
ajaybalana
LQ Newbie
 
Registered: Apr 2012
Posts: 1

Rep: Reputation: Disabled
Questions about creating users and scheduling jobs (homework)


Hello Help me in This Linux Question .

I got This Question ,,Can anyone Tell Me Its solutions with the Help of Linux Command

Question 1 ::

Create User employee1,employee2,employee3 under group Employees, and also create User manager1,manager2,manager3 under Group Managers.

Answer....i Solved This Question 1.But i wasnt able to solve Question 2.

here is Question 2 and Question3
Question 2.

Schedule a job for employee1 which will run at 20 minutes after the hour. call the script hello.sh and the script must echo the message "hello linux world" and mail it to the root account

Question 3 : Create the directory /home/managers so that only members of the group managers are permitted to read,write and execute inside the new directory. Switch to the user id manager1 and signin by putting the string "manager1" into the file /home/managers/signin.txt. it is important that only managers can enter the directory and write to the signin.txt file.


** i am using CentOS Image in Vmware ........
 
Old 04-04-2012, 10:41 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,131
Blog Entries: 2

Rep: Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833
For question 2: have a look here: http://clickmojo.com/code/cron-tutorial.html
For question 3: http://www.comptechdoc.org/os/linux/..._ugfilesp.html

A sidenote: LinuxQuestions.org is a community of people that are spending their free time to help other people with their Linux related problems. We are not paid to do this, all of us are volunteers. Demanding urgent help is considered rude here (especially when it comes to homework questions) and will drive people away from reading your threads. Normally you yourself should be able to solve those questions, if you have followed your course and read the provided material. Of course we will help you if you have problems to understand the material (although the first way should be to ask your teacher for better explanations), but we will not do the work for you. Show us what you have done already and where you have problems, that way you will learn more.

Last edited by TobiSGD; 04-04-2012 at 10:43 AM.
 
Old 04-07-2012, 01:41 PM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Moved: This thread is more suitable in Linux-Newbie and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 04-07-2012, 02:10 PM   #4
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Please use a descriptive title for your thread excluding words like 'urgent' or 'help'. Using a proper title makes it easier for members to help you. This thread has been reported for title modification. Please do not add replies that address the thread title.
 
Old 04-10-2012, 10:44 AM   #5
devinwhite717
LQ Newbie
 
Registered: Mar 2012
Posts: 10

Rep: Reputation: 1
Linux tutorial

You can find the answer here
http://tips-linux.net/en/linux-ubunt...er-linux-guide
 
Old 04-11-2012, 10:26 PM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,260

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
Show us what you've got so far and what errors you have; we'll point you in the right direction
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Cron Jobs Scheduling champak Programming 2 11-30-2007 02:01 AM
LXer: Scheduling Backup Jobs using at and crontab LXer Syndicated Linux News 0 04-22-2006 02:24 AM
scheduling jobs javier_ccs Linux - Newbie 4 01-09-2006 10:14 AM
Scheduling jobs Netmaster0000 Linux - Newbie 3 12-13-2003 07:43 AM
Problems scheduling jobs with cron ferrantepunto Linux - General 5 01-24-2003 08:05 AM


All times are GMT -5. The time now is 12:21 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration