[ILUG] Quickie
John Dunnion
john at kavanagh.ucd.ie
Tue Apr 10 11:32:27 IST 2001
> 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.
More information about the ILUG
mailing list