Mailing List Archive

[Bug 979] Openssh doesn't support UTMPS/BTMPS/WTMPS database
http://bugzilla.mindrot.org/show_bug.cgi?id=979

Summary: Openssh doesn't support UTMPS/BTMPS/WTMPS database
Product: Portable OpenSSH
Version: 3.9p1
Platform: Other
OS/Version: HP-UX
Status: NEW
Severity: enhancement
Priority: P5
Component: Miscellaneous
AssignedTo: openssh-bugs@mindrot.org
ReportedBy: tryponraj@gmail.com


I am using openssh in HP-UX B.11.23 platform.This platform supports
utmps/btmps/wtmps structure and related files for login purpose instead of
utmp/btmp/wtmp.
Since openssh has been written to support utmp struture, it ignores
utmps/btmps/wtmps and it's related files.
So commands that support utmp/btmp/wtmp database, for example logname,who -
[],last,lastb commands, do not work in 11.23 platform.
So, Can openssh be enhanced to support utmps/btmps/wtmps ?



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 979] Openssh doesn't support UTMPS/BTMPS/WTMPS database [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=979





------- Additional Comments From dtucker@zip.com.au 2005-02-03 22:13 -------
It sounds like the same situation as utmpx and friends on some platforms (Solaris?)

loginrec is constructed to allow this, but first you ought to see if your
platform has native functions to deal with these files (ie the equivalents of
endutxent, getutxent, getutxid, getutxline, pututxline, setutxent, utmpxname).



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 979] Openssh doesn't support UTMPS/BTMPS/WTMPS database [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=979





------- Additional Comments From tryponraj@gmail.com 2005-02-03 23:33 -------
Yes.Platform B.11.23 has native functions such as endutsent, getutsent,
getutsid, getutsline, pututsline, setutsent which are equivalents of
endutxent, getutxent, getutxid, getutxline, pututxline, setutxent, utmpxname
functions.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 979] Openssh doesn't support UTMPS/BTMPS/WTMPS database [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=979





------- Additional Comments From dtucker@zip.com.au 2005-02-03 23:39 -------
Could you please attach (ie "create a new attachment" don't paste into the text
field) the config.h file created by running ./configure on your HP-UX 11.23 system.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 979] Openssh doesn't support UTMPS/BTMPS/WTMPS database [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=979





------- Additional Comments From tryponraj@gmail.com 2005-02-04 01:13 -------
Created an attachment (id=803)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=803&action=view)
config.h file in HP-UX 11.23

config.h file after running configure script is attached



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