<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Unix Sysadmin &#187; HP-UX</title>
	<atom:link href="http://www.sysadmindayph.com/blog/category/hp-ux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sysadmindayph.com/blog</link>
	<description>SysAdmin Blog, TechTips and Reviews</description>
	<lastBuildDate>Fri, 27 Jan 2012 04:36:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Unlock locked user account in HP-UX</title>
		<link>http://www.sysadmindayph.com/blog/unlock-locked-user-account-in-hp-ux/</link>
		<comments>http://www.sysadmindayph.com/blog/unlock-locked-user-account-in-hp-ux/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 12:54:42 +0000</pubDate>
		<dc:creator>elizar</dc:creator>
				<category><![CDATA[HP-UX]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[hpux]]></category>
		<category><![CDATA[lock user]]></category>
		<category><![CDATA[modprpw]]></category>

		<guid isPermaLink="false">http://www.sysadmindayph.com/blog/?p=170</guid>
		<description><![CDATA[I know nothing about HP UX (yeah, except SAM). That&#8217;s why, just now, when there&#8217;s a request to just make a trace route from an HPUX server to another server, I have to login and do execute the command. I couldn&#8217;t log in as my user id so i logged in as root instead from &#8230; <a href="http://www.sysadmindayph.com/blog/unlock-locked-user-account-in-hp-ux/">Continue reading</a>]]></description>
			<content:encoded><![CDATA[<p>I know nothing about HP UX (yeah, except SAM). That&#8217;s why, just now, when there&#8217;s a request to just make a trace route from an HPUX server to another server, I have to login and do execute the command. I couldn&#8217;t log in as my user id so i logged in as root instead from the console.</p>
<p>I check grep&#8217;d my account the walah! It was there! I reset the password, open an ssh terminal and tried to login. unsuccessful, that&#8217;s why i knew then that it is locked.</p>
<p>Here&#8217;s how to unlock a locked user account in HP UX in command line.</p>
<blockquote><p><span><span style="color: #434343;">In HP-UX 11.xx if user account is locked, you can unlock the account by running SAM. But running SAM takes some time usually 2-3 minutes on heavily loaded HP-UX servers. You can unlock the locked user account from command line by running following command: </span></span></p>
<p><span style="color: #434343;">1. Login as root or use sudo from your account, if there is no <strong>sudo</strong> installed just use <strong>su – root :</strong> </span></p>
<div style="margin-left: 26pt;">
<table style="border-collapse: collapse;" border="0">
<colgroup>
<col style="width: 522px;"></col>
</colgroup>
<tbody>
<tr>
<td style="border: 0.5pt dotted; padding-left: 7px; padding-right: 7px;">
<p style="margin-left: 18pt;"><span style="color: #434343; font-family: Courier New;">$sudo su – </span></p>
<p style="margin-left: 18pt;"><span style="color: #434343; font-family: Courier New;">*******</span></p>
</td>
</tr>
</tbody>
</table>
</div>
<p><span style="color: #434343;"><span style="font-family: Courier New;">2.</span> Run this command to unlock the locked HP-UX user account:<span style="font-family: Courier New;"> </span></span></p>
<div style="margin-left: 26pt;">
<table style="border-collapse: collapse;" border="0">
<colgroup>
<col style="width: 522px;"></col>
</colgroup>
<tbody style="font-family: courier new;">
<tr>
<td style="border: 0.5pt dotted; padding-left: 7px; padding-right: 7px;"><span style="color: #434343;">#</span><span style="color: black;">/usr/lbin/modprpw –l –k johnm</span></td>
</tr>
</tbody>
</table>
</div>
<p><span style="font-family: Arial; color: black;">Running modprpw will unlock the locked user account in HP-UX from command line.without running SAM </span></p>
<p><span style="font-family: Arial; color: black;">NOTE: modprpw is HP-UX command only and wouldn&#8217;t work in Solaris,AIX and any Linux servers </span></p></blockquote>
<p>That info was &#8216;borrowed&#8217; from <a href="http://sysdigg.blogspot.com/2007/12/how-to-unlock-locked-user-account-in-hp.html" rel="nofollow">here</a>&#8230;. thanks!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmindayph.com/blog/unlock-locked-user-account-in-hp-ux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

