General :: Automating Administrative Tasks In Fedora 10

Jan 10, 2011

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.

View 5 Replies


ADVERTISEMENT

Debian :: Administrative Tasks Fail To Start

Sep 4, 2010

Over the past few days, I've noticed that administrative tasks sometimes fail to start. I'm asked to enter the administrative password, "Granting rights" appears in the bottom panel for a few seconds, but then disappears. I'm using Debian Lenny. This is only an intermittent problem, and if a task does fail to start, it will start on the next attempt. Tasks which have failed to start are:

*Launching Synaptic form the System menu.
*Launching a root terminal from the Applications menu.
*Launching Nautilus with root privileges from a terminal using gksu.

After coming across the following post, I thought maybe it was an issue with kernel 2.6.32-bpo.5-686, because I'd recently upgraded to that kernel too, but I'm advised that that isn't so.It was suggested that something else from backports might be causing the problem.

View 14 Replies View Related

Ubuntu :: Tool For Automating Repeated Tasks?

Feb 10, 2010

I want a tool, which can record my actions on the gnome desktop and play it again. I must be able to edit the recorded script.

View 3 Replies View Related

Ubuntu :: Using SSH From Mobile Phone To Manage Administrative Tasks?

May 23, 2010

I find myself using SSH from my mobile phone to manage administrative tasks when I'm away--completing updates and the like, things that can be done during normal usage but sap my RAM and CPU to the point of frustration, given the hardware I've got to work with. It's convenient, I can do what I wish (without the benefit of an X session) while I'm at work. The issue I run into is the fact that my auth.log is littered with items like this:

Code:
May 16 12:53:17 BETA sshd[18941]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=200.111.184.180
May 16 12:53:19 BETA sshd[18941]: Failed password for invalid user lala from 200.111.184.180 port 41787 ssh2
May 16 12:53:25 BETA sshd[18943]: Invalid user master from 200.111.184.180

