Tagged Questions
8
votes
1answer
393 views
Bandwidth control in linux
How do I control both the inbound and outbound bandwidth in a RHEL 5 router?
7
votes
2answers
140 views
Temporarily change time
I need to test aspects of my software that only happen at certain times of the day. Rather than waiting whole days (and getting here at 2:00 AM), I'd like to change the time.
But I'd rather not ...
7
votes
2answers
1k views
Once sudo su'd to root, is there a command to see my username?
I have sudo rights on a redhat box; once I've "sudo su -" to become root in a shell, are there any commands I can run to see what username I su'd FROM?
6
votes
3answers
2k views
Getting the password expire time
Let me preface this with: I do NOT have root access available.
I recently got locked out of my account because I did not know the password expiration was getting close, then elapsed. I want to add a ...
6
votes
2answers
167 views
Installing a package locally to a user - best practices?
I want to install Git locally to a user on a RHEL server (I don't have root access)
What would be your cleanest/ most organized way of installing software to a local user account?
Installing ...
6
votes
2answers
6k views
Effect of entries in /etc/securetty
By default on RHEL 5.5 I have
[deuberger@saleen trunk]$ sudo cat /etc/securetty
console
vc/1
vc/2
vc/3
vc/4
vc/5
vc/6
vc/7
vc/8
vc/9
vc/10
vc/11
tty1
tty2
tty3
tty4
tty5
tty6
tty7
tty8
tty9
tty10
...
6
votes
0answers
317 views
Launching a GUI application in RHEL 5 hangs
When I try to launch any GUI application through a terminal in my RHEL 5.4, it takes a very long time for the GUI to come up. Also, sometimes it just hangs.
I see the following messages in the ...
5
votes
2answers
838 views
What roles do DAC (file permissions), ACL and MAC (SELinux) play in Linux file security?
I need some clarification/confirmation/elaboration on the different roles DAC, ACL and MAC play in Linux file security.
After some research from the documentation, this is my understanding of the ...
5
votes
2answers
6k views
Oracle Linux 6.1 guest on Virtualbox 4.1 can't connect to network
I just installed VirtualBox 4.1 on my Windows system, and then added a Solaris 11 Express guest and an Oracle Linux 6.1 guest. Both installs went smoothly. But while the Solaris 11 guest has network ...
5
votes
2answers
106 views
How to stop Fork Bomb out of memory error - RHEL 6
I set up test VM to test the effect of fork bombs. So I edited the limits.conf as follows for root user:
root hard nproc 512
Now I drop a fork bomb like so:
:(){ :|:& };:
After ...
5
votes
1answer
2k views
Why does redirection (>) not work sometimes but appending (>>) does?
While studying for the RHCE, I came across a situation where stdin redirection does not work in bash:
# file /tmp/users.txt
/tmp/users.txt: cannot open `/tmp/users.txt' (No such file or directory)
...
4
votes
3answers
540 views
Linux distribution with 'yum' package manager
I hope that this question is appropriate for this site (if not, please accept my apologies). I am a professional statistician who uses the statistical programming language R. I'm currently building ...
4
votes
2answers
111 views
Why would I want to create more partitions if RHEL will only recognize up to 16?
During some basic RHEL training, I came across this blurb:
Although it's possible to create more, RHEL will recognize only up to 16 partitions on any individual SATA, SCSI, PATA, or virtual hard ...
4
votes
1answer
485 views
force re-negotiation of PCIe speed on Linux
I'm working with PCIe Gen 3 cards and from time to time they seem to fall back to PCIe 1 or 2 speeds (according to lspci and also observed by the throughput).
When rebooting/power cycling the machine ...
4
votes
1answer
385 views
Using hardware clock on linux
I using an old version of RHEL that I have recently upgraded from 5.4 to 5.8, with a customised 2.30.9 kernel.
The system clock drifts wildly (> 5 seconds/day) unless it is controlled using an ...