> What file do I need to access to allow "root" to have telnet access on
> a Solaris 2.6 box ?? I can hear you guys cringing in terror already,
> but this is just a very temporary measure - and they are only two test
> boxes anyway :-)
I would say that it's not a function of telnet that prevents root from logging
in, but a function of the login programme. The following are extracts from the
login(1) manual page from Solaris (2.5, but it's the same, I'd say):
_______________________________________________________________
To enable remote logins by root, edit the /etc/default/login
file by inserting a ' # ' (pound-sign) before the
CONSOLE=/dev/console entry. See FILES below.
...
FILES
...
/etc/default/login Default value can be set for the follow-
ing flags in /etc/default/login. For
example: TIMEZONE=EST5EDT
TIMEZONE: Sets the TZ environment
variable of the shell
(see environ(5)).
HZ: Sets the HZ environment
variable of the shell.
ULIMIT: Sets the file size limit
for the login. Units are
disk blocks. Default is
zero (no limit).
CONSOLE: If set, root can login on
that device only. This
will not prevent execu-
tion of remote commands
with rsh(1). Comment out
this line to allow login
by root.
PASSREQ: Determines if login
requires a password.
ALTSHELL: Determines if login
should set the SHELL
environment variable.
PATH: Sets the initial shell
PATH variable.
SUPATH: Sets the initial shell
PATH variable for root.
SunOS 5.5 Last change: 24 Feb 1995 4
login(1) User Commands login(1)
...
SunOS 5.5 Last change: 24 Feb 1995 5
login(1) User Commands login(1)
_______________________________________________________________
Hope this helps,
John.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!