General :: Safety - Impose Restrictions To A Process On Linux?

Mar 25, 2011

Can I limit the system resources that a process can use on Linux? I want to configure the system to avoid that some specified processes use some system resources:

choose if a process is allowed to use network and Internet.

choose which files and folders that a process can read, write or execute.

choose if a process is allowed to use sound and graphics output, and printer.

choose the limit of memory that it can use.

View 2 Replies


ADVERTISEMENT

Ubuntu :: Process List And Safety

May 1, 2010

I've used to check process list in windows to make sure that there's no process running which I don't know, or seems suspicious to me, so I was trying to do the same in Ubuntu 10.4 but actually I don't know what process should be running, and what process shouldn't be and I don't understand the process status if it's running or what as the processes have sleeping status. I don't download softwares from websites only Ubuntu software center "which is safe right?" but I search a lot and visit lot of websites, so I'm completely worried to get infected as I use my credit card, PayPal etc.. by the way I'm using "Google Chrome"

Is there's any software or something like in windows(Antiviruses) to read the content of the website before it loads?

View 1 Replies View Related

General :: Killing Parent Process Without Killing Child Process (Linux C Programming)?

Mar 10, 2011

I want to kill parent process after "fork()" method. but if I kill parent process with "exit(0)" method, main() thread is terminated as well so child prosess doesn't work anymore. Is there any way to kill only parent process without affecting to child process?

#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>

[code]....

View 1 Replies View Related

Software :: How Does Linux Boot Process

Jul 25, 2010

Can u tell me, how does the linux boot process?

View 8 Replies View Related

Ubuntu :: Invoke The Terminal In LINUX When A Process Becomes Unresponsive?

Jan 6, 2010

If a process becomes unresponsive in WINDOWS then we press "alt+ctrl+del" to invoke the task manager & then terminate the process.Is there any similar way to invoke the Linux Terminal so that we can end a process by the 'kill' command when it becomes unresponsive?

View 2 Replies View Related

General :: PAM Password Restrictions Don't Seem To Be Working

Apr 21, 2010

I set some restrictions in /etc/pam.d/system-auth, but they don't seem to be affecting anything.

/etc/pam.d/passwd:

Code:

password required pam_cracklib.so retry=3 minlen=8
password required pam_unix.so md5 shadow use_authtok

/etc/pam.d/system-auth:

Code:

auth required pam_env.so
auth sufficient pam_unix.so likeauth nullok
auth required pam_deny.so

[code]....

View 3 Replies View Related

General :: Pam Time Restrictions Not Working?

Jan 14, 2010

I dont want to allow the user winny on saturday and sundays. I added the following line in the /etc/security/time.conf file.

login;*;winny;!SaSu0000-2400

Then i added the following line in the /etc/pam.d/login file.

account required pam_time.so

this is the first line of that login file. But if i tried to login with the username winny it allows me to get log in. Is anything has to be change?

View 14 Replies View Related

General :: Ssh Tunnel Username With Restrictions?

Mar 25, 2011

i have jsut setup a kvm virtual machine on my server. to connect to the VM from outside of the network i use ssh tunneling. what i would liek to know is if there is any way to create a new user with jsut ssh access. i dont want people to be able to edit files in ~/ or such. jsut need the user to estabilish the connection to the server

View 1 Replies View Related

General :: Internet Access Restrictions With Squid?

Dec 30, 2010

I am using internet web control through squid... All is working fine only some little bit issues.

(1) Sometime when i tried to open google.com or any site I got message (The requested URL could not be retrieved) Screen Shot Attached.) but again after sometimes same websites will open.

url

(2) I would like to block word 'sex'.. So I have edit squid.conf with the following acl

acl Blockword url_regex sex
http_access deny Blockword

but problem occur in some websites where 'sensex' word found in url. Then squid block 'sensex' url content website also..

View 2 Replies View Related

General :: Moving From Paid Linux To Unpaid Linux CenOS - Red Hat (KVM Virtualization)

