[Bug 252] New: Patch for use of /etc/default/login

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Mon May 20 20:41:16 EST 2002


http://bugzilla.mindrot.org/show_bug.cgi?id=252

           Summary: Patch for use of /etc/default/login
           Product: Portable OpenSSH
           Version: -current
          Platform: All
        OS/Version: Solaris
            Status: NEW
          Severity: enhancement
          Priority: P4
         Component: sshd
        AssignedTo: openssh-unix-dev at mindrot.org
        ReportedBy: Robert.Dahlem at siemens.com


There is a file /etc/default/login on Solaris 2.x and ReliantUNIX. See

   http://docs.sun.com/ab2/coll.40.6/REFMAN1/%40Ab2PageView/174009

   (Sun likes to change URLs ... it's not more than 'man login')

for a description. It handles things like setting a different PATH for root and
normal users at login time and the umask setting, quite a convenient feature for
administrators.

This file exists and is used in SINIX / ReliantUnix also.

/etc/default/login was handled in SSH 1 since at least 1998. I rewrote some of
the old code to gather at least PATH and UMASK.

I added a paranoia check to have always a minimum PATH set but 
take care! I fear this changed the semantics of --with-default-path.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the openssh-unix-dev mailing list