Bug 797 - ignores setting of CONSOLE var in /etc/default/login
Summary: ignores setting of CONSOLE var in /etc/default/login
Status: CLOSED WONTFIX
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: sshd (show other bugs)
Version: 3.7.1p2
Hardware: UltraSPARC Solaris
: P2 normal
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-26 18:16 AEDT by Scott Packard
Modified: 2004-04-14 12:24 AEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Packard 2004-01-26 18:16:14 AEDT
- Won't honor configuration of /etc/default/login variable.
 As shipped, Solaris (most versions) have a variable set in this file
 CONSOLE=/dev/console
 If the var is set, root login only is allowed on the console.
 If you comment the var out, then root is allowed from anywhere.
 sshd doesn't care whether or not the var is set.
Comment 1 Ben Lindstrom 2004-01-26 18:50:25 AEDT
this has been discussed before on the openssh-unix-dev@ archives.  to honor this would effectly
destory:

     PermitRootLogin
             Specifies whether root can login using ssh(1). The argument must
             be ``yes'', ``without-password'', ``forced-commands-only'' or
             ``no''. The default is ``yes''.

And after long discussion that 'PermitRootLogin' is more useful.  It was decided that CONSOLE
should be ignored.
Comment 2 Scott Packard 2004-01-27 09:42:18 AEDT
this has been discussed before on the openssh-unix-dev@ archives.  to honor this
would effectly
destory:

     PermitRootLogin
             Specifies whether root can login using ssh(1). The argument must
             be ``yes'', ``without-password'', ``forced-commands-only'' or
             ``no''. The default is ``yes''.

And after long discussion that 'PermitRootLogin' is more useful.  It was decided
that CONSOLE
should be ignored.
Comment 3 Damien Miller 2004-04-14 12:24:20 AEST
Mass change of RESOLVED bugs to CLOSED