Search found 300 matches

by GJones
20. Sep 2015, 20:51
Forum: Problems
Topic: [false alarm] chfn binary making connections to DuckDuckGo
Replies: 3
Views: 1739

[false alarm] chfn binary making connections to DuckDuckGo

So I was messing around with Salix (x86, Xfce) in a VM for penetration testing purposes, and perchance ran 'netstat -apntl'. I saw this: tcp 1 0 192.168.0.116:46644 107.21.1.61:443 CLOSE_WAIT 15234/chfn chfn is used to change user information - name, office, etc. It is a setuid binary. It's also a s...
by GJones
28. Jun 2015, 01:15
Forum: Salix pub
Topic: Another systemd-refugee found a new home here.
Replies: 10
Views: 11228

Re: Another systemd-refugee found a new home here.

I actually was rather pleased with systemd, in terms of the whole idea of "integrating the Linux base system under one umbrella"... Implementation aside. And then today I fired up my Debian netbook, noticed it was very sluggish, looked at top, and saw systemd hogging one of the cores entir...
by GJones
15. Jun 2015, 02:07
Forum: Misc
Topic: System backup script in Perl
Replies: 3
Views: 2950

Re: System backup script in Perl

So: just FYI I've removed the script from the post above, as it consistently missed files - particularly stuff in /usr/bin, due to mtime/ctime not being accurate for those binaries. Hopefully nobody else made extensive use of the script. If anyone did, be warned that your incremental backups are inc...
by GJones
13. Jun 2015, 00:24
Forum: Misc
Topic: a short script for taming memory hogs
Replies: 1
Views: 2446

a short script for taming memory hogs

You've all probably seen cases where Firefox goes bananas on a poorly designed website, spilling over into swap space and bringing your computer to its proverbial knees... Here is a simple script for those situations. #!/bin/bash - [ $# -ne 2 ] && { echo "Usage: $(basename $0) <scan_int...
by GJones
7. Jun 2015, 20:03
Forum: Misc
Topic: System backup script in Perl
Replies: 3
Views: 2950

System backup script in Perl

EDIT: this script did not work as advertised, due to mtime and ctime not being accurate. As such I've deleted it. Figured I should put this up on the forums. It handles full and differential backups. Also incremental if you want, but I don't think the pain is worthwhile for that. It uses the "...
by GJones
14. May 2015, 18:21
Forum: Salix pub
Topic: I just had to say...
Replies: 1
Views: 2129

I just had to say...

I'm glad you people (i.e. the Salix maintainers) are still keeping this distro alive! a) It is one of the very few full desktop distros that still fits on a CD-ROM. If you don't have an 8+ Mb/s broadband connection, or have old computers with no DVD support, that's invaluable. b) It is also one of t...
by GJones
11. Sep 2014, 16:29
Forum: Salix pub
Topic: mapex: use more RAM, get rid of program startup lag
Replies: 0
Views: 1752

mapex: use more RAM, get rid of program startup lag

You know the story: you have a hulking workstation with a dozen GB of RAM, but you still have to wait for the hard disk to do its thing when you start a new program. This vexes me a bit, so I wrote a Python script to solve it: #!/usr/bin/env python2 import mmap, os, sys import os.path for paths in s...
by GJones
28. Jul 2014, 16:02
Forum: Bugs
Topic: sudo conflicts with umask 0077, what to do about it?
Replies: 0
Views: 2323

sudo conflicts with umask 0077, what to do about it?

Detailed here: https://wiki.archlinux.org/index.php/Sudo#Permissive_Umask One workaround is to put Defaults umask = 0022 Defaults umask_override in sudoers. The problem is that this disables a security feature - the point of unioning the umasks is to prevent users from creating files with more open ...
by GJones
28. Jul 2014, 15:33
Forum: Problems
Topic: Upgrade to Firefox 24.7.0 in 14.1/x86 wrecks MIME database
Replies: 3
Views: 1394

Re: Upgrade to Firefox 24.7.0 in 14.1/x86 wrecks MIME databa

Found the problem, it is indeed a conflict between sudo and 0077 umask. I will continue the discussion about that elsewhere.
by GJones
28. Jul 2014, 15:21
Forum: Problems
Topic: File sharing
Replies: 4
Views: 1602

Re: File sharing

I'll also unhelpfully note here that the ease of doing things like transparent folder sharing between arbitrary Windows desktops is part of the reason for Windows' poor security reputation. There are some interesting exploits that rely on such conveniences.