LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Questions about creating users and scheduling jobs (homework) (https://www.linuxquestions.org/questions/linux-newbie-8/questions-about-creating-users-and-scheduling-jobs-homework-938080/)

ajaybalana 04-04-2012 09:04 AM

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 ........

TobiSGD 04-04-2012 09:41 AM

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.

XavierP 04-07-2012 12:41 PM

Moved: This thread is more suitable in Linux-Newbie and has been moved accordingly to help your thread/question get the exposure it deserves.

colucix 04-07-2012 01:10 PM

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.

devinwhite717 04-10-2012 09:44 AM

Linux tutorial
 
You can find the answer here
http://tips-linux.net/en/linux-ubunt...er-linux-guide

chrism01 04-11-2012 09:26 PM

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


All times are GMT -5. The time now is 08:48 PM.