16,281 reputation
65489
bio website shawnjgoff.com
location Tampa, FL
age 33
visits member for 4 years, 1 month
seen 2 days ago

I've grown up with computers around me my whole life. I started programming when I was a kid, and stuck with it ever since. I came across Linux around 1999 and have enjoyed working with it ever since.

For a job, I get to write software that runs on embedded Linux devices. I do everything from working on low-level drivers to writing shell scripts and even web apps.


Jun
17
comment What package managers do popular Unix Distributions Use?
A tar.gz file is not necessarily source code; it can contain binaries, and it's definitely not an ASCII file: it's a gzip-compressed archive.
Jun
16
comment How does one change the delay that occurs after entering an incorrect password?
This has been interesting; maybe I'll write a module that allows N tries with no delay followed by any number of tries with a long delay.
Jun
16
comment How does one change the delay that occurs after entering an incorrect password?
Adding the nodelay option to pam_unix.so and adding a new entry with pam_faildelay.so delay=$some_number lets me set whatever I want. Thanks!
Jun
16
comment How does one change the delay that occurs after entering an incorrect password?
There is no mention of delay anywhere in /etc/pam.d/*. The closest thing I see is pam_tally.so which allows locking after some number of attempts. But I do have n /etc/login.defs, which might be what I need.
Jun
2
comment Battery not detected on my embedded device on reboot
This could be either hardware or software, but I'd bet the software is not giving enough time for the hardware to initialize.
Jun
2
comment Battery not detected on my embedded device on reboot
How do you know the battery isn't detected if it fails to boot?
May
27
comment How can I change the battery icon in the systray?
I already tried changing the theme - the icon isn't coming from the theme. I added that info to the question.
May
18
comment Argument list too long for ls
@Coren @Mikel - not everybody has GNU's find. The find on OS X and on busybox-based systems, and I would guess any BSD-based system shows the filename with a newline in it, which would mess with the count.
May
18
comment Argument list too long for ls
I modified it slightly to work in the case when there are filenames with newlines in them. You might also want to add a -maxdepth 1 if you are not intending to count files in subdirectories.
May
17
comment How do I install a device driver provided as a .bin file?
Where did you get this driver?
Apr
26
comment Using awk to process ls output with spaces in filenames/paths
@smokinguns See '-exec printf {}...' in the second example.
Apr
18
comment To display the selected part in line of text file
It depends on why 3071 is special. Is it because of its position, or because it is exactly the value 3071, or because of what comes before or after it, etc?
Apr
17
comment command OR script to detect vpn connection status
You can ping your VPN gateway. So, if your gateway on the VPN is 172.16.1.1, the exit status of ping -c 1 -W 10 172.16.1.1 will tell you if you're connected.
Apr
12
comment sourcing a file inside a script
I just tried it; it works for me the way you were expecting. Are you sure your sourced script is setting LD_LIBRARY_PATH? You can add a line at the very end (or anywhere the script might exit) that echos it to a different temp file.
Mar
11
comment Mouse clicks stop working after random time, using Awesome WM + Gnome
I have experienced this same behavior in the past, so I don't think it's anything special about any your hardware. I did not have Gnome at the time. I currently have two systems with Awesome, and neither are showing that behavior.
Feb
28
comment How do I begin with building a Linux system from scratch?
You can configure grub to boot a Linux kernel. There are many places to find out how to do that; the most authoritative of which would be the official manual(gnu.org/software/grub/manual/grub.html). Once the kernel boots, it will attempt to start a program located at /sbin/init (unless configured otherwise). This program can do anything you want. There are some common options to use for /sbin/init, such as Upstart, sysvinit, systemd, or just bash. From there, that program is in control. If it ever exits, the kernel will crash, so it should be capable of starting other programs.
Feb
20
comment using parallel to process unique input files to unique output files
@JJones - monitor_workers is just like process_file - it's a function that does whatever you want. About the monitor - you were right; it should save the pids of its workers (so it can send a kill signal) and the counter needs to be incremented when it starts a worker. I've edited the answer to include that.
Feb
17
comment Help with getting wifi up and running in Arch Linux on Mac Mini 3,1
@TomIngram You'll have to use wpa-supplicant (wiki.archlinux.org/index.php/WPA_supplicant). You should try and do as much as you can, and when you run into a problem, ask a new question.
Feb
17
comment How to stop a program running as daemon
I would add conditions to your statement. Don't use kill -9 unless you have tried other relevant signals or unless you know what the consequences of not allowing that process to terminate cleanly are and they are acceptable.
Jan
31
comment What can make passing init=/path/to/program to the kernel not start program as init?
Actually, it checks execute_command first, which comes from the kernel command line init= parameter. If it can't execute it, it prints a warning and tries to run init in various locations. This is in init/main.c in the function init_post(). I looked through the kernel printk messages and found the warning in my kernel's output, so now I have to figure out why it can't start /bin/sh or anything else that I try to start.