Reputation
770
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
3 15
Impact
~45k people reached

Mar
27
answered How to do a bidirectional SSH connection on localhost?
Feb
10
comment Sudo and file permissions
@aelbaz: What do you mean by 'permissions will continue having regular file'? The effect of sudo /sbin/ifconfig (...) is to run the /sbin/ifconfig command as user root, who can do more with that command than a regular user can, not because of the permissions set on /sbin/ifconfig or because of the lines in the sudo configuration, but because of permissions set on other files that are used by /sbin/ifconfig.
Feb
6
comment Grep analog in Powershell
Install Unix tools such as sh and grep for Windows and use them?
Jan
24
accepted how to share Linux user passwords and Samba passwords
Dec
9
answered Can I use pipe output as a shell script argument?
Dec
9
answered Is there a way to pass a statement via an argument in shell?
Nov
11
comment Change name of Program Files
What I do is create a junction to it named ProgramFiles.
Nov
1
comment rsync filter: not finding the filter file
Aargh ... so the problem was lack of clarity in the error messages.
Nov
1
comment rsync filter: not finding the filter file
The example in the manpage is merge /etc/rsync/default.rules, clearly that refers to an absolute path. Why are you using quotes around the filename? On Unixy systems it's a better policy to avoid quotes by avoiding any characters in your filenames that are special to the shell. You never know how any particular tool is going to treat quotes.
Oct
31
comment rsync filter: not finding the filter file
My guess is that you're not aware that /.deploy/filters is an absolute path, and that you mean .deploy/filters instead.
Oct
30
comment ssh with an alternative configuration directory?
It isn't an answer; it's a workaround to the lack of an answer.
Oct
30
comment ssh with an alternative configuration directory?
I solved the problem by writing a wrapper script that actually changes the user's $HOME (it's a symlink), executes the wrapped command, then changes it back; and using that in my cron job. It's a hack but it will do.
Oct
30
revised ssh with an alternative configuration directory?
edited body
Oct
14
revised ssh with an alternative configuration directory?
added 16 characters in body
Oct
14
comment ssh with an alternative configuration directory?
let us continue this discussion in chat
Oct
14
comment ssh with an alternative configuration directory?
The problem is that my $HOME is on a network drive, which ssh can deal with just fine, except when running from cron.
Oct
14
comment ssh with an alternative configuration directory?
Yes, rsync is what I want to use this for.
Oct
14
comment ssh with an alternative configuration directory?
I think it's cleanest to close this question (although I would really like to know the answer, looks like my only option is to compile ssh from source); I'll try to ask the other question in a second attempt. Thank you.
Oct
14
comment ssh with an alternative configuration directory?
One question at a time. I was trying to avoid the real question because it takes about 4 paragraphs to explain and people will start picking on all the things I don't mean to ask.
Oct
14
comment ssh with an alternative configuration directory?
I've deleted the sentence about the cron jobs. Sorry about that. Please just consider the problem as stated. BTW, a first glance at the source code in ssh.c doesn't leave much hope.