Stephen Liu wrote:

- snip -

You say that this works as root, but your example seems to indicate
otherwise.  By default, root logins via ssh is disabled in the sshd
config file, usually at /etc/ssh/sshd_config.  If for some reason you
want to allow root logins via ssh then uncomment the following line and
change "no" to "yes" - then restart sshd:

PermitRootLogin yes

However, I think this would generally be frowned upon from a security

Hi Nathan,

Tks for your advice which works.

This arrangement is only to facilitate Administor's job. He operates outside contact as 'user' from there if necessary he can login as root doing maintenance.


No, no, no...!! :-)

He should be a member of the "wheel"
group.  He should then ssh in as "user",
and use su(1) to "become" root.

Better even still, install sudo
(/usr/ports/security/sudo) and let
him use that:  then you can see what
your Administrator has been up to,
if necessary....


Kevin Kinsey
DaleCo, S.P.
[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to