aharrison at gmail.com
Wed Oct 31 05:57:52 PDT 2007
-----BEGIN PGP SIGNED MESSAGE-----
On 10/31/07, Michael Grant wrote:
> If I'm sued as root and I ssh somewhere, ssh/scp reads it's files from
> /root/.ssh/. The docs say it reads from ~/.ssh which is what I want,
> but it's not doing that. When sued, the shell is properly expanding ~
> to my home dir.
> Anyone know of a way around this behavior?
Instead of just 'su' use 'su -' and that should do the trick.
public key: 0x67518262
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the freebsd-questions