LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 01-10-2011, 05:44 PM   #1
jawest
LQ Newbie
 
Registered: Jul 2010
Posts: 2

Rep: Reputation: 0
Automating administrative tasks in Fedora 10


Peace and Love all,


I am a student at DeVry University, newly introduced to Fedora and Linux in general, and have a project whereby, we have been asked to consider some administrative tasks that we could automate via a script.

I was wondering if there were any thoughts or directives from the community on what admin tasks you guys find to be of inestimable use in automating via a Linux script.

I am new to the Linux commands but have done a wee bit of programming before in C++ and others.

I have also done basic DOS batch files before...

Any web resources and pointers would be much appreciated.

Last edited by jawest; 01-10-2011 at 05:46 PM.
 
Old 01-10-2011, 06:31 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Hi, welcome to LQ!

Two things that instantaneously spring to mind:

Log monitoring
Log rotation (if not already part of your distro)


Cheers,
Tink
 
Old 01-10-2011, 06:59 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,093

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
hi jawest

You are aware that fedora 10 is a dead version .
It hit it's END OF LIFE last year
There will NEVER be any new software for it .
There is NO support for 10
There never will be any updates to it .
New software from other places( like firefox4 ) WILL NOT run on it( ff 3.6.13- the current might not even run).

and even installing rpms form the OLD fedora10 repo will require that you edit yum to point to the HISTORICAL archives
http://forums.fedoraforum.org/showthread.php?t=221471

that post is not keep up to date so you will have to correct for 10 instead of 9

"Log rotation"
fedora uses cron for the log rotation default is 30 days

not many things ,that have not already , need a new script
1)software update ?
but seeing as 10 has not had any released in over a year and that there will NEVER be any ,that is NEVER to be an issue in 10

2)running ClamAV for MS viruses on a mail server
that is already taken care of by a daemon

this one maybe
adding new users to an extended network
adding and restricting there SELinux permissions for the new users
-- that can be a pain if you need to do it for 50 new users
 
Old 01-10-2011, 09:01 PM   #4
mr.b-o-b
LQ Newbie
 
Registered: Jan 2011
Location: Edina, MN
Distribution: Slackware, CentOS
Posts: 24

Rep: Reputation: 1
The first thing that comes to mind that hasn't been mentioned is backups.

Depending what your running on your box, you should automate some kind of backup solution (to a remote ftp, external hdd, usb drive, file server what ever you have at your disposal).

Good Luck!
 
Old 01-11-2011, 01:30 AM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,362

Rep: Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377
These links may help you learn Linux:
http://linux.oneandoneis2.org/LNW.htm
http://rute.2038bug.com/index.html.gz
http://www.linuxtopia.org/online_books/index.html

PS As per JohnVV, get yourself an up to date distro eg Fedora 14 or Centos 5.5

Last edited by chrism01; 01-11-2011 at 01:32 AM.
 
Old 01-14-2011, 06:30 PM   #6
jawest
LQ Newbie
 
Registered: Jul 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Much obliged family for your rapid response

I truly appreciate you all taking the time to provide me with some excellent feedback...still kicking around some ideas but the adding users with appropriate permissions, as well as, backing up maybe old users files and saving the actions to an appendable log file, sounds like a great composite of your thoughts on the matter.

Again thanks for listening and responding.

Ja West
 
  


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
Can't unlock some administrative tasks in Ubuntu 8.04 jonette20 Ubuntu 6 08-22-2009 11:21 AM
LXer: Automating tasks with crontab LXer Syndicated Linux News 0 11-19-2008 08:50 PM
LXer: LPI Exam Training: Administrative Tasks LXer Syndicated Linux News 0 07-12-2007 09:46 AM
Automating tasks by redirecting input lsgko Linux - Software 4 02-26-2006 11:47 PM
automating simple tasks blistfix Linux - Newbie 1 08-20-2001 06:29 AM


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