• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 721
  • Last Modified:

Solaris 10 - change user password

Hi,

I want to change the password for a specific user due to the following error.

da@ss03ust> su - ocle
Password:
su: Password for user 'ocle' has expired - use passwd(1) to update it

How should I proceed?

I don't want to end up in a chicken-and-the-egg problem where you can't log in to change it.

Tks,
Joao
0
joaotelles
Asked:
joaotelles
2 Solutions
 
woolmilkporcCommented:
Log in as ocle using telnet, ssh, rsh or the console.
This will succeed and you can change ocle's password, as opposed to "su" where this is not possible.

wmp

0
 
Pieter JordaanSenior Systems Administrator - Web hosting and Network Security.Commented:
Hi

The easiest way is to login with the root account, then use:

passwd ocle
Then type in the new password.
0
 
joaotellesAuthor Commented:
Tks! Both ways worked.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

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