Fedora :: Limit User Access (bash And Physically At Machine)
Nov 24, 2010
I'm trying to determine how to limit a specific user so that they are confined within their home. I'm also trying to figure out how to prevent a specific user from walking up to the computer and allowing them to log in, but still allow SSH. Basically I'm trying to provide an account with very limited access to the machine.
View 3 Replies
ADVERTISEMENT
Jun 24, 2010
I am a user of a cluster. I don't want root to see/copy files from my user account(obviously). Is that possible to limit the access of root to users account?
View 14 Replies
View Related
Mar 24, 2011
for create an user I put:
useradd username
passwd username
View 4 Replies
View Related
Jul 24, 2009
I have a few multi-user servers in an academic laboratory. I am having a problem with some users maxing out the available RAM, causing such sever slowdowns the machine essentially crashes. My servers are Dell Power Edge's running Ubuntu 8.10 Server Edition (Not my choice). I would like to set a maximum limit on the amount of ram a user can utilize. This morning I experimented with setting limits via /etc/security/limits.conf and using ulimit. Neither of them prevented my test program, a simple infinite loop of mallocs, from crashing the server.
View 7 Replies
View Related
Jan 13, 2011
my server is still running on 10.3 and I want to upgrade it to 11.3. I can't access it physically so it has to be an online upgrade. I have already learned that it is possible to upgrade from 11.x to 11.3 using Zypper from this nice german tutorial (Upgrade). But does it also work from 10.3? Should I upgrade all at once or every single version for itself?
View 3 Replies
View Related
May 12, 2010
I have a VPS server with 512 MB memory. The php.ini is set so script memory limit = 16 MB. However, I have noticed in my top report, instances like the following:
Quote:
5484 coldclim 25 0 46476 32m 5920 R 0.0 6.4 0:00.93 php
The bold number of 6.4 is the % of sever memory this process is using. 6.4 % of 512 MB of memory is about 32 MB of memory, so it appears that this isn't being limited by php.ini. Am I correct? This leads to the next question: Is there some way to limit the amount of memory a single suphp process can use? (Basically, something like the setting in php.ini which limits suphp processes in the same way.)
View 2 Replies
View Related
Jul 30, 2011
i have VPS server and i installed Xserver on it and all ok i created new user for my client but i need to limit his access to the following
he can download and upload to his home file " browser by Firefox"
he can't install or use any application "just the one i installed it"
he can't see the file system or browser it !! if i can give him specific space on harddisk would be better
he can extract and compress files
he can't edit the settings ....
i have another sensitive folder and setting i don't want him to see it so how to limit his access?
View 8 Replies
View Related
Aug 1, 2010
How to give nfs share access to only particular user at client machine.
View 1 Replies
View Related
Dec 7, 2009
Fedora 12 gcc 4.4.1 I am doing some programming, and my program gave me a stack dump. However, there is no core file for me to examine.
So I did:
Code:
ulimit -c unlimited
and got this error message:
Code:
bash: ulimit: core file size: cannot modify limit: Operation not permitted I also tried setting ulimit to 50000 and still got the same error. The results of ulimit -a:
Code:
$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
[Code]...
View 3 Replies
View Related
Oct 29, 2010
Im trying to limit the diskspace users on the system may consume, and i found quotas (im a total linux noob). But when i try to set it, no matter what i set it to the maximus is 2 GB. Now... i need quite a lot more than that. One user should be able to use 1900 GB and the other 600 GB. How can i fix this? Im using ubuntu server 10.04.
View 9 Replies
View Related
Apr 15, 2009
I've been looking for this feature for months and couldn't find a solution for this. Does anyone know how to create users and limit the user to a specified directory?
View 6 Replies
View Related
Nov 6, 2010
I've used linux systems before, but the last time I actually set up a server was when fedora core 4 came out, which was, to say the least, quite a while ago. here's my core dilemma: atm, I have fedora 13 set up, and i'm looking to be able to vnc into it WITHOUT already having logged on as a user. I've tried various things and I'm having little to no luck. I uninstalled tigervnc and installed the original vnc package (With server) from realvnc.com. I've also installed xinetd and tried to get it to incorporate vncserver as a startup service, to no avail.
I have not been able to connect to the vncserver regardless of how I try. I AM able to connect to the base remote desktop functionality provided by fedora (Also vnc based). However, as soon as I disable that, I am not able to vnc into it at all. Long story short, here are the current goals:
1) be able to vnc into the computer without having logged into the system physically
2) have those logins be un / passworded. i.e., be able to login as whatever user
3) complete disable the normal graphical startup that fedora provides, since I don't think there's ever going to be a person physically at the computer and I'd like to maximize system resources
Also, if VNC is NOT the easiest way to do something like this, please let me know, I'm completely amenable to taking another route. In short, I'd like non-physical per-user graphical access to the server. I'd also like it to be more than one single vnc session, as I may have it open from either multiple locations or multiple users.
View 5 Replies
View Related
May 24, 2011
Our office moved yesterday. I shut down the computer cleanly and physically moved it to the new location. On startup, the wallpaper shows on both monitors, and the login screen. But, when I log in, I get failed to load session "gnome"
I am using Fedora Core 15. The only hardware that changed is I swapped out my cordless usb mouse for a corded one because I left the dongle at home. How I can I troubleshoot the problem and get my computer up and running again?
View 3 Replies
View Related
Mar 13, 2009
I am trying to give access to ONE single user to start and shutdown tomcat server. The problem being, when I enter syntax: username ALL= /etc/init.d/tomcat5, /usr/local/tomcat/webapps, PASSWD:ALL This gives the user access to start and stop tomcat but also gives user access to start and stop other services within /etc/init.d - such as httpd etc... What is the proper way to give user access to start and stop service, and limiting that power to only one service....
View 2 Replies
View Related
Feb 23, 2009
i have been using samba to gain access into windows computer through my pc which has fedora 8 ..can i access the unix machine from another unix machine? is yes then what is the procedures ?
View 4 Replies
View Related
Jun 19, 2011
Just built a new machine with FC15, and as I'm moving stiff from a old FC10 machine.I'm moving stuff over, and one of the things is an apache server. Did a yum install apache, but can only hit apached from the local machine. Then I noticed there was no xinetd running, so did a yum install of that.Both apache and xinetd I manually start, as the "services" manager in fc15 doesn't seem to know about them.NOTHING seems able to be able to hit the fc15 machine over the local lan. No httpd, ftp, telnet.What am I missing?BTW, I can ping the new box, and it sees others on the lan.(I'm building a server which will also be for dns and sendmail)i found I had a new firewall in my way on 15, and got apache to work. I opened the firewall for the specif ports for FTP and Telnet, and infact opened the whole interface on the machine!
View 2 Replies
View Related
Jul 11, 2010
Is there any way to limit user name to characters so when I create an account and if the account name is more than 8 characters long, it will not allow.
View 1 Replies
View Related
May 11, 2010
I'm a computer technician and I'm interested in learning Linux. I did some research about the different distributions last night decided to try Fedora. I downloaded the latest version of it and installed it onto a brand new machine in my office. Is there a website out there that I can use as a guide for all of the Linux commands. I know that if I wanted to I could just learn my way around the gui, but I want to REALLY learn Linux. I also want to be able to telnet into the machine so that I can access it remotely. How can I set that up? I installed Fedora with all of the default settings and didn't change anything.
View 4 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
Dec 3, 2009
For some reason my terminal now opens as -bash-4.0$ and will not let me login as any user.Is there anyway to fix this? It's very annoying and I've never came across it before.
View 4 Replies
View Related
Feb 13, 2011
I try to access my ubuntu machine via my Windows Machine (Samba Server on Ubuntu Machine). Anytime I try to access the machine it asks me for my password...I enter it but it says it is invalid....is there anyway to reset it? I have already tried to remove and purge everything Samba related and then tried reinstalling, but that still didn't do anything
View 2 Replies
View Related
Apr 9, 2010
I need to access a Windows Server 2000 machine using a Linux machine via KDE, but that will migrate to Gnome. The Linux user to connect to Windows machine, you should open an application 'XYZ' automatically, and only this, denying any unauthorized access. When you close the application 'XYZ' communications (RDP?) Should be terminated. Do I need a log of accesses and possible attempts to circumvent the system and access other application.
View 7 Replies
View Related
Oct 23, 2009
At school can connect to my computer via SMB/Samba and VNC from the Windows Machines, but not by hostname (I still cannot VNC in at home on my desktop computer and have yet to try Samba there because I wanna setup Samba there from the comfort of my laptop and therefore need VNC first). How come I cannot access this machine by it's hostname?
View 4 Replies
View Related
Nov 2, 2009
he moved in a new place and there is a huge share on the network machine which runs windows... however he has fedora 10 installed on a desktop pc with a big screen and asked me to configure it so it can access the share... i have almost no experience with fedora and i've been trying to do this for two days now... i installed the samba package, but now what? how to do this because the exact commands are unknown to me... i have the root password and everything else on the network... so i just need to know what ot write in order to be able to mount all the TBs of information on the server...
View 4 Replies
View Related
Apr 16, 2011
my fedora 14 did an automatic update tonight and on reboot it hangs displaying the "f" before the login in menu. The "f" is how I now feel.I do "fn+f2" as it is booting and it displays the sequence of loading items which report all is "ok" until it gets to "jexec services" and then it hangs.I do not know how to access the machine in command line mode and I am not sure what to do from here. I beleive the "jexec service" is a Sun Java item but I am not sure.
View 2 Replies
View Related
Jul 12, 2011
i have a linux server which users connect to with SSH. my users only upload and download content from their /home folder.
Basicly, I want them to be limited to see and use only their home folder.
I read that it might not be a good idea to do so, since they nead read premissions to run programs and scripts, but again: they are only downloadinguploading content to their home dir.
How can I do it?
View 2 Replies
View Related
Sep 29, 2010
Im using squid proxy server..i want to limit bandwidth for single user using squid proxy.
View 6 Replies
View Related
Aug 3, 2011
Im new to linux and would like help or to be taught. My question is how do i limit users to their own directory for an example User andrew /home/andrew cant acess root or usr
View 10 Replies
View Related
May 3, 2011
I ran into a user today that indicated that their company only allows them to log in through a terminal session once (no multiple logins). On second try their login window terminates. They are using putty.Is this being accomplished through PAM or sshd ( or some other method)?
View 1 Replies
View Related
Dec 3, 2009
Is it possible to limit each user so that only one can connect via each username for ssh/sftp? I work with a small company where there aren't really enough of us to justify using a revision control system, but we don't want to accidentally step on each other's toes, so we'd like to try simply preventing more than one person from accessing a given domain at once.
View 15 Replies
View Related