158 reputation
7
bio website
location Sydney, Australia
age
visits member for 1 year, 9 months
seen yesterday

Just a random fox passing through.


Oct
22
comment How do I completely disable an account?
It would be great if you could also provide the method to reverse this operation. Looks like usermod --unlock --expiredate '' username will do it.
Oct
7
awarded  Teacher
Oct
7
comment /usr/bin/vim vs. /bin/vim
@peterph Done. Sorry about the delay getting around to it.
Oct
7
answered /usr/bin/vim vs. /bin/vim
Oct
6
awarded  Commentator
Oct
6
comment How to automatically mount remote directories on login / startup
We have some issues where this mount (from .bash_profile) will not work if the user logs in shortly after boot - the network (wifi) isn't up yet. A possible solution might be running a script on network up.
Oct
4
awarded  Autobiographer
Oct
2
comment /usr/bin/vim vs. /bin/vim
My bet would be on the sudo PATH preferring /bin over /usr/bin, or not even having /usr/bin in it. You can check with sudo env | grep PATH, if you have permission to run sudo env. Alternatively, if you can get into sudo /usr/bin/vim, you can run :echo $PATH from Vim.
Jun
29
comment why would curl and wget result in a 403 forbidden?
@starfry You need to tick Enable persistent logs on the settings tab of Firefox's dev tools to prevent it from clearing network logs on a redirect. Chrome has a similar option. Incidentally, "Copy as cURL" has been in Firefox Nightly/Aurora/Beta for a while now, and is due next major release (31.0).
Jun
29
comment why would curl and wget result in a 403 forbidden?
Incidentally, you can use the network tab of Firefox's dev tools to inspect sent and received cookies without any addons. Ditto for Chrome/Chromium.
Jun
4
comment Why does nginx starts process as root?
> This is one of the pros of using Linux for web servers as opposed to Windows. Sorry, but I don't buy that argument. Windows likewise allows service accounts with interactive logon disabled, and also supports ACLs. That said, there are other reasons Apache httpd and Nginx shouldn't be run on Windows (IIS is preferred) without extenuating circumstances, but that's beside the point here.
Apr
20
comment strange NTP traffic
It's possible that external access was allowed via UPnP rather than an explicit port forward. Unlikely, though.
Apr
6
comment What are the platforms that Linux is being used frequently on besides x86?
@trysis Don't forget all the servers that run Linux, the vast majority of which are on x86.
Mar
8
comment How are system commands like ls created?
For the identical test, you really should be using something like md5sum or sha1sum, not just checking file sizes and times.
Jan
22
comment How can I parallelise the upload of a directory by FTP?
The is one possible approach, but has the drawback of needing to authenticate once for every file - again, a lot of overhead made worse by high latency.
Jan
19
awarded  Scholar
Jan
19
awarded  Supporter
Jan
19
accepted How can I parallelise the upload of a directory by FTP?
Jan
19
awarded  Editor
Jan
19
revised How can I parallelise the upload of a directory by FTP?
Forgot to mention CLI.