Date: Tue, 13 Apr 2004 17:36:56 -0300 (EST) From: <scuba@centroin.com.br> To: <freebsd-questions@freebsd.org> Subject: Re: ssh root denied Message-ID: <Pine.BSI.4.33.0404131729400.3880-100000@hypselo.centroin.com.br> In-Reply-To: <407AF979.7060002@daleco.biz>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, On Mon, 12 Apr 2004, Kevin D. Kinsey, DaleCo, S.P. wrote: |Root logins are disallowed by default on FreeBSD |for security reasons. The recommended approach |is to log on an account that is a member of the |"wheel" group, and su(1) to root when necessary |for administrative purposes while doing your routine |work under a less-privileged UID... But, what should be te correct approach when you want to copy root's files and/or remote execute programs as root with scripts using scp/ssh and key authentication? Like: scp master.passwd host2:/etc/ or ssh host2 'pwd_mkdb -p /etc/master.passwd' - Marcelo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.4.33.0404131729400.3880-100000>