- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: su lasts about 20 seconds
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
11-13-2005 09:55 PM
11-13-2005 09:55 PM
su lasts about 20 seconds
I have the following problem. Each "switch user" command lasts very long (about 20 sec). An ftp connect lasts as long as a su command.
Apart from that strange behaviour the server is in a good condition. We don't have any performance problems.
We use a HP-UX B11.11 U 9000/800.
Is it a well known problem?
Kind regards
Walter Blug
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2005 09:57 PM
11-13-2005 09:57 PM
Re: su lasts about 20 seconds
Looks like Name Resolutions issue.
Could you check your /etc/nsswitch.conf, /etc/hosts, server hostname and DNS configuration.
Regards,
Bharat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2005 09:59 PM
11-13-2005 09:59 PM
Re: su lasts about 20 seconds
1 patches
2 Profiles of individual users. and /etc/profile to check if there is any code that delays login process. You can run su with tusc and check where it takes long time.
tusc -vfp "su - "user"
get tusc here.
http://hpux.connect.org.uk
3 Does any of these users save .sh_history file on nfs mounts?? If yes, this could take time. to isolate the problem, point .sh_history to /tmp area and check.
HISTFILE=/tmp/.sh_history_${LOGNAME}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2005 10:02 PM
11-13-2005 10:02 PM
Re: su lasts about 20 seconds
Name resolution. What you use /etc/hosts, dns or nis??
nslookup host_name
nslookup ip_address
Does it return ok??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2005 10:06 PM
11-13-2005 10:06 PM
Re: su lasts about 20 seconds
1) Is there any scripts in /etc/profile or $HOME/.profile files for execution?
2) Check hostname ->ipname resolvation
3) Post what is the su version you are using.?
i) what `which su`
ii) file `which su`
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2005 10:40 PM
11-13-2005 10:40 PM
Re: su lasts about 20 seconds
# swlist -l file | grep -w su
post this information.
Other than normal thing, I am having like,
# PHCO_27781 1.0 su(1) cumulative patch
PHCO_27781.CORE-ENG-A-MAN: /usr/share/man/man1.Z/su.1
PHCO_27781.UX-CORE: /usr/bin/su
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2005 10:46 PM
11-13-2005 10:46 PM
Re: su lasts about 20 seconds
During login, the system walks through the wtmp file to find out your last login time. If the file is long, this will take a noticeable time.
The "su" command will do much the same actions as a login, thus it suffers from the same effect.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2005 06:03 PM
12-07-2005 06:03 PM
Re: su lasts about 20 seconds
The problem was a uncorrect defined NIS.
Now it works fine.
Thanks indeed
Blug
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2005 06:05 PM
12-07-2005 06:05 PM