Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How do I disable password expiration for SSH in Solaris 10?

Posted on 2009-06-30
4
Medium Priority
?
1,154 Views
Last Modified: 2013-12-27
Greetings,

I remember finding this before (and I thought it was in sshd_config) but I can't seem to find where I can disable password expiration in Solaris 10 for SSH.

Any help would be greatly appreciated.
0
Comment
Question by:blaw25
  • 2
4 Comments
 
LVL 16

Accepted Solution

by:
medvedd earned 1600 total points
ID: 24748686
passwd -x -1 user_name
0
 
LVL 68

Assisted Solution

by:woolmilkporc
woolmilkporc earned 200 total points
ID: 24748742
Yes, but please keep in mind that there is no password setting exclusively for ssh, it uses just the operating system password (if publickey or the like is not configured/used).
0
 
LVL 30

Assisted Solution

by:Kerem ERSOY
Kerem ERSOY earned 200 total points
ID: 24748994
SSH does not have a provision to create and keep paswords. Passwrd authentication is done with through the hosting OS. So if a user password expires in the os then he won't be able to logon through SSH.
0
 
LVL 30

Expert Comment

by:Kerem ERSOY
ID: 24749026
However if you're interested through logging in using SSH keys please follow the instructions on this article:

http://www.experts-exchange.com/articles/OS/Linux/SSH-access-using-public-key.html
0

Featured Post

Cyber Threats to Small Businesses (Part 1)

This past May, Webroot surveyed more than 600 IT decision-makers at medium-sized companies to see how these small businesses perceived new threats facing their organizations.  Read what Webroot CISO, Gary Hayslip, has to say about the survey in part 1 of this 2-part blog series.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

With the evolution of technology, we have finally reached a point where it is possible to have home automation features like having your thermostat turn up and door lock itself when you leave, as well as a complete home security system. This is a st…
Ransomware - Defeated! Client opened the wrong email and was attacked by Ransomware. I was able to use file recovery utilities to find shadow copies of the encrypted files and make a complete recovery.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question