Operating System - HP-UX
1833033 Members
2480 Online
110049 Solutions
New Discussion

No password prompt at console after login prompt

 
Pieter Hattingh
Advisor

Re: No password prompt at console after login prompt

Here is the inittab file

Regards
Pieter Hattingh
Frank Slootweg
Honored Contributor

Re: No password prompt at console after login prompt

> Frank, Will the changing of the group and owner of /etc/tty to bin bin instead of iii iii not have an affect on the users that must login on the cataloguing system(innopac)via telnet?

[You mean /dev/tty]

I do not know. "bin"/"bin" is the normal, i.e. standard HP-UX and probably even standard UNIX, configuration. But I do not know what "/etc/iiicpd" is/does. It looks like a telnetd replacement, because the normal /etc/inetd.conf entry is

telnet stream tcp nowait root /usr/lbin/telnetd telnetd

and yours is

telnet stream tcp nowait root /etc/iiicpd telnetd

So I guess you will have to contact whoever supplies/supports this software.


oiram
Regular Advisor

Re: No password prompt at console after login prompt

Hi Pieter,

Apart from running fuser to see if there are another processes using the /dev/console. Which is the output of the command
ps -ef|grep console?

Best regards.
Pieter Hattingh
Advisor

Re: No password prompt at console after login prompt

Hallo Mario,

It is:

raulib[276] / # ps -ef|grep console
root 6953 1 0 16:43:16 console 0:00 /usr/sbin/getty console console


Regards
Pieter Hattingh
Paula J Frazer-Campbell
Honored Contributor

Re: No password prompt at console after login prompt

Peiter

Change your /etc/inetd.conf file to read:-

telnet stream tcp nowait root /usr/lbin/telnetd telnetd

Reboot

and I am 99.99 % sure you will get a login.

I looks like the iii software (installed Thu Feb 18 21:08:51 AST 1999)
is using its own telnet programme that does not support the - b banner file option.

Paula
If you can spell SysAdmin then you is one - anon
oiram
Regular Advisor

Re: No password prompt at console after login prompt

Hi,

I have made a tusc of the login process in an HP-UX system. I post the result here, perhaps it can help you if you use it to check the permissions of some security files. I have changed the root password for XXXX
oiram
Regular Advisor

Re: No password prompt at console after login prompt

Hi,

I have made a tusc of the login process in an HP-UX system. I post the result here, perhaps it can help you if you use it to check the permissions of some security files. I have changed the root password for XXXX
Pieter Hattingh
Advisor

Re: No password prompt at console after login prompt

Dear Paula,

I have done that last week. Still no Password prompt at the console! Problem: my Innopac(iii) users were then also not able to login in the cataloguing system via telnet. I have let go of the login banner and have changed back the /etc/inetd.conf and /etc/issue files to there original state just a dag after the problem occured.

Mario,

I am not able to read your file. Do you perhapse have it in asci?

Thanks
Pieter Hattingh
oiram
Regular Advisor

Re: No password prompt at console after login prompt

Sorry
oiram
Regular Advisor

Re: No password prompt at console after login prompt

One more try
oiram
Regular Advisor

Re: No password prompt at console after login prompt

I am getting mad. Does anyone know in which format should I submit the file.
Paula J Frazer-Campbell
Honored Contributor

Re: No password prompt at console after login prompt

Hi

tusc > should be ok and produce an attachable format.

Paula
If you can spell SysAdmin then you is one - anon
oiram
Regular Advisor

Re: No password prompt at console after login prompt

I am trying it again
oiram
Regular Advisor

Re: No password prompt at console after login prompt

Perhaps by mail ;-)
Pieter Hattingh
Advisor

Re: No password prompt at console after login prompt

Hallo Mario

Thanks for all the trouble!

My email:

HPH@bib.rau.ac.za

Regards
Pieter

P.S. will check it in the morning.
Paula J Frazer-Campbell
Honored Contributor

Re: No password prompt at console after login prompt

Test file
If you can spell SysAdmin then you is one - anon
Paula J Frazer-Campbell
Honored Contributor

Re: No password prompt at console after login prompt

Mario

Works for me -
Steps

1. tusc nnn . test.txt
2. ftp to my pc
3. attach to forum answer.

Paula
If you can spell SysAdmin then you is one - anon
Paula J Frazer-Campbell
Honored Contributor

Re: No password prompt at console after login prompt

Hi

Should read

tusc nnn > test.txt

paula
If you can spell SysAdmin then you is one - anon
Paula J Frazer-Campbell
Honored Contributor

Re: No password prompt at console after login prompt

Peiter

My /dev dir ownership from N Class running 11.00.


HTH

Paula
If you can spell SysAdmin then you is one - anon
oiram
Regular Advisor

Re: No password prompt at console after login prompt

Hi,

Have you try to add the bin user to the iii group wich is the owner of the tty file?. To make this you only have to add the bin user to the group in the /etc/group file.

Best regards.
Pieter Hattingh
Advisor

Re: No password prompt at console after login prompt

Hallo Mario,

My /etc/group file looks like this:

root::0:root,iii
other::1:root,hpdb
bin::2:root,bin
sys::3:root,uucp
adm::4:root,adm
daemon::5:root,daemon
mail::6:root
lp::7:root,lp
tty::11:
nuucp::11:nuucp
users::20:root,testiii,kesef
nogroup:*:-2:
iii:*:10:iii

So you would suggest that I put the bin user to the iii group, i.e.

111:*:10:111,bin

What about putting root there as well? Will I have to reboot for these changes to take affect?

Thank you in anticipation
Pieter Hattingh
oiram
Regular Advisor

Re: No password prompt at console after login prompt

Hi Pieter,

I am having problems here with Internet. You needn??t reboot the system. You only should make the change and try but I am not sure about if it will work because as you can see in the traces I provided you the login process run under uid 0 so it shouldn??t be a permission problem. This is only try and see what happens because I haven??t more any more ideas about what can be happening. Did you install anything before rebooting the system (software or hardware)?

Best regards.
Pieter Hattingh
Advisor

Re: No password prompt at console after login prompt

To all that have responded,

The problem of no "Password prompt" at the console has now been solved. It was a corrupt "/usr/bin/login".

Thank you again for your time in assisting me with this problem!

Regards
Pieter Hattingh