Dec 21, 2009

if anyone of you have shifted using Paid Red Hat Linux with CentOS, and what are your experiences of moving from Paid Linux to Unpaid Linux CenOS. When do you suggest a person use Paid Linux and when to use Unpaid Linux?

View 1 Replies View Related

General :: Change The Restrictions To Some Normal Text Files?

Oct 23, 2010

I'm trying to change the restrictions to some normal text files and their result is not what is expected.

For example, when I put:

chmod 000 testfile.txt

on a file that is

-rwxrwxrwx,

it instead becomes

-r--r--r--.

It doesn't matter whether I do it with a root or the owner of the file, the result is the same.

Also, putting

chmod u-rwx testfile

results in the file becoming, again,

-r--r--r--.

Also, some doesn't have any effect, such as

chmod o-r testfile.

Even if I do this, the result is the same -rwxrwxrwx.

View 10 Replies View Related

General :: Verifying Qlogic FC HBA Adapter In Linux ( SUSE Linux)

May 5, 2010

i would just like to verify that the command

lspci would show the FC adapter installed

is there any other command that i can use to verify the FC adapter is being installed

View 4 Replies View Related

General :: Migration Of C++ Application From SuSE Linux To Red Hat Linux

Feb 12, 2010

I want to Migrate my C++ Application from SuSE Linux to Red Hat Linux.What impact analysis i should do?

View 3 Replies View Related

Debian :: Old Kernel Removing With Safety Including Packages And Image

Oct 22, 2015

I am new and recently almost one month back installed debian linux stable 8.2 came from windows. Today I upgrade my debian stable 8.2 to testing and everything works fine. Just one thing is that I checked kernel and find :

uname -r

4.2.0-1-amd64

dpkg --list | grep linux-image

ii linux-image-3.16.0-4-amd64 3.16.7-ckt11-1+deb8u5 amd64 Linux 3.16 for 64-bit PCs
ii linux-image-4.2.0-1-amd64 4.2.3-2 amd64 Linux 4.2 for 64-bit PCs
ii linux-image-amd64 4.2+68 amd64 Linux for 64-bit PCs (meta-package)

I am first time removing old kernel so cant take risk from searching the solution from google so come here, what and how to remove that includes everything like kernel image and other old kernel files not needed.

One more thing I just realised and saw on details in settings gnome that

Base : Debian GNU/Linux stretch/sid 64-bit

Is this right as it says sid in the line but i just changed my sources.list to testing only and then aptitude upgrade and full-upgrade then just.

View 3 Replies View Related

Server :: Mysql - Database Can Have Faults Of Safety (security) From A Certain Size

Jun 25, 2010

A database can have faults of safety(security) from a certain size, what is this size?

View 3 Replies View Related

General :: How To Share A Folder From Linux To Linux

Mar 17, 2010

how to share a folder from linux to linux systems and setting password to open that folder

View 14 Replies View Related

Software :: Hard Drive Missing - Giving Grub Safety Command Line

Feb 5, 2011

I've been dual-booting win7 and ubuntu on my comp for a while, but didn't bother updating grub. I just updated to grub 2, but it wouldn't let me boot and said my hard drive was missing, also giving me a grub safety command line.

View 3 Replies View Related

General :: Kills A Process Internally Or From Where It Picks File To Continue Its Process?

Jan 8, 2010

one tell me the internal working of kill command. that is how it kills a process internally or from where it picks file to continue its process.

View 3 Replies View Related

General :: Elevate The Priority Of A Process Without Process Superuser Rights?

Jan 21, 2011

I have a high priority service that I start with sudo nice -n -10 process. This process does not need superuser rights though, except for the priority elevation. But nice requires superuser privileges to elevate priority.

View 3 Replies View Related

General :: How To Identify Raid Degrade Process / How To Rebuilt Process

Jun 12, 2010

send the details raid configuration how to use in linux el5 and how to indentify the raid degrade process and how to rebuilt the process.

View 4 Replies View Related

