- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Openssh not logging to btmp
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 03:01 AM
01-21-2004 03:01 AM
Openssh not logging to btmp
I noticed that doing a last, shows every connection as being "still logged in" and lastb does not show any failed logins at all.
when trying it via telnet, last and lastb both work as expected.
I searched the itrc, and I have seen a couple other people that have similar problems, but no real answers that I could find....has anyone seen this issue before and have a solution for it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 03:09 AM
01-21-2004 03:09 AM
Re: Openssh not logging to btmp
let me get off my soap box.
in sshd_config enable
UseLogin yes
UsePam yes
keep rocking .... go opensource
Donny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 03:18 AM
01-21-2004 03:18 AM
Re: Openssh not logging to btmp
the UsePam option didnt work:
/opt/ssh/etc/sshd_config: line 83: Bad configuration option: UsePam
/opt/ssh/etc/sshd_config: terminating, 1 bad configuration options
as for using HP's vs compiling my own, I actually did start out downloading the latest and greatest and trying that, but it didnt supported a trusted HPUX environment, so I went with HP's version, which did ;)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 03:22 AM
01-21-2004 03:22 AM
Re: Openssh not logging to btmp
You may have a permission problem on the btmp file
My installation is correctly loggin all ssh logins.
Here are the permissions
on the btmp file.
/var/adm/btmp
rw root:other
No other permissions.
My guess is there is a daemon or permission problem.
inetd -c might help.
I have found the HP port of openssh to be excellent and reliable.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 03:26 AM
01-21-2004 03:26 AM
Re: Openssh not logging to btmp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 03:28 AM
01-21-2004 03:28 AM
Re: Openssh not logging to btmp
# grep -v "^#" sshd_config
Protocol 2
AuthorizedKeysFile .ssh/authorized_keys
KerberosAuthentication yes
X11Forwarding yes
X11UseLocalhost no
UseLogin yes
Banner /etc/issue
Subsystem sftp /opt/ssh/libexec/sftp-server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 03:29 AM
01-21-2004 03:29 AM
Re: Openssh not logging to btmp
anyway, not to discredit HP for their work on porting openssh to hp, much needed I guess. but very late in the game. I am running ssh at 64 bits for way to long to switch to their verion. whihc is compiled at 32 bts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 07:05 AM
01-21-2004 07:05 AM
Re: Openssh not logging to btmp
Inetd -c only effects the internet daemon, inetd, causing it to re-read the conf file, /etc/inetd.conf.
Ssh runs a standalone daemon, sshd, which is not called by inetd, therefore will have no effect.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 07:10 AM
01-21-2004 07:10 AM
Re: Openssh not logging to btmp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 07:20 AM
01-21-2004 07:20 AM
Re: Openssh not logging to btmp
The times were admirable.
Of course I made sure the target filesystem had largefiles enabled.
I did not sense any disrespect or anything.
Just an amicable disagreement.
With minimal work the latest depot should perform nicely.
Though compiling openssh is a good excersize. Wish I had time for that.
knocked off a couple of ugly support calls in the last two days, hence more time to post here.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 07:54 AM
01-21-2004 07:54 AM
Re: Openssh not logging to btmp
Placed a support call with HP, and they are aware of the problem and it will be fixed in the next release.
They did send me a "Prerelease" of A.03.71.000
I can send it to you if you want.
Fixed the problem, presto!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 07:40 PM
01-21-2004 07:40 PM
Re: Openssh not logging to btmp
I understand the convenience of getting a "packaged" version of OpenSSH, however, all HP have done is to compile it using the options that the technician thought would be the mostly likely to suit most people, and therein lies the problem. SSH in common with other security products is highly configurable, and where possible people should take the time to build their own binaries.
You should also ALWAYS ALWAY test every release at the lowest level since due to the nature of open-source development, bugs do creep in.