LinuxQuestions.org
Review your favorite Linux distribution.
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 05-01-2011, 02:34 PM   #1
stevenrollins
LQ Newbie
 
Registered: May 2011
Posts: 5

Rep: Reputation: 0
Unhappy cron jobs


I need to set up a cron job so that, once every 10 minutes, the computer will automatically archive the home directory and all subdirectories (/home). The archive is to be named homeback.tar, and is placed in a directory named /backup.
 
Old 05-01-2011, 02:36 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Welcome to LQ

In a terminal type
Code:
man cron
and
Code:
man tar
Kind regards
 
Old 05-01-2011, 02:38 PM   #3
stevenrollins
LQ Newbie
 
Registered: May 2011
Posts: 5

Original Poster
Rep: Reputation: 0
Unhappy create user name

I need to create a user named backupadmin, and ensure that only the user named backupadmin will have access to the /backup directory.
 
Old 05-01-2011, 02:42 PM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Take a look at
Code:
man useradd
man chown
man group
Kind regards
 
Old 05-01-2011, 02:43 PM   #5
stevenrollins
LQ Newbie
 
Registered: May 2011
Posts: 5

Original Poster
Rep: Reputation: 0
I need to set up a cron job so that, once every 10 minutes, the computer will automatically archive the home directory and all subdirectories. the archive is to be named homeback.tar, and is placed in a directory named /backup.
 
0 members found this post helpful.
Old 05-01-2011, 02:45 PM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Quote:
Originally Posted by stevenrollins View Post
I need to set up a cron job so that, once every 10 minutes, the computer will automatically archive the home directory and all subdirectories. the archive is to be named homeback.tar, and is placed in a directory named /backup.
Look in your other thread for the answer.
You need to do some research.

Kind regards
 
Old 05-01-2011, 02:52 PM   #7
xzcallaway
Member
 
Registered: Oct 2008
Posts: 33

Rep: Reputation: 4
From the menu click System;Administration;Users and Groups. Click Add to add a new user. After the new user is added, select that user and click Advanced. In the advanced window you can enable / disable administration access. when the User with administration access is logged in, then you can right click the folder you want to restrict access to and select properties. In the properties menu select permissions and restrict the access to only the User with Administrator access.
 
Old 05-01-2011, 02:52 PM   #8
stevenrollins
LQ Newbie
 
Registered: May 2011
Posts: 5

Original Poster
Rep: Reputation: 0
I need modify the /etc/skel directory so that all newly created users will automatically receive a file called README in their home directory that contains new employee information.
 
0 members found this post helpful.
Old 05-01-2011, 02:57 PM   #9
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Please do not post homework.
From the LQ rules
Quote:
Do not expect LQ members to do your homework - you will learn much more by doing it yourself.
https://www.linuxquestions.org/linux/rules.html

Kind regards
 
Old 05-01-2011, 02:58 PM   #10
stevenrollins
LQ Newbie
 
Registered: May 2011
Posts: 5

Original Poster
Rep: Reputation: 0
Unhappy cron jobs

I need to set up a cron job so that, once every 10 minutes, the computer will automatically archive the home directory and all subdirectories. the archive is to be named homeback.tar, and is placed in a directory named /backup.
 
0 members found this post helpful.
Old 05-01-2011, 03:00 PM   #11
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
As said before,
Please do not post homework.
From the LQ rules
Quote:
Do not expect LQ members to do your homework - you will learn much more by doing it yourself.
https://www.linuxquestions.org/linux/rules.html

Kind regards
 
Old 05-01-2011, 03:04 PM   #12
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,949

Rep: Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693
Quote:
Originally Posted by stevenrollins View Post
I need to set up a cron job so that, once every 10 minutes, the computer will automatically archive the home directory and all subdirectories. the archive is to be named homeback.tar, and is placed in a directory named /backup.
Yes...this is the third time you posted the same question.

As others have said, do your own homework. You've been pointed to the man pages, (which will tell you most everything you need to know), and a very brief Google search can easily answer these questions as well.

However, I think what you've come HERE for is not the knowledge, but rather someone to do it FOR you. And this really isn't the place to get success with that. We are always glad to HELP, but we will not do your work FOR YOU. If you're stuck, post a detailed question explaining the situation.
 
Old 05-01-2011, 06:13 PM   #13
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
I took the liberty to merge the two closely related threads/the dupe of one of
the posts and its follow ups.

---------- Post added 02-05-11 at 10:14 ----------

I took the liberty to merge the two closely related threads/the dupe of one of
the posts and its follow ups.
 
  


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
Processes running while we create a new user and the user logs in rahulchandrak Linux From Scratch 3 05-08-2010 12:09 AM
Trying to create a /home/user for a new user on a remote server Cyberman Linux - Server 1 03-27-2010 06:27 PM
Create user add file with default password and force user to change it? Morgandy Linux - Newbie 3 02-02-2010 06:06 PM
how to create sftp user only in red hat 4 not ftp user ..only sftp user princeu28 Linux - Newbie 1 10-14-2008 09:10 AM
user home dir doesn't create when new user add dev_mohamed Linux - Software 3 01-12-2007 02:08 AM


All times are GMT -5. The time now is 06:42 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