[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1158
  • Last Modified:

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

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
blaw25
Asked:
blaw25
  • 2
3 Solutions
 
medveddCommented:
passwd -x -1 user_name
0
 
woolmilkporcCommented:
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
 
Kerem ERSOYPresidentCommented:
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
 
Kerem ERSOYPresidentCommented:
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

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now