5,463 reputation
32045
bio website kennyrasschaert.be
location Belgium
age 26
visits member for 3 years, 11 months
seen 2 days ago

Open source consultant, ASCII art specialist.


Apr
4
comment How to enforce password complexity in Redhat?
Did you try setting the password as the new user or as root? Password restrictions do not apply to the root user.
Apr
3
comment Antenna connection 3G modems
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ. serverfault.com/faq#close
Apr
3
comment optimize space rdiff-backup
I quickly ran this test to prove that the archive remains even after deleting all incremental backups. This should put your mind at ease. pastebin.com/vgDBEPcx
Apr
3
comment optimize space rdiff-backup
If it is still on the server, it will still be in your backups.
Apr
3
comment optimize space rdiff-backup
A complete duplicate of the /var/www/ folder on your server1 is kept in your /mnt/server1/www, as well as a rdiff-backup-data directory which contains metadata to help you restore to certain increments (to a specific date if you back up every day). The only thing that now will change is you can only go back 30 days in time when restoring a backup. The entire directory as it exists on the server is also present locally, always, even if the files on your server haven't been changed in years.
Mar
29
comment apache user can't stat a path from CGI, but can from shell
Is your script located in the /var/www/cgi-bin/ directory? If it isn't, try moving it there. Then try running restorecon -R /var/www/cgi-bin/ and setenforce 1 to see if that properly fixes it.
Mar
29
comment apache user can't stat a path from CGI, but can from shell
Is SELinux in enforcing mode? Find out using sestatus. If it is, you can find out if it is the cause of your problems by temporarily disabling it with setenforce 0 and trying to run your script again. I'll post a complete solution if SELinux is the cause.
Mar
29
comment How to restrict ssh tunnel authority to a certain port?
I agree that this is not the right tool for the job. Thanks for spotting the append mistake.
Mar
27
comment VirtualBox bridged adapter can ping but can't curl
Wow, I would not have made the connection to the MTU being the problem. Good thinking!
Mar
26
comment Is this a 'port scan'?
@dunxd I agree wholeheartedly, I'll update the answer.
Mar
26
comment Added line to bashrc, now bash is not responding
This is a better solution in my opinion. You don't lose the offending files which allows you to recover useful parts and troubleshoot what caused the problem in the first place.
Jan
23
comment “NS1” and “NS2” A records suddenly needed?
Perhaps webmasters.stackexchange.com is a better fit for this type of question.
Jan
10
comment linux + from where uname -r take the linux version information
It uses the uname system call. linux.die.net/man/2/uname
Dec
28
comment Can't login anymore via sshd
By "michael is the root user", do you mean michael has user id 0, or michael has sudo permissions?
Dec
11
comment Speed test via command line?
The CacheFly Content Delivery Network provides 10 and 100MB test files. cachefly.cachefly.net/100mb.test
Nov
20
comment Install and use BIND9 as forwarder - step by step
How are you invoking dig? Do you have similar results with nslookup?
Oct
30
comment Use server's IP via SSH tunnel
One option to tunnel any http request would be to set up a SOCKS proxy with the -D flag, but this would require you to modify your application (see xhochy's answer). Another option would be to use something like SSHuttle (github.com/apenwarr/sshuttle) or some sort of VPN solution.
Oct
30
comment Use server's IP via SSH tunnel
The point you make about port 80 requiring root permissions is valid, ports below 1024 are considered privileged and you need root permissions to listen on them. What you said about being taken to your server after running the ssh command is normal. Your tunnel will still be open on your own laptop. You can verify this by running netstat -an | grep 127.0.0.1:80.*LISTEN on your laptop (not in the terminal that now shows a prompt on your server). If that shows a line similar to tcp 0 0 127.0.0.1:80 0.0.0.0:* LISTEN, your tunnel is open.
Oct
12
comment SSH how to auto flush before a \n
Complementing this answer with an excerpt from the man page: "-t Force pseudo-tty allocation. This can be used to execute arbitrary screen-based programs on a remote machine, which can be very useful, e.g. when implementing menu services. Multiple -t options force tty allocation, even if ssh has no local tty."
Sep
28
comment Force SSL on one page via .htaccess without looping
Thanks for leaving the answer to your problem for other people. You can go ahead and accept your own answer if you like.