SSH Problem
Kevin D. Kinsey, DaleCo, S.P.
kdk at daleco.biz
Mon Mar 1 08:42:03 PST 2004
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
>>standpoint.
>>
>>
>
>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.
>
>B.R.
>Stephen
>
>
>
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....
HTH,
Kevin Kinsey
DaleCo, S.P.
More information about the freebsd-questions
mailing list