- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Trusted Systems and SSH
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
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
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
тАО09-08-2003 05:32 AM
тАО09-08-2003 05:32 AM
Connections are fine. Problem arises when login messages are sent. Users are not seeing messages that "their password will expire in 10 days", " You are required to change your password" This only happens when X11 connections are made.
Before disabling telnet and ftp, this has to be resolved. Has anyone seen a similar problem?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2003 06:44 AM
тАО09-08-2003 06:44 AM
SolutionBill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2003 07:00 AM
тАО09-08-2003 07:00 AM
Re: Trusted Systems and SSH
/usr/lbin/getprpw > /tmp/expirelist.dat
in .profile
$EXPIRE=$(cat /tmp/expirelist.dat | grep -i $LOGNAME| wc -l)
if [ $EXPIRE -ge 1]
then
#
# Read the /tmp/expire.dat file in detail and echo days to expiration
echo "You password expires in X days do you want to change it(y/n)?"
read a
if [ "$a" = "y" ]
passwd
fi
Bill's idea creates good material to work with. I was stumped before he posted.
SEP
#
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2003 07:38 AM
тАО09-08-2003 07:38 AM
Re: Trusted Systems and SSH
The limitations of ssh connections, is becoming clearer.
1. login messages as described above are not seen when using X11 connections via SSH, but are seen when using SSH alone.
2. If an account requires a password change before continuing, or the account is locked, the SSH connection terminates without any reason shown the user.
Thanks for all your help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2003 02:14 PM
тАО09-08-2003 02:14 PM
Re: Trusted Systems and SSH
echo '*loginShell: true' > $HOME/.Xdefaults
This will set the default behavior for the terminal emulators to actually login and run /etc/profile, etc. You can add other Xresources to this file (see the man page for each client like dtterm)
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2003 02:57 AM
тАО09-09-2003 02:57 AM
Re: Trusted Systems and SSH
disable expiry on all accounts. load pam_ntlm and let the users authenticate with their very same passwords they use on the NT domain. The NT domain can handle the expiry and everything.
John