2,232 reputation
1511
bio website spodhuis.org
location Pittsburgh, PA
age 38
visits member for 4 years, 7 months
seen 20 hours ago

Software engineer for a PaaS startup: Apcera, Inc.

Site Reliability Engineer (SRE, aka sysadmin who knows systems well and programs in multiple languages).

Former Google SRE. Former Twitter staff-level Operations Engineer.

I am a LOPSA (League of Professional System Administrators) member.


Jan
2
comment Is there any reason to use bash over zsh?
bash's tab completion is very similar to zsh's old tab-completion system. This is one of the ideas copied from zsh to bash (there are others copied bash to zsh). You can use completion scripts written for bash in zsh, by running "bashcompinit" and then using the "complete" and/or "compgen" commands inside zsh -- this is possible because the bash functionality is a subset of that available in zsh and so can be emulated. So there's no reason to switch to bash because a command ships with a bash completion.
Jan
2
answered Is there any reason to use bash over zsh?
Jan
2
comment how to configure open ldap to work on localhost
Since dc explicitly means domain-component, and is for those new-fangled DNS users who think that Internet domains matter :) you could always revert to an old-style setup based on components other than dc=. This has the advantage of not causing confusion when systems try to locate servers with SRV records based on the dc path.
Jan
1
comment Is it possible to grow partitions in RAID1
FreeNAS is based on FreeBSD, not Linux (thus the option of ZFS).
Dec
31
answered Where can you get Python 2.6 bindings for Subversion 1.5.6?
Dec
21
answered GNU screen configuration for optimal keycode recognition
Dec
21
answered How can I manage a list of frequently accessed hosts?
Dec
21
comment Count number of bytes piped from one process to another
Uh, yes. I was apparently having one of "those" moments, sorry.
Dec
18
revised Count number of bytes piped from one process to another
Added the redirection stuff
Dec
18
answered Count number of bytes piped from one process to another
Dec
15
answered When Google DNS (or Open DNS) is a good fit
Dec
15
answered LDAP over SSL/TLS working for everything but login on Ubuntu
Dec
15
comment LDAP over SSL/TLS working for everything but login on Ubuntu
ldaps:// automatically sets the correct port in the client libraries. You can confirm this with ldapsearch -ZZ -H ldaps://... when you see that TLS can't be set up because it's already in place. -Z with ldap:// to get TLS over the normal port, or ldaps:// to use the ldaps port and SSL-on-connect.
Dec
15
comment Launching mysql server: same permissions for root and for user
Just read the Q more thoroughly: yes, mysqld_safe drops privileges to the mysql user (unless overriden with -o/--user); generally, running commands as root needlessly is dangerous, so the start-up wrapper script drops privileges. This lets you have one startup script run as root for all the tools, but still drop privileges very easily.
Dec
15
answered Ubuntu execute python script at logon as root after user logon
Dec
15
answered Launching mysql server: same permissions for root and for user
Dec
11
comment sudo without password?
That is the default .profile copied from /usr/share/skel/dot.profile or the default root profile, from /usr/src/etc/root/dot.profile and kensmith is one of the FreeBSD commiters, Exp just a word in the CVS keyword tag. See freebsd.org/cgi/cvsweb.cgi/src... for the revision histories of those files and to see that Ken is okay. If HOME=/root came from that, perhaps you did something (invoke a bad script) to copy a file to ~/ while sudo'd to root and HOME was still your normal home. None of this explains that sudo was not prompting, so I still worry that your uid is 0 from passwd.
Dec
11
answered Change Passwords for All Users on Linux Server
Dec
10
answered Retrieve operational attributes from OpenLDAP
Dec
10
awarded  Editor