ssh login as root
jerrymc at msu.edu
Sun Mar 11 01:54:05 UTC 2007
On Sat, Mar 10, 2007 at 06:43:43PM +0200, Dima Sorkin wrote:
> Actually I would prefer to do it via "su".
> Here a really newbie question:
> 1) How do I join regular user to 'wheel' group ?
> 2) How do I join a user to some group 'some_group' ?.
> Which manpage to read ?
Just edit the /etc/group file - using vi probably or any other text editor.
On the line that establishes the wheel group, just add the user id
on the end separated with a comma.
eg. add ',otherid' to the end of the line.
Save (write) and quit. It is now there.
> On 3/10/07, Guido Demmenie <rottweilertje at rottnic.nl> wrote:
> >Default setting is that root can not login via ssh (and that's how
> >you want it).
> >You can use su(1) to gain root privileges when loged in on your box
> >with a normal
> >user if needed (if you are in the group wheel).
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions