- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- getlogin function giving error no. 25: It is not a...
Operating System - HP-UX
1755917
Members
3636
Online
108839
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
11-18-2002 02:03 AM
11-18-2002 02:03 AM
getlogin function giving error no. 25: It is not a typewriter.
My application is using getlogin function. The n number of users can login to our application. Our application runs on HP-UX 11.0 model L2000-25x model machine.
whenever we start out application, the logic first tries to get the logged in user id through getlogin function and then go ahead with further program logic.
But for few users it gives me error in getlogin function. The error number is 25: It is not a typewriter, and for other users it runs perfectly.
I also searched for the same problem in this forum and as they suggested I have done the same but problem still exist. I did the follwing as suggested by some posted messages:
[SUGGESTION] You shouldn't have stty and tty type of command in .kshrc, they need to be moved to .profile.
[REMARKS FROM ME]DONE.
[SUGGESTION]This sort of message normally comes when a .profile is executed in background and the stty command does not link to a physical tty.
There should be a check in a .profile not to execute the tty specific commands in background.
[REMARKS FROM ME]DONE.
Kindly suggest me something.
Thanks in advance.
regards,
Puneet.
whenever we start out application, the logic first tries to get the logged in user id through getlogin function and then go ahead with further program logic.
But for few users it gives me error in getlogin function. The error number is 25: It is not a typewriter, and for other users it runs perfectly.
I also searched for the same problem in this forum and as they suggested I have done the same but problem still exist. I did the follwing as suggested by some posted messages:
[SUGGESTION] You shouldn't have stty and tty type of command in .kshrc, they need to be moved to .profile.
[REMARKS FROM ME]DONE.
[SUGGESTION]This sort of message normally comes when a .profile is executed in background and the stty command does not link to a physical tty.
There should be a check in a .profile not to execute the tty specific commands in background.
[REMARKS FROM ME]DONE.
Kindly suggest me something.
Thanks in advance.
regards,
Puneet.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP