Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Apr 2000 17:24:33 -0600 (CST)
From:      Ryan Thompson <ryan@sasknow.com>
To:        "Matt M." <matt@boda.virtualave.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: telnet into root
Message-ID:  <Pine.BSF.4.21.0004061718590.28679-100000@ren.sasknow.com>
In-Reply-To: <006c01bf9ff5$f64febe0$873c67ce@800support.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Matt M. wrote to freebsd-questions@FreeBSD.ORG:

> Just wondering how I can enable the option to telnet into root. And, I
> forgot to add myself into the wheel group, and I need to access my box from
> work and do some root stuff. Is there any other way to access the root
> account?

If you can access the box locally, you can log on as root and add yourself
to the wheel group in /etc/groups, or, better yet, install SSH and enable
root logins in /usr/local/etc/sshd.conf if you have a client that supports
ssh at work.

However, I think you already know the above, and you are searching for
some way to access your box from work NOW, without going home and
accessing the box from there.

Unless you have given yourself permission to modify /etc/group, or if
there is another login user who is a member of the wheel group, or you
have already installed SSH with root logins enabled, you are SOL.  There
are no known root exploits that I can think of that would help your
situation (and I would hope they would be closed pretty fast :-)

So, you'll either have to go home (home = location of system) and make the
change yourself, or phone someone with physical access to the system
(spouse?) and step them through the process, from the root login to the
/etc/group modification.  (And, change your root password yourself when
they're done).

-- 
  Ryan Thompson <ryan@sasknow.com>
  Systems Administrator, Accounts
  Phone: +1 (306) 664-1161

  SaskNow Technologies     http://www.sasknow.com
  #106-380 3120 8th St E   Saskatoon, SK  S7H 0W2



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0004061718590.28679-100000>