- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Changing login program
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
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
06-25-2001 03:15 AM
06-25-2001 03:15 AM
Changing login program
How can I tell to telnetd and rlogind (on both HPUX 11.00 and 10.20) to use another login program (not /usr/bin/login).
Tanx!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2001 03:34 AM
06-25-2001 03:34 AM
Re: Changing login program
Providing you are sure of your alternative login program then:-
1. mv /usr/bin/login /usr/bin/loginold
2. Place your login program in /usr/bin/ and call it login.
HTH
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2001 03:41 AM
06-25-2001 03:41 AM
Re: Changing login program
I think you can not.
May be you can substitute login with a shellscript, that checks, if its parent process ID belongs to a telned or rlogind
and starts something else then.
I am not so sure, if this works, because I think telnetd and rlogind do NOT call login, but instead they call getty, which switches to login in some cases.
Do not know if this helps
Volker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2001 03:48 AM
06-25-2001 03:48 AM
Re: Changing login program
The only way I know to do that (I made it on
linux box) is to get telnetd sources (but
thinks it's impossible for HPUX) and modify
telnetd progam ...
I think there are no option to do that. But,
like Paula said, you can change login program.
But you modify login for remote and local
access (login on console, telnet and rlogin).
If you just want to modify access login for
telnet client you can do a script wich call
another program in this case...
I think it's better during your test to have
an open session on your system... sometimes
it's really usefull.
HTH
Herve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2001 04:07 AM
06-25-2001 04:07 AM
Re: Changing login program
If I were you I'd study the PAM implementation for HP-UX. When using PAM, you should be able to modify the authentication methods per program.
For more information:
man 4 pam.conf
Vincent