General :: Sending Signal From Child Process To Parent Process?

Sep 8, 2010

Code:

#include <stdio.h>
#include <unistd.h>
#include <signal.h>

[code]....

Description of what the code does or what i intended to do:

1. Created a child process from parent process using 'fork()'

2. Sent a signal 'SIGALRM' from child process to parent process using 'sigqueue' function.

(The Third parameter of 'siqueue' function contains the message (message msg) which the child process wants to send to the parent process.'msg' is a stucture instance containing a) pid of child and b) string) 5. Print the 'msg' sent by child process inside the signal handler function 'sig_action_function' of the parent process I am getting some junk value when this line is executed

Code:

printf("%d
",msg->cpid);

I expected to get the pid of child process, which the child process sent to parent process through the signal.

View 3 Replies View Related

General :: Process Scheduler A Part Of Process Queue?

Aug 12, 2010

as we all know Process Scheduler does Process scheduling and its a process as well. I was just wondering that if this happens then the Process "Process Scheduler" should be a part of Process queue as well.

So if there are 5 process are there in Process queue & process scheduler is administrating them then since its also a process, once it puts a process under RUN state it should itself go inside queue because at one instant only one process can get executed on a processor. This is quite confusing for me. Please help me out. I tried to search on this but could not find any relevant topics.

View 1 Replies View Related

General :: Find The Parent Process Of A Zombie Process?

May 4, 2010

How do you find the parent process of zombie processes?

When the child process is something where the parent is not entirely obvious...

Is there some way to list processes in tree format or something?

View 3 Replies View Related

General :: Process Shows Multiple Process Ids(pids)?

Nov 9, 2010

I have a process running on Linux.When i do ps -eaf | grep <myProcess>, it show muliple entries for <myProcess> with different pids for each entry.Kindly tell me what could be the reason for a process having multiple pids?

View 1 Replies View Related

General :: Ran New Process After Sungrid Process Finished?

Mar 23, 2010

I want ro ran new commandy after sungrid finish his task.Exp:qsub -q bla command1; command2 command2 start only when job of command1 finished.

View 9 Replies View Related

General :: Save The Process And Log Out Then Log In And Continue The Process?

Nov 16, 2010

I've been running my shellscript for about half an hour now. It's taking longer than I thought to process all the data. I have the process ID of it. Is it possible to save the process and log out then log in and continue the process? I know how to pause a process using kill -pause pID and continue it using kill -cont pID. But that only work if you don't log out after pausing it.

View 5 Replies View Related

Ubuntu :: Restrictions Of MP3 And DVD

Jan 1, 2011

I try to understand the reasons for restricting DVD and MP3. My conclusion so far is that DVD is restricted due to software patents (and the DMCA). The software decoding DVD is open software, though. What is the situation regarding MP3? It is also restricted. Is it due to the same kind of software patents? As I understand, the MP3 codecs are not free software (like DVD)?

View 2 Replies View Related

Fedora :: Get Rid Of Policykit Restrictions

Sep 5, 2010

How can I get rid of all policykit restrictions that fedora 13 has? I just upgraded from fedora 10 and of course my freenx sessions are again unable to do anything useful like mounting a drive. Difference is no GUI now to help fix this. So I would like to get rid of all restrictions.

View 6 Replies View Related

OpenSUSE :: KDE Action Restrictions Does Not Work?

Jul 6, 2010

I'm working with Opensuse 11.2 and KDE 4.3.5. I tried to restrict the run command (with Alt-F2) in the kdeglobals file:

~/.kde4/share/config/kdeglobals
[KDE Action Restrictions]
run_command=false

But there is no effect. With Opensuse 10.3 and KDE 3.5 it works fine.

View 3 Replies View Related

OpenSUSE :: Put IP Restrictions On A Single PHP File?

Jun 3, 2011

I usually use .htaccess to restrict access to directories. But what if I just wanted to secure a single php file? Is there some sort of code that would allow me to say ONLY THIS IP can access this PHP file?

View 3 Replies View Related







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