1848433 Members
7603 Online
104027 Solutions
New Discussion

Re: /etc/issue file

 

/etc/issue file

Hi all,

I was wondering if anyone could help me out here. I have appended the /etc/issue file on one of our hosts. Basically, the new /etc/issue file has some specific instruction for the user BEFORE they log on.

Now my problem is that I want the user to actually notice the new instructions, and not just log straight in. I was wondering if anyone knew how to make the /etc/issue pause for a few seconds, before displaying the logon prompt. This would force users to read the instructions.
(Yes, it might get annoying, but it needs to be done).

Any help would be greatly appreciated. Running HP-UX 11.00.

Thanks
Achille
7 REPLIES 7
Thierry Poels_1
Honored Contributor

Re: /etc/issue file

hi,
you could put a sleep command in '/etc/profile' so they have a pause AFTER the have entered their login and password.

good luck,
Thierry (specialist in work-arounds ;-)
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
Ravi_8
Honored Contributor

Re: /etc/issue file

u can make entry in /etc/motd file and
sleep() for few seconds in .profile
never give up
Stefan Farrelly
Honored Contributor

Re: /etc/issue file


We add the following to .profile in users home directory;

echo "Press Return to continue ... \c"
read

That way the message from /etc/issue displays on the screen and the users must press return to continue.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Vincenzo Restuccia
Honored Contributor

Re: /etc/issue file

In $HOME/.profile add
sleep 30

Re: /etc/issue file

Thanks for all your help. I really want the pause to happen before the logon prompt appeared. I guess I will have to do it after they log on.
Dave Kelly_1
Respected Contributor

Re: /etc/issue file

You might want to look at escape sequences in your /etc/issue file.

The sequence ESC-@ will pause output for 1 second.

However, this does not seem to work in an X windows environment so I don't know if that will resolve your problem.
송 문 헌
New Member

Re: /etc/issue file

In /etc/inetd.conf file change

telnet stream tcp nowait root /usr/lbin/telnetd telnetd -b /etc/issue