- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can not log in except on console
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
02-21-2006 10:38 PM
02-21-2006 10:38 PM
'Direct login access for this user
is only allowed on the system console'.
Only root can log in via telnet. Every other user can log in to the system only trough console.OS: HP-UX 11i.
Any ideas?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 10:43 PM
02-21-2006 10:43 PM
Re: Can not log in except on console
Can you check your /var/adm/inetd.sec file. could be there is some restriction on telnet service usage.
Regards,
Senthil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 10:44 PM
02-21-2006 10:44 PM
Re: Can not log in except on console
check /etc/profile to see if anyone has set up a script.
Also compare telnetd on this box to telnetd on other boxes to see if someone has made a change there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 10:47 PM
02-21-2006 10:47 PM
Re: Can not log in except on console
Also there is no file /etc/securetty in the file system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 10:49 PM
02-21-2006 10:49 PM
Re: Can not log in except on console
Check your /etc/securetty file.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 10:51 PM
02-21-2006 10:51 PM
Re: Can not log in except on console
Is there any entries made by telnetd daemon, in /var/adm/syslog/syslog.log file.
If so , it could give some clues.
Regards,
Senthil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 10:54 PM
02-21-2006 10:54 PM
Re: Can not log in except on console
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 11:01 PM
02-21-2006 11:01 PM
Re: Can not log in except on console
when do you get this message? After supplying username/password ?
May be a silly suggestion, but have you checked your /etc/profile for some coding to this effect. We terminate all sessions for root this way. So root can only log on from console or via su.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 11:10 PM
02-21-2006 11:10 PM
Re: Can not log in except on console
Are you using any tcp wrappers or any configuration in /etc/pam_user.conf.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 11:13 PM
02-21-2006 11:13 PM
Re: Can not log in except on console
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 11:15 PM
02-21-2006 11:15 PM
Re: Can not log in except on console
The pattern u have mentioned is very close to a behaviour found due to the existense of the file called /etc/login.access in BSD version of unix, not too sure, it would be in HPUX.
Still no harm in checking. Please check whether there is a file namely,
/etc/login.access
Regards,
Senthil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 11:17 PM
02-21-2006 11:17 PM
Re: Can not log in except on console
As for the .profile file - it is clean - it is a default file which i do have on other machines and they are working fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 11:20 PM
02-21-2006 11:20 PM
Re: Can not log in except on console
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 11:21 PM
02-21-2006 11:21 PM
Re: Can not log in except on console
Check if the option nologin is set in the /etc/default/security
NOLOGIN=1
and check if there is a message in the /etc/nologin.
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 11:23 PM
02-21-2006 11:23 PM
Re: Can not log in except on console
2 more tests,
1) after login into a telnet session as root, are u able to switch to a normal user,
ex : su - user1
2) are you able to rlogin to the unix box as a normal user
Sorry for multiple replies.. just helping.. ;)
regards,
senthil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 11:25 PM
02-21-2006 11:25 PM
Re: Can not log in except on console
it the /etc/profile which gets executed before .profile in user directory.
Please check the /etc/profile file.
Try putting a debug statement like
echo "hello"
sleep 10
into the file. This would show what the daemons are accepting the connection.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 11:27 PM
02-21-2006 11:27 PM
Re: Can not log in except on console
1) /etc/nologin file + /etc/defaults/security for NOLOGIN
2) /etc/profile
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 11:37 PM
02-21-2006 11:37 PM
Re: Can not log in except on console
I have found the message displayed during the login in the /etc/preprofile file! Can anyone tell me what this file is for?
There is no /etc/default/security file nor /etc/nologin file in my filesystem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 11:48 PM
02-21-2006 11:48 PM
Solutionas I suspected!
The /etc/profile file is a system-wide file to set up basic setup on login. Normally stuff like PATH, TIMEZONE, TERMINAL are sourced here. Also the login banner.
After this , depending on the shell, the users own .profile,.login etc. files are called in the users login directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 11:48 PM
02-21-2006 11:48 PM
Re: Can not log in except on console
I have found the message displayed during the login in the /etc/preprofile file! Can anyone tell me what this file is for?
There is no /etc/default/security file nor /etc/nologin file in my filesystem.
/etc/preprofile or /etc/profile ??
Can you paste the malicious contents ?
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 11:53 PM
02-21-2006 11:53 PM
Re: Can not log in except on console
After the login program authentictes from /etc/password or /etc/shadow, it executes /etc/profile which is the default system wide setting and it goes on to individual user's profile.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 11:57 PM
02-21-2006 11:57 PM
Re: Can not log in except on console
This is just for info. Consider this thread as closed.
Thanks to all.
Dejan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 11:59 PM
02-21-2006 11:59 PM
Re: Can not log in except on console
Thanks again.