Ubuntu :: Disable Access To Running Processes For Some User
Jan 9, 2010
is there any possible way to hide currently running processes from an user? This means I do not want him to know about what programs/processes does any other user but him run. In short words if that user runs 'ps -aux' he should get only his processes.
View 3 Replies
ADVERTISEMENT
Mar 6, 2011
I'm trying to get the end result to have the same format as this as well:
1 bin
2 daemon
67 erozner
[code]....
Where the numbers are the number of processes being run by the user (the name right next to it).if I input the command egrep myFile into the terminal, it should look for every line with the letter x in myFile, right?
View 5 Replies
View Related
Oct 5, 2010
Normally all I/O goes through the kernel so that it can schedule the operations and prevent processes from stepping on each other. A few special user processes are allowed to slide around the kernel, usually by being given direct access to I/O ports. X servers are the most common example of this isn't it ? give examples for any other processes that are allowed to slide around the kernel ?
View 3 Replies
View Related
Nov 2, 2010
Are there any tools to view/edit user space memory of running processes on Linux?
It would be a great learning tool.
View 1 Replies
View Related
May 15, 2010
I want to refuse access for some users to usb pen and audio. In previous releases (debian, ubuntu , debian-based ..) , it is enough to remove the user from the group.
that is in /etc/group
audio:x:29:bela
plugdev:x:46:bela,geol
with theses lines : bela can heard sound, but not geol, for bela and geol the usb pen is automatically mounted. But not for nobody else. It is NOT the case in the new release, I mean, even if I remove a user from the plugdev group, the usb pen is automatically mounted for that user.
View 1 Replies
View Related
Jan 17, 2011
I have a Lucid Ubuntu installed on my home PC with two user accounts, AmHero and simple. I would like to have all internet access disabled when my kids login with the 'simple' userid. And yes, internet should work when I login using AmHero. I tried this:
[URL]
..but this does not work and gives some errors on the terminal.
I can paste the errors, though I am not sure this will even work as I found this in an old post.
View 6 Replies
View Related
Feb 24, 2011
How can I disable Internet access for programs running in Wine?
View 3 Replies
View Related
Jul 11, 2010
In the past, I've installed Internet services as daemons and as xinetd.d with no problems. Those approaches do not meet my needs. And, perhaps, nothing will.
- the service was converted from VB-6 to wxPython. It has a GUI which is accessed with either "remote desktop" or VNC.
- the wxPython service works on Windows and can be accessed from other hosts on my LAN
- the wxPython service works on CentOS and Fedora, but can only be accessed from within the server host. Even from other user-ids. But, I cannot get to it from other hosts.
- ipchains AKA firewall ports are marked for INPUT.
- The server host uses autologin to fire up a useid in group "user". I do not want it running as "root". the .bash_profile fires the service up.
- the service is heavily mult-threaded, and supports devices connected to serial ports asynchronously with the ephemeral port threads (all this works).
There are some programming solutions that I would rather not develop.
- a proxy service that runs under xinetd.d.
- separate the GUI code from the Internet and serial port code. Allocate a "control" port for remote GUI control. a'la SAMBA & SWAT
Is there any hope, that I can run it as is, by doing some network configuration stuff.
View 8 Replies
View Related
Aug 14, 2009
I'm trying to get vsftpd running with both anonymous and local user access to the same folder. The directory I'm using is /tftp with the following permissions:
dr-srwxrwx 7 root root 12288 2009-08-14 15:54 tftp
My vsftpd.conf is this:
anonymous_enable=YES
local_enable=YES
write_enable=YES
[code]....
I set the default "ftp" user's home directory to /tftp (was /var/ftp).
View 4 Replies
View Related
Apr 13, 2011
When i do the following with logged in with root:
Code:
i get
Code:
When i login with user1 and do ulimit -a
i get
Code:
Why is the max user processes different for the same user? And how can i change this. I need for this user more then 20 processes...
View 2 Replies
View Related
May 18, 2010
I would like to do the following: Create a banner for any user logging in through ssh which warns him/her about the number of processors being used already by other users (or conversely the number of free processors). For example, if a user logged in he would then see a message like: Warning! 7 out of 8 processors are in use.I already figured out how to do a banner and with ps -e -o pcpu I can get all processes' %CPU usage. I think I would like to count the number of processes which have more than 90% CPU usage and output this number ("7" in the example) in the banner
View 7 Replies
View Related
May 7, 2011
To: The Cog >>>
Code:
The Cog, heres the reszults for ps -ef | grep tty:
yo mama@blah:~$ ps -ef | grep tty
[code]....
View 9 Replies
View Related
Feb 8, 2011
Ubuntu 10.10. I am curious if there is kind of task manager in ubuntu I can see running processes etc? Like windows task manager?
View 5 Replies
View Related
Mar 15, 2011
When I ps -e, I see a whole bunch of processes, many more that when I ran Slackware.Is there a list of processess I can look at to see what they are and what ones I dont need, instead of googling each one and getting some cryptic explanation?
View 2 Replies
View Related
Jun 6, 2010
GNU/linux kernel 2.6, Slackware 12.0.Hi:How do I know what processes are running?
View 6 Replies
View Related
Feb 22, 2010
I'm looking for a command that will give me a list of users (unique, dont name my user account 60 times) that are running processes on a system.
View 5 Replies
View Related
Apr 1, 2010
When I open top and look at the running processes, there a bunch that are -5 in the nice and 0 with everything else.
[Code]....
View 4 Replies
View Related
Jul 17, 2010
Ran the most recent updates several days ago and now System Monitor show my CPU at %100 constantly although it shows no processes running.
View 9 Replies
View Related
Dec 19, 2010
First time Ubuntu user (used to be on debian earlier).
I like that everything works out of the box (had to install codecs etc, but thats standard); but I dont like that there are 260 processes running. Is there a utility to stop unnecessary processes from running in Ubuntu 10.10? I used rcconf but there did not seem to be a whole lot of startup processes that were enabled. Yet somehow I am running 260 processes now.
Even if I log into fluxbox, I get 200+ processes running.
View 9 Replies
View Related
Nov 3, 2010
I list all the instances of a running process my doing:ps -ef | grep myprogramThis lists all them.how can I simply output a count of how many are running?
View 2 Replies
View Related
Dec 5, 2010
I have written this script to monitor Apache2:
Code:
#!/bin/bash
#count lines that show apache2 but not the fgrep itself
let i=`ps aux | fgrep apache2 | fgrep -v grep | wc -l`
if [ "$i" -gt 0 ]
then
#log something
[Code]...
It has all been working fine until recently when Apache is becoming unresponsive. I manually ran ps to check and there were 3 processes. However when I ran apache2ctl graceful I got the message 'httpd not running, trying to start' Is there a better way to check if a daemon is up?
View 4 Replies
View Related
Mar 3, 2011
my computer is often very slow, to the point of stalling. I tty'd in and when I ran ps -ef I noticed about 10 /usr/sbin/apache2 -k start I dont even want 1 apache running. Any suggestions why these are running, or how to stop it? Well, I can stop it with a sudo killall, but how can I make sure it doesnt happen again?
View 5 Replies
View Related
Apr 5, 2011
Does Debian 6 "Squeeze" automatically run boot processes in parallel if not how do I
configure it to do so. Here is the quote from my /etc/init.d/rc :
# Specify method used to enable concurrent init.d scripts.
# Valid options are 'none' and 'makefile'. Obsolete options
[code]...
View 2 Replies
View Related
Apr 15, 2010
How can I find the PID for all processes running for a particular port?
View 3 Replies
View Related
Jan 30, 2011
My University gives us access to a Linux server, named stud1.
Code:
me@stud1:~$ uname -a
Linux stud1.some.univ.ac 2.6.9-89.31.1.ELsmp #1 SMP Mon Oct 4 21:41:59 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
Apparently I was logged in, and never logged out sometime:
Code:
me@stud1:~$ who
<snip>
me pts/37 Jan 30 13:27 (6.6.66.66)
<snip>
me pts/58 Dec 30 19:13
but when trying to find out why I'm still logged in, I can't find it:
Code:
me@stud1:~$ ps faux |grep me
root 30030 0.0 0.0 51128 4360 ? Ss 13:27 0:00 \_ sshd: me [priv]
me 30033 0.0 0.0 51132 2336 ? S 13:27 0:00 \_ sshd: me@pts/37
[code]....
how can I logout this unused session?
View 2 Replies
View Related
Aug 18, 2009
I have p1,p2,p3,p4 some processes created by me in C. p1, p2, p3 are started individually from several consoles. And I want process p4 to terminates processes p1, p2, p3 if they are running. Which is the easiest way to accomplish that? put all processes in the same process group and send from p4 a kill signal to the group. But I couldn't do that because I cannot call successfully setpgid(getpid(), 15000) from p1-p4. It's there some way to put them in the same group? the processes don't have a child-parent relationship, they are launched manually from consoles.
View 1 Replies
View Related
May 21, 2009
I am studying for the LPIC-1 exam, and reading a book that they recommend: "Introduction to Linux: A Hands-on Guide", by Machtelt Garrels. There's one question on the 4th chapter (Processes), that I found confusing: Question: Based on process entries in /proc, owned by your UID, how would you work to find out which processes these actually represent?
What does he mean? If I run the command (considering that my username is sl33p):
Code:
$ps -u sl33p
...gives me the right answer?
The ps man page says:
-u userlist
Select by effective user ID (EUID) or name.
This selects the processes whose effective user name or ID is in userlist. The effective user ID describes the user whose file access permissions are used by the process (see geteuid(2)). Identical to U and --user.
View 8 Replies
View Related
Feb 10, 2010
I have some domains on a VPS server. Typical account memory usage for all domains runs at 50% of available, but I have a problem. One domain is causing me trouble because intermittently traffic will spike on that domain, causing so many requests within 1 min that I exceed my memory allocation for my entire VPS package. Apache is then killed but the virtualization software and Apache must then be restarted.
A sample snippet from tops right before the sever went down would like like this:
All of that memory usage adds up. I would like to "throttle" the number of processes that user/domain can run. I think this would be a quick and easy way to keep the domain from taking down my entire VPS. My understanding is that I could do this with the /etc/security/limits.conf file.
Is that correct?
I have never done this before. Do I want to set a hard or soft limit? I think if I wanted to limit the number of processes for "coldclim" to 15 I would add a line to limits.conf like this:
Code:
Assuming that is correct, can anyone tell me how the website would respond once it reached its limit? Would visitor queries become sluggish, or would the website not come up for them at all?
View 4 Replies
View Related
Feb 15, 2011
I have a problem with the permission of the directories under /proc, they are readable and accessible only by Owner (they have permission 500 instead of the usual 555) As a consequence, the processes are visible only to the Owners or to Root. For exampleif I want to check if there is mysql
I see it only with the user mysql or with root because the directory has permission 500
This problem obstacles the functioning of some applications that should check the existence of some processes managed by other users. At the beginning all was working well. But after a while the problem appeared and I dont know which is the reason of it. how to restore the standard management of permissions of / proc?]
I have a Ubuntu server Maverick 10:10.
View 2 Replies
View Related
Oct 18, 2010
When I open a terminal and start the 'top' command to view the running processes, in the summary view I get 4 users. I guess that in addition to my account the root runs in the background but who are the other 2??
View 1 Replies
View Related