Which tells me that some inconspicuous person and/or botnet keeps trying to get into my system. This is generally annoying; at this point, my system isn't used for anything particularly critical; however, the fact that only failures or questionable successes--such as those from my mobile, the IP and Host of which can vary a fair bit (and the host resolution almost always fails, based on the way the IP/Host advertisement is presented to an external host is established--it's essentially manufactured)--doesn't tell me who/what has figured it out. I've done what I can to tamp down SSH access to the system, root is blocked via SSH (a moot item, since root isn't allowed locally), I've limited only my own username as allowed to connect via SSH...all it would take, though, is an alphanumeric dictionary that hits the right combination to get a password prompt, and to be able to brute-force it from there.

Overall, I know there's few, if any ways, to prevent someone attempting to get into my system via SSH; what additional steps can I take to minimize the possibility that I might end up compromised?

View 1 Replies View Related

Ubuntu Security :: Don't Require Password For Administrative Tasks?

Jun 22, 2011

The title says it all. Is there a way to just click ok to administrative tasks instead of having to enter my password every time? Sort of like Windows 7's UAC.I'm using ubuntu 10.04 LTS. I don't want to log in as root

View 9 Replies View Related

General :: Security - Let Any User Perform Administrative Tasks On A System Irrespective Of His / Her Privileges On That Particular System?

Sep 26, 2010

I often get responses from people who first say: "Are you sure? You want your network to be exposed to the outside world?" I am not experimenting on a Production Server of NASA or any Security Concern Department. Friends, there is no harm in experimenting on your personal computer or on a test computer which is isolated from the production environment. Look at hackers! What do they do? If they don't know how security is breached then how would they come up with security measures?

If my question reads... "How to let any user perform Administrative Tasks on a Linux System irrespective of his/her privileges on that particular system?" then I would not get the right answers in the first place. They will say... "You are letting everyone destroy your system... are you sure you want to do that?" My question is: Why should we restrict ourselves from experimenting even if it sounds weird to other people?

I give you an example where it is desirable to let an unprivileged user perform certain tasks. You want to know if there are any employees in your office who are storing videos in their home directory and filling up the disk space to a great amount. You have a department called "Command Center or Data Center Operations or Help Desk" call it whatever you would, whose work is to monitor such activities, and you create an account "monitor" for them to monitor such activities but they are not able to do them:

[Code]..

View 8 Replies View Related

Fedora :: Automating Evolution - Is It Possible?

Dec 9, 2010

I use Evolution Mail Client everyday on my fedora machine. It has become indispensable somewhat. I am wondering if Evolution can be made to run in the background without the GUI, so it can check mails (IMAP/POP) and post delivery reminders through notify-send. I don't mean evolution-notify-alarm ... I know evolution-notify-alarm runs like that but I think that is limited to calender events and tasks (using data mostly stored locally)

I find that I get notified via notify-send interface only when Evolution GUI is on or minimized. Is there a way to get a real background version of this activity - the GUI can then appear when the Panel Icon is clicked

View 4 Replies View Related

Fedora :: Need Administrative Privileges FC14

Jun 18, 2011

I am new to this O/S. I have tried Mint and Ubuntu. There are some problems I would like to work out by myself before I take short-cuts, as if.I have tried to install codecs for my o/s media player and get a reply from computer "xxxx does not have sudoer rights, you will be reported."I tried to get sudoer rights and was told I had to have administrator rights first. To get administrator rights I needed sudoer rights. I decided to come to forums to ask and this is my first post.

Is there a danger in getting administrative rights? If so, I would still rather like to face the danger than not be able to play music. And how do I get real superuser rights? My root account is localhost.localdomain and my login account is XXXX. I would have access to everything rather than have a warning that the administration is receiving reports of my activity. Might anyone have help?

View 11 Replies View Related

General :: Automating GUI For Certain Task?

Jul 29, 2010

For a certain task, everytime I have to open 10 bash terminals and write different commands on them. Any way to automate this? I am running Fedora linux.

View 2 Replies View Related

Fedora Networking :: Trouble Automating IP Aliases

Jun 18, 2010

My system is F13 (upgraded from F11) with all of the latest patches available. I haven't gone through and combined all of the rpmnew configuration files, but none of them seem to address networking.I'm trying to get subinterfaces (secondary IP addresses) to work in Fedora 13. So far, I have been able to configure them on the command line, but not to get them to persist on booting.My base address for the NIC is: A.B.C.254. It is statically assigned.

View 5 Replies View Related

General :: Get Administrative Permissions In Ubuntu?

Jul 7, 2010

my dvd-rw was not working. but i had to install linux. so i installed ubuntu from the iso using demons tool. But when i am opening the terminal to create an user,it's prompting that only root have the permission to create an user. i am trying to use "su" command but it's showing that authentication failed. How can i become the root?

View 4 Replies View Related

General :: Cannot Delete Them Can Get Administrative Privileges?

May 30, 2011

while using my pen-drive in fedora 14, a small dialog box appeared and before I could read it,it disappeared. It worked normally till I turned the computer down. Next time I used Windows XP. There were no files in the pen-drive but it still showed 5 GB used ( the same amount of data was there previously ). I restarted and switched to Linux. All my data was in a single folder named 'Found.000' . It showed nearly 400 objects , renamed as 'file0001.CHK'. They were all mine, merged in a single folder. I am helpless because I can not delete them (as I need them). I can get administrative privileges.

View 7 Replies View Related

Fedora Security :: Administrative Login In User Account?

Sep 25, 2009

I am a new Linux user and have a question about the administrative authentication. When I am logged in as a user and I need to do something that requires root privileges the little password window comes up and I enter the root password. My question is how long are the root privileges granted for?I noticed that a few minutes after finishing checking out the firewall configuration tool and closing the window that I was still able to re-enter the fire wall tool and other administrative tools. How do I log out of the root privileges without logging out and then back into my account?

View 2 Replies View Related

General :: Automating SFTP In Bash With Password?

Jul 13, 2010

I wrote a script ages ago to automate an FTP transfer. This was easy as within the script you can specify the password with password <whatever>. Now I am wanting to do a similar thing with SFTP (SSH). I know that SFTP works differently and I cannot specify the password within the script - what do I need to do on the server I am connecting to to either "trust" the host I am connecting from or to somehow specify the password for "sftp user@some_host"? It's IP address will always be the same.

View 4 Replies View Related

General :: Automating The Package Configure Script Errors?

Mar 31, 2011

Need help in doing a tedious thing and no idea how to achieve this. The thing I am after is Makefile which generates after ./configure script runs successfully. Now the thing is when we run the `configure` script it may get stuck because of lots of reasons like needs mandatory options to pass with configure, library/header file is missing, etc. So I want to automate this problems as far as I can. As I am not installing the package so apt-get/yum won't hold here for me. So what should be your suggestions on achieving this. Should I study the configure script and the sample Makefile's inside the package

View 4 Replies View Related

General :: Command Line - Automating A Task - Copy All Subdirectories And Files From One Directory To Another

Jun 10, 2010

I need to copy all subdirectories and files from one directory to another ever 5 minutes or so, with the old data automatically being overwritten with the new data. I'd also like this to run at startup. Is there any way this can be done? If so, what program would I need to schedule the automation and what is the command line I would need.

View 2 Replies View Related

Fedora :: How To Prioritize Tasks?

Jul 14, 2011

Assume I`m a newbie and I want to run two CPU-consuming tasks but with different priorities - I mean one to get more CPU time that the other. How to achieve this in Fedora?

View 14 Replies View Related

Fedora :: Kpackagekit Waiting For Other Tasks

Oct 3, 2010

Whenever I try to get KPackageKit to do anything, it says "Waiting for other tasks..." and just hangs. I can cancel (when there's a cancel button, but sometimes there's not) and yum runs just fine.Any advice on how to get this working? I hate hunting for the names of packages.

View 2 Replies View Related

Red Hat / Fedora :: How To Do Tasks Via Command Structure

Dec 4, 2010

trying to learn how to do tasks via command structure as I want to become RHCSA in the future.problem: i am trying to copy from (Ubuntu) a driver folder from a CD to another partition so that I can access the internet on CentOS .( which is the OS on another partition on my HD)

View 4 Replies View Related

Fedora :: Firefox Hangs Too Often With Other Tasks In The Background?

Apr 14, 2010

Ever since I preupgraded to Fedora 12 Firefox has been behaving annoyingly under certain circumstances. I guess the issue is not specific to Firefox, but just that it is the most obvious example. What happens is that whenever there is another program/process in the background using CPU heavily (burning a DVD, for instance) or doing heavy disk I/O (say, Filelight scanning the root folder) Firefox hangs for a few seconds about twice every minute. If I open System Activity during such hangs the Firefox process will report "disk sleep", as if it was paused by some process management mechanism which is prioritizing the background task. Since I never observed such behaviour under similar circumstances under F11, F10 or F8 I wonder if there could be any OS setting which was changed and triggered this change of behavior. I should mention the computer has a dual-core processor.

View 1 Replies View Related

General :: Automate Tasks In Linux

Feb 10, 2011

I'd like to get the information about automatization of the tasks in Linux, more specifically in Fedora with minimal installation (without graphical interface and so on).The application (developed in C) needs to be started automatically when the computer is initialized. I've read about cron but I guess it's not a solution in this case because whenever computer starts the application must run once.I also have read about the/etc/ rc.local file but I made some tests changing it and they didn't work, the computer starts asking me the login and password but nothing run after that.The inittab was the same. In this way, someone know how to initialize an application developed in C when the computer starts?

View 6 Replies View Related

General :: If Statement With Multiple Tasks?

Feb 2, 2011

I want to have an if statement that does multiple things:

Code:

if [....] ; then
1=...
2=...

[code]....

View 3 Replies View Related

General :: Scheduled Tasks / Cron Not Working Right?

May 23, 2011

Got a small problem, I'm trying to schedule a script to run every Thursday at midday and the scheduled tasks application on Ubuntu doesn't seem to work. The script is fine when I run it from a terminal.I have zero experience using cron at the command line, can anyone tell me what I should do?

View 2 Replies View Related

General :: Describe Daily Tasks Of AIX Administrator?

Jun 15, 2011

I am new to the AIX .Can any one describe me the daily tasks of a aix admin

View 3 Replies View Related

General :: Perform Root Level Tasks While In GUI?

Oct 5, 2010

There must be a way to perform privileged tasks in the Gnome desktop (or actually Nautilus, I guess)...similar to using SUDO in a terminal window.

For example I want to change the rights to a file, but Nautilus tells me I can't because I'm not the owner.

View 8 Replies View Related

General :: Perform Some Tasks When New File Is Added In Folder

Feb 21, 2011

I have a folder named "logs" which contains log files. I would like to have a bash script or a cron job or something like this which will check the folder continuousy and perform some tasks (for example echo "New file is created") every time a new file with pattern like "Screen.log.***" is created in the folder "logs"
Is it possible in Linux?

View 14 Replies View Related

General :: Automating USB Drive Configuration Of Partition Table, Partition And File System

Jan 26, 2011

I have tried to automate the configuration of a usb drive with not much success.

The problem that I have is that I have a large amount of usb drives that have a partition table of type "loop" and I need to change them to "msdos". The size of the drives vary and I need to use FAT32 or FAT16 file system.

I've tried various partitioning commands and gui applications but cant find one that I can give a one line command to to set the partition table, maximum partition size and file system.

View 9 Replies View Related

General :: Fscheck For Ext3 Filesystem - Usually Occurs When Reboot System Performing Administration Tasks

May 29, 2010

fscheck is quite annoying, since it usually occurs when I reboot my system performing administration tasks. do I actually need fscheck if Im using the ext3 file system? if not how would I extend the period between checks or just turn it off altogether?

View 9 Replies View Related

Ubuntu :: How To Have Administrative Privileges

Mar 28, 2010

In System/Administration/Users and Groups, my user account properties-user privilegies, the Administer the system is checked (only Send and receive fax and Use tape drives are unchecked).But when I try to run the KDE partition manager, it warns me that I don't have administrative privilegies, so I will not be able to apply changes.

View 4 Replies View Related

CentOS 5 :: Can't Run Administrative Commands / What To Do?

Aug 10, 2010

I have root access on this CentOS 5.5 machine but I am unable to run administrative commands such as service and chkconfig because it says the commands are not found.

Do I need to install additional packages or grant myself privileges that I don't have to run these commands?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved