185 reputation
18
bio website inst.eecs.berkeley.edu/…
location California
age 23
visits member for 4 years, 10 months
seen Jan 23 at 5:39
I'm an EECS student at UC Berkeley. Interested in everything about computers. Primarily use Windows but with a large smattering of GNU software, enough that I consider it GNU/NT ;). I also like Linux in general but mostly run it in a VM, but I'm not a noob to Linux. I am also a new system administrator for the student group HKN. I'd appreciate any help and advice from more experienced sysadmins. We use mostly Linux systems, but we do occasionally have to do maintenance on a couple of Windows boxes.

Jan
13
comment SSH connection lost during server upgrade - How to reconnect to process?
Woah thanks! I was actually running a release upgrade from 11.10 to 12.04 in byobu and then it closed when byobu was upgraded but I was able to reconnect to the root screen session and watch the upgrade finish! I nearly tried to forcefully kill the upgrade but luckily I read this response in time.
Jan
13
comment SSH connection lost during server upgrade - How to reconnect to process?
Incidentally, I preempted this and did a do-release-upgrade over ssh by using byobu, but when byobu was upgraded it killed my session! I wonder if using screen directly would have prevented this. But the other answer to this question answered my situation, seems like the installer is smart and runs its own screen session anyway :D
Dec
6
comment Move a file and leave a soft link behind
How does this move the actual file on disk?
Oct
25
comment Debian - What to do when upgrading packages and a config file has changes?
Heh, at this point I don't even know what I was asking about. Merge tools are useful of course. One thing I've found since I posted this that's quite helpful is etckeeper. At least for smaller systems I see no reason not to use it, it just puts /etc under version control (git in my case) which is pretty handy if you're confused about what changes you've made in the past. The auto commits won't tell you why you did something though.
Sep
13
comment Postfix .procmailrc mail bounce loops
Actually, you know, I'm not sure that this would work. Would the custom header necessarily be included in the bounce notification from the final recipient server?
Sep
13
comment Postfix .procmailrc mail bounce loops
Also, is it normal for the bounce to come back to our server rather than the sender? It seems like the sender is the one that should care about it.
Sep
13
comment Postfix .procmailrc mail bounce loops
Thanks, that sounds like a good solution. Could you elaborate on that a little though? Where do I check for it when it comes back in?
Mar
22
comment Group readable cron jobs a security risk?
Yeah, I guess you're right. This is kind of a silly question.
Mar
22
comment Group readable cron jobs a security risk?
Yeah, I guess you're right. It doesn't have any passwords because root is set up with a .pgpass file that will allow root to access the postgress databases without authenticating. It just seemed a little weird to me but I guess there's no problem with it.
Mar
22
comment Group readable cron jobs a security risk?
Hmm, OK. That makes sense. My question was kind of silly I guess.
Mar
12
comment Secure way to run a script on a remote server without requiring authentication
Awesome thanks, that's what I wanted know. And anyway, it's not going to be my own just a randomly generated key for the gitosis user.
Mar
8
comment MySQL equivalent to .pgpass, or automatic authentication in a cron job for mySQL
One thing I guess to add is that if running the script using sudo, you need to use -H to make sure that it uses root's home directory. But I think that problem shouldn't be an issue in a root cron job, correct?
Mar
8
comment MySQL equivalent to .pgpass, or automatic authentication in a cron job for mySQL
Yeah bleh, apparently my search-fu is lacking.
Mar
8
comment MySQL equivalent to .pgpass, or automatic authentication in a cron job for mySQL
Hmm, strangely, I found something promising through google rather than serverfault's own search: stackoverflow.com/questions/601995/…
Jan
28
comment SpamAssassin 2010 Bug still active on my mailserver despite the offending rule being fixed - where to look to fix?
See serverfault.com/posts/107027/revisions for proof that it was always like that.
Jan
28
comment SpamAssassin 2010 Bug still active on my mailserver despite the offending rule being fixed - where to look to fix?
I also restarted postfix, still no change.
Jan
28
comment SpamAssassin 2010 Bug still active on my mailserver despite the offending rule being fixed - where to look to fix?
Nope, I didn't edit that part of the post, it was always like that. I've restarted spamd maybe 10 times in the past hour. Also, the file in /var/lib/spamassassin/3.002005/updates_spamassassin_org/72_active.cf also has the fixed rule with [2-9] instead of [1-9]. While I'm not very practiced with regex, I'm not ignorant with it either. What I edited was the fact that I had tried changing the score in /etc/spamassassin/local.cf and even in the main 50_scores.cf file and it still hasn't had an effect.
Dec
9
comment Init.d vs Cron - which to use?
Oh, does /etc/rc.local get run on shutdown or reboot (runlevels 0 and 6 if I understand correctly)?
Dec
9
comment Init.d vs Cron - which to use?
Ah, that seems to be the simplest way to do it without leaving a lot of cruft everywhere.
Dec
9
comment Init.d vs Cron - which to use?
Ah, so making it an init script is kind of overkill? I thought it might be, but I wasn't sure. I think I'll go the /etc/rc.local route rather than mess with cron, since it's really just a one line script.