617 reputation
47
bio website
location Canada
age
visits member for 4 years, 9 months
seen 2 days ago

Linux and Mac software developer


Mar
23
awarded  Commentator
Mar
19
comment fsck an ntfs drive in Linux
Newer versions of Debian and Ubuntu don't have this symlink. You can make it yourself, but the problem is that ntfsfix has a completely different set of arguments to the standard fsck ones. It's better to make fsck.ntfs (and fsck.ntfs-3) a script containing exec ntfsfix ${@:$#} (with a shebang of #!/bin/bash).
Jan
31
comment How do I format an SSD to be used as the hibernation drive? (Acer S3)
On my Lenovo IdeaPad U310, that GUID is used for Smart Response, not Rapid Start. It looks like you have the two terms mixed up. They are actually quite different from one another.
Sep
24
awarded  Autobiographer
Sep
11
awarded  Yearling
Feb
3
awarded  Critic
Feb
26
comment Which Debian package architecture am I using?
dpkg-architecture is in the dpkg-dev package which isn't installed by default (although it is a dependency of build-essential). However, dpkg is by definition guaranteed to be there.
Aug
26
awarded  Nice Answer
Jul
2
awarded  Yearling
Apr
4
comment Can you specify git-shell in .ssh/authorized_keys to restrict access to only git commands via ssh?
@Tim This is essentially the same solution, but squeezes the content of my ~/gitserve script into authorized keys by using perl. Personally, I prefer keeping it in a separate script.
Apr
4
revised Can you specify git-shell in .ssh/authorized_keys to restrict access to only git commands via ssh?
The original ellipsis (…) was intentional, showing that some path information may need to be inserted. Using .. for parent directory is almost certain to be incorrect.
Dec
8
awarded  Necromancer
Oct
6
answered Can you specify git-shell in .ssh/authorized_keys to restrict access to only git commands via ssh?
Oct
6
comment Can you specify git-shell in .ssh/authorized_keys to restrict access to only git commands via ssh?
This doesn't work for me, because my git client (1.7.5.4) sends the repo name in single quotes, presumably because it's expecting to have the entire command line interpreted by a shell. The exec $SSH_ORIGINAL_COMMAND then passes the single quotes on to git-receive-pack etc. which therefore doesn't find the repository.
Jul
6
awarded  Yearling
Jul
11
comment Is it possible to log a user in a remote computer using ssh?
Actually, the second virtual terminal would be displayed on the screen, so someone sitting at the computer would see your install and would have their work interrupted. The only benefit would be a more controlled environment, ie not having all of GNOME or KDE running, just whatever you choose to run, which would be the program running under WINE and maybe a lightweight window manager like metacity.
Jul
8
revised Aptitude Untrusted source, gpg, keyserver
Add link to Secure Apt documentation
Jul
8
answered Is it possible to log a user in a remote computer using ssh?
Jul
8
answered Resizing Ubuntu root partition installed in “Install inside Win” mode
Jul
8
answered SSH X Tunnel via non-X server