?
Solved

Solaris 10  - change user password

Posted on 2011-03-22
3
Medium Priority
?
712 Views
Last Modified: 2012-05-11
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
Comment
Question by:joaotelles
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 68

Assisted Solution

by:woolmilkporc
woolmilkporc earned 500 total points
ID: 35188741
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
 
LVL 11

Accepted Solution

by:
Pieter Jordaan earned 500 total points
ID: 35189027
Hi

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

passwd ocle
Then type in the new password.
0
 

Author Closing Comment

by:joaotelles
ID: 35189521
Tks! Both ways worked.
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month15 days, 9 hours left to enroll

743 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