SUMMARY: Disable or deactivate user account command syntax

From: Stephanie C <stepchung_at_gmail.com>
Date: Wed Oct 03 2007 - 14:09:14 EDT
Thank you all. Why didn't I think about the passwd command.

Stepahnie


On 10/3/07, Imtiaz Uddin, Mohammed (GE, Corporate, consultant) <
ImtiazUddin.Mohammed@ge.com> wrote:
>
> Stephanie,
>
>
> How bout trying passwd -l <Username> ---> This will lock the account
>
> And for unlocking the account, passwd -u <user-name>
>
>
> Regards
> Mo
>
> "Atleast I don't ask YENOM for this"
>
> -----Original Message-----
> From: sunmanagers-bounces@sunmanagers.org
> [mailto:sunmanagers-bounces@sunmanagers.org] On Behalf Of Stephanie C
> Sent: Wednesday, October 03, 2007 11:26 PM
> To: Sun Managers
> Subject: Disable or deactivate user account command syntax
>
> Before posting this, I have googled and looked at sun doc. But can find
> the command line syntax how to temporary disable (or deactivate) users
> account on solaris 10. I need to temporary deactivate a user account on
> both global and zones on solaris 10. I don't want to delete or change
> password or set expired. I just want to disable/deactivate this account
> and will re-activate/enable at a later time. I have to do this with the
> command line not GUI (at root prompt). Please let me know the command
> how to do this and how to re-activate again. Thanks for your help.
>
> Stephanie
> _______________________________________________
> sunmanagers mailing list
> sunmanagers@sunmanagers.org
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Wed Oct 3 14:09:42 2007

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:07 EST