LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-27-2015, 10:14 AM   #1
BhushanPathak
Member
 
Registered: Nov 2013
Location: Pune, India
Distribution: CentOS
Posts: 36

Rep: Reputation: Disabled
Force password change on VM console in VMware


Hello,

I have CentOS 6.5 deployed as a VM on VMware ESXi. I want to force user to force password change even when they use VMware's vSphere client to access the VM console.

I tried the following two commands -

Code:
chage -d 0 username
Code:
passwd -e username
These commands force password change only when we start a SSH session for that user, not if that user access the VM directly via the client console. How do I achieve a force password change even when it is accessed via the client console?

Thanks

Bhushan Pathak
 
Old 02-01-2015, 07:47 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529
Quote:
Originally Posted by BhushanPathak View Post
These commands force password change only when we start a SSH session for that user, not if that user access the VM directly via the client console.
When you start a SSH session you use the virtual machines PAM stack: find out what PAM stack a Vsphere client uses when it accesses the virtual machines console.
 
1 members found this post helpful.
Old 02-03-2015, 12:42 AM   #3
BhushanPathak
Member
 
Registered: Nov 2013
Location: Pune, India
Distribution: CentOS
Posts: 36

Original Poster
Rep: Reputation: Disabled
Thanks. I will look into it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Force change password for users in linux, without terminating the shell session BhushanPathak Linux - Newbie 13 07-11-2014 05:10 AM
How to force user to change password after expiration in Linux? ssy68 Linux - Newbie 4 06-30-2011 03:54 PM
[SOLVED] REDHAT missing functionality - force user to change password on login machielr Linux - Security 5 03-17-2011 03:36 PM
How to force a user to change their NIS password at logon? synthol6 AIX 1 08-17-2010 09:47 PM
RH 5.2 - First login: Force root password change le_forban Linux - Enterprise 2 01-20-2009 08:24 AM


All times are GMT -5. The time now is 10:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration