- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Logon problem
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
10-17-2002 06:03 AM
10-17-2002 06:03 AM
Logon problem
I??m trouble when I try to logon as a user called user1. I did :
%su - user1
password:
But when the logon occurs I have to type ENTER to show the prompt (%), if I don??t type ENTER the displays shows the following message: "Rights for non-DOD U.S. Government Departments and Agencies are as set
forth in FAR 52.227-19(c)(1,2).
You have mail.
TERM = (hp)" and wait for ENTER. If I type somethinf different from enter it stay in the same line as TERM = (hp) in the message, for example, if I type TEST then enter it shows TERM = (hp) TEST and after enter:
"TERM = (hp) TEST
Type test unknown"
It should be something in my .cshrc, Am I right ?
Cheers,
Mauro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2002 06:08 AM
10-17-2002 06:08 AM
Re: Logon problem
It looks like it can't decide what type of terminal emulation your window is using. By hitting enter you are accepting the termtype "hp". You can also type in vt100, vt220, etc. to change this. You may want to define the user's TERM variable in the .cshrc
Hope this helps
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2002 06:16 AM
10-17-2002 06:16 AM
Re: Logon problem
Do you have a ttytype command with the -p option in the .cshrc file? That option will prompt the user for the terminal type. Usually you can just set the terminal type with a 'tset -s -Q' command. Check the man pages on ttytype.
Have a GREAT HP day!
Larry :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2002 06:20 AM
10-17-2002 06:20 AM
Re: Logon problem
I put in the last line of my /home/user1/.cshrc file the line
setenv TERM hpterm
But it did not solve the problem :-(
Cheers,
Mauro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2002 06:20 AM
10-17-2002 06:20 AM
Re: Logon problem
if [ "$TERM" = "" ]
then eval ` tset -s -Q -m ':?hp'` else
eval ` tset -s -Q `
fi
It defaults to hp.set your TERM variable appropriately to the terminal from which you are working.
Test is not a supported terminal type.
WHen you press enter during TERM=(hp)
IT takes the value as hp.
Run
#ttytype
to find the termianl type you are working with
then
#TERM=
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2002 06:28 AM
10-17-2002 06:28 AM
Re: Logon problem
I do not have this line in my .cshrc and have the line 'tset -s -Q' in my .profile file, but I think it is not used in csh logon.
Cheers,
Mauro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2002 06:41 AM
10-17-2002 06:41 AM
Re: Logon problem
It is stranger... I rename my .cshrc in /home/user1 to .garbage and logon. It did not solve my problem. It seems to be something in the logon process before read the .cshrc file.
Any ideas ?
Cheers,
Mauro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2002 06:42 AM
10-17-2002 06:42 AM
Re: Logon problem
I presume user1's shell is set to csh in /etc/passwd. Is that correct?
For csh, /etc/csh.login, ~/.cshrc, then ~/.login are executed when you do "su - user1".
For bourne shell derivatives, /etc/profile, then ~/.profile.
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2002 08:13 AM
10-17-2002 08:13 AM
Re: Logon problem
It is working fine now.
I had a error in my .login file with TERM variable.
Thanks all and now I am going to assign points for you,
Mauro