6,094 reputation
21533
bio website None
location Netherlands
age 37
visits member for 3 years, 1 month
seen 14 hours ago

Just a guy with some linux experience.


Apr
13
comment unnecessary accounts in linux
Do note the "unnecessary" part of the removal -- there are very good security reasons for running an active daemon as its own specifically limited user which has no privileges beyond exactly what it needs to perform the services it needs to provide.
Apr
5
comment SSH automatic remote back ups
I'm pretty sure -a implies -r.
Apr
2
comment How to apply a patch correctly?
Yes. Basically, it tells patch to do absolutely everything except actually alter the files, so you can see if the patch goes through cleanly.
Apr
2
comment How to apply a patch correctly?
--dry-run is your friend and you should ALWAYS use it before actually patching.
Mar
28
comment My Postfix installation is sending out spam; how to stop it?
@borniet Best practice in any case.
Mar
27
comment My Postfix installation is sending out spam; how to stop it?
As a note, you can configure postfix to deny mail access to specific users. Assuming that your webhosting service setuids to each individual website's owner that would let you allow the site to remain running while still protecting your mail -- although whether you want to allow a known compromised site to remain running at all in the first place is a judgement call.
Mar
26
comment My Postfix installation is sending out spam; how to stop it?
You don't need the outgoing headers. Just grep your log for (for instance) 4E81026038 and check out how postfix received it and by whom.
Mar
26
comment My Postfix installation is sending out spam; how to stop it?
You can't do the former -- any php script is capable of specifying a server to use while sending email -- and the latter would involve a manual check of every php script on your server.
Mar
24
comment Debian squeeze (stable) broken packages after installing something from wheezy (testing)
@antennen In the future, I recommend looking at debian backports if you need software newer than the stable tree provides.
Mar
16
comment What happens in each step of the Linux kernel-building process?
Slight addendum: The initramfs part isn't "horrible" compared to what'll happen if you configured a kernel that requires an initrd but didn't actually create one to go with it.
Mar
16
comment Mounting a device — role of /dev, /media and /mnt, and the mount command
Whereas /mnt tends to be used my systems administrators - say, when we want to restore a backup, or migrate a partition to a new disk, we create (for instance) /mnt/homebackup and mount the backup disk image to that mount point, copy the lost files back to /home and then release the mount point.
Mar
16
comment Mint: correct way to install /lib/i386-linux-gnu/libgmp.so.3
@terdon Unfortunately, while Debian and Ubuntu have multiarch support, Mint as of right now doesn't yet, so that answer doesn't help unless you want to add "Remove mint and install debian or ubuntu"
Mar
16
comment Mint: correct way to install /lib/i386-linux-gnu/libgmp.so.3
@vonbrand is correct - use the package manager. Don't randomly copy library files you think might help unless you've tried everything else and know exactly what you're doing.
Mar
1
comment How can I replace the default kernel with an earlier kernel?
Why else do you think they maintain a separate kernel tree?
Feb
28
comment How can I replace the default kernel with an earlier kernel?
I recommend against trying. From what I'm reading, the petalinux kernel has some firmware-specific tweaks and patches that aren't in the main kernel yet -- and will almost certainly not patch cleanly into an older kernel. Your best bet is to ask xilinx for an older version of their kernel tree.
Feb
26
comment I Can't login as root with su command, but I can with SSH
I also recommend reinstalling the package containing su as soon as possibly, because if su has been world writable for any length of time I would no longer trust it to give it setuid permissions...
Feb
13
comment How to use libraries installed with a package manager in GNU/Linux
In most cases, yes, although from the looks of @slm's the files will be at /usr/include/<libname> so the include directive you'll likely need would be #include <libname/header.h>
Feb
13
comment How to use libraries installed with a package manager in GNU/Linux
Essentially, any properly set-up distro will ensure that libraries installed via its package manager can be found in directories that are in the compiler's default search path. (Assuming that the compiler was likewise installed via the package manager)
Feb
7
comment How to use scp and ssh command in a single script without any keys?
I'd recommend using rsync to handle the copy and checking with ssh as its backend, then set up a passwordless public/private authentication key for rsync to use. Keep the private key in a directory accessible only to the userid running the rsync script. Done.
Feb
7
comment File IO very slow on RHEL6
Check dmesg for any error messages related to the filesystem or partition devices.