Enable telnet as root to 11.31 non-trusted system?


 
Thread Tools Search this Thread
Operating Systems HP-UX Enable telnet as root to 11.31 non-trusted system?
# 8  
Old 11-15-2011
I have /var/adm/inetd.sec and it has
Code:
dtspc   allow   127.0.0.1       loopback servername

Looking at the man page for inetd.sec I see
Code:
When inetd accepts a connection from a remote system, it checks the
address of the host requesting the service against the list of hosts
to be allowed or denied access to the specific service (see
inetd(1M)).

which lead me to /etc/inetd.conf and this line which I had looked at previously. I had assumed it is correct but am including for another set of eyes to look at.
Code:
telnet       stream tcp6 nowait root /usr/lbin/telnetd  telnetd

# 9  
Old 11-15-2011
remove the tcp6 and give it a try...
type
Code:
inetd -c

This User Gave Thanks to vbe For This Post:
# 10  
Old 11-15-2011
But I doubt since as simple user you can connect...
# 11  
Old 11-15-2011
No ipfilter?
This User Gave Thanks to vbe For This Post:
# 12  
Old 11-15-2011
Quote:
Originally Posted by vbe
remove the tcp6 and give it a try...
type
Code:
inetd -c

No joy. In fact, removing tcp6 disallowed all telnet connections. Even the regular user.


Quote:
Originally Posted by vbe
But I doubt since as simple user you can connect...
Yeah, makes me think of some security setting someplace (stating the obvious) but I haven't been able to figure out which setting.


Quote:
Originally Posted by vbe
No ipfilter?
I don't think so. ?
Code:
# ipfstat -Qv
open: No such file or directory

# 13  
Old 11-16-2011
Don't you have a lanconsole interface?
Is there no customization made to .profile or /etc/profile ?
# 14  
Old 11-16-2011
I am getting closer. The problem is that the root password contains the "@" character. When I use a password without "@" I can get in. I think it has something to do with eol being set to ^@.
Code:
bash-4.2# stty -a
speed 9600 baud; line = 0;
rows = 50; columns = 120
min = 1; time = 0;
intr = ^C; quit = ^\; erase = ^H; kill = ^U
eof = ^D; eol = ^@; eol2 <undef>; swtch <undef>

For the heck of it I tried adding this to /etc/profile
Code:
     EOL="^-"
     export EOL
     stty eol $EOL

but it didn't help. I suppose because /etc/profile is read after the login.

In the end I just ended up changing the password to something simpler because a screw up of the tty settings for the root account could mean a reinstall and it's not worth it.

Thanks for all the help and suggestions.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Converting system to trusted

Hi, I need to convert few HP-UX (V 11.31) machines from un-trusted to trusted. I used the HP SMH to do this on one server. However when I click on "Yes" to proceed with the conversion, I get this error : The attempt to convert this system to a trusted system failed. The command return value... (2 Replies)
Discussion started by: anaigini45
2 Replies

2. HP-UX

HP-UX revert from trusted system to default

All, I have inherited some software that is running on HP-HX 11.11. The software ofers a GUI login and the user passwords can be either internal to the software, user defined or based on the matching unix account. The problem I have is that the server has been converted to 'trusted' years... (7 Replies)
Discussion started by: rbatte1
7 Replies

3. Solaris

SSH enable, Telnet disable ...

Hi... How do I enable SSH and disable telnet.. Also - is there anything special I need to do to ensure that a new user can use ssh and su but not telnet? Adel (15 Replies)
Discussion started by: ArabOracle.com
15 Replies

4. HP-UX

shadowed password file on non-trusted system?

Is it possible to have shadowed password file without implementing a Trusted System? (3 Replies)
Discussion started by: linuxdude
3 Replies

5. Linux

How to Enable TELNET for root user

How to Enable TELNET for root user in Linux. (3 Replies)
Discussion started by: sakthi_13
3 Replies

6. HP-UX

Trusted system: Please Help.

I was playing with sam and i turned on the Trusted System feature (UX11i). Now i cant log onto it anymore, i can ping it, but icant telnet, rlogin or login at the login screen. I dont want to reboot my machine because i am affraid it wont boot and ask for a password. My root password is not... (1 Reply)
Discussion started by: Netghost
1 Replies

7. HP-UX

Re-enabling a locked root account on Trusted HP-UX

I knew I had had seen this somewhere:Q: How can I re-enable my root account when I typed in my password wrong 3 times and the account got disabled? A: When your HP-UX system is in the more secure "trusted system" mode, your account is automatically disabled after you have entered your password... (0 Replies)
Discussion started by: Perderabo
0 Replies

8. Cybersecurity

lost root password using (SAM) trusted security

I have used the system administration management trusted security system and in the process the root password have been changed or lost. Is there any possible way to recover root status after this incident:( (5 Replies)
Discussion started by: jordanrt
5 Replies

9. Linux

ftp telnet enable

hi , i have jsut installed linux 9.0 , but i can not ftp or telnet to the system . i have installed the ftp and the telnet server during installation . i have also configured the files to enable the ftp and telnet , the ftp and the telnet daemons are running , but when i do ftp : ftp... (1 Reply)
Discussion started by: ppass
1 Replies
Login or Register to Ask a Question