<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4720596178996425031</id><updated>2012-02-16T12:55:26.259-08:00</updated><title type='text'>My Lessons (IT)</title><subtitle type='html'>Whatever I have learned during My journey thru Sysadmin World.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://myitlessons-posts.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://myitlessons-posts.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Ashu</name><uri>http://www.blogger.com/profile/17658712296385017613</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_6FjYL_-Kq2A/R5XTDYk3ZyI/AAAAAAAAACw/EVq7wybmkLY/S220/1.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>31</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4720596178996425031.post-5025673375964491451</id><published>2009-06-25T23:29:00.001-07:00</published><updated>2009-07-07T04:52:18.788-07:00</updated><title type='text'>SubVersion Configuration.</title><content type='html'>&lt;b&gt;&lt;u&gt;SubVersion Configuration:&lt;/u&gt;&lt;/b&gt;&lt;div&gt;Machine Config in use:&lt;/div&gt;&lt;div&gt;RHEL4 Update 6 Full install.&lt;/div&gt;&lt;div&gt;apr-9.21 and subversion-1.4.5 rpms to be installed.&lt;/div&gt;&lt;div&gt;cvs2svn-1.5.1-2.el4.noarch.rpm to be installed if there is a need for cvs2svn shift.&lt;br&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;u&gt;Apache Configuration:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&amp;lt;Location /svn&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DAV svn&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SVNParentPath /export/home/svn&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;SVNListParentPath on&lt;br&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AuthzSVNAccessFile /export/home/authz&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AuthType Basic&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AuthName "Mentor Noida"&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AuthLDAPEnabled on&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AuthLDAPAuthoritative on&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AuthLDAPURL ldap://hostname:389/ou=people,dc=abc,dc=com?uid?sub?(objectClass=*)&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Require valid-user&lt;/div&gt;&lt;div&gt;&amp;lt;/Location&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;u&gt;Path Based Authentication (authz File):&lt;/u&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;[groups]&lt;/div&gt;&lt;div&gt;groupname=user1,user2,user3.................&lt;/div&gt;&lt;div&gt;[Repos:path]&lt;/div&gt;&lt;div&gt;user=perm&lt;/div&gt;&lt;div&gt;@groupname=perm&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;eg:&lt;/div&gt;&lt;div&gt;&lt;div&gt;[jaguarcvs:/]&lt;/div&gt;&lt;div&gt;abagaria=r&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;[rtlc:/]&lt;/div&gt;&lt;div&gt;abagaria=&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;[systems:/]&lt;/div&gt;&lt;div&gt;abagaria=rw&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;u&gt;Cvs -&amp;gt; Svn&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Importing an Existing CVS Repository to SVN.&lt;/div&gt;&lt;div&gt;cvs2svn -s &amp;lt;path to the new svn repository space&amp;gt; &amp;lt;path to the old $CVSROOT&amp;gt;&lt;/div&gt;&lt;div&gt;eg: cvs2svn -s /export/home/svn/jaguarcvs /export/home/jaguarcvs/CVS&lt;/div&gt;&lt;div&gt;chown -R apache:apache &amp;lt;path to the new svn repository space&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;i&gt;&lt;u&gt;Note:&lt;/u&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;u&gt;There should be no binaries checked in along with the source code in the repository.&lt;/u&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;u&gt;If there is a repository checked in anyways Please use "cvs admin -kb $FILE" on the binary to correct the format.&lt;/u&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;u&gt;Using Subversion:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;svn --no-auth-cache &amp;lt;command&amp;gt; - so that authentication is not cached for further use.&lt;/div&gt;&lt;div&gt;svn co - Checkout&lt;/div&gt;&lt;div&gt;svn ci - checkin&lt;/div&gt;&lt;div&gt;svn import directory &amp;lt;path of the svn where directory needs to be added&amp;gt; - To Push in unversioned directory in versioning system.&lt;/div&gt;&lt;div&gt;svn list - listing of the files from the current path.&lt;/div&gt;&lt;div&gt;svn update - freshen up the existing versions.&lt;/div&gt;&lt;div&gt;svn add - adds a file/folder to the repository (pending commit).&lt;/div&gt;&lt;div&gt;svn delete - deletes a file/folder from the repository (pending commit).&lt;/div&gt;&lt;div&gt;svn copy source destination - copyies file/folder from one location to another (immediate).&lt;/div&gt;&lt;div&gt;svn move source destination - moves above.&lt;/div&gt;&lt;div&gt;svn mkdir - same as mkdir a;svn add a&lt;/div&gt;&lt;div&gt;svn status - status of all the files/folders in a prticular folder (relative to there repos copy ).&lt;/div&gt;&lt;div&gt;svn diff - check difference b/w working copy and repos copy.&lt;/div&gt;&lt;div&gt;svn lock - to lock the repos copy of the working file.&lt;/div&gt;&lt;div&gt;svn unlock - to unlock file.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;b&gt;&lt;u&gt;Subversion Administration:&lt;/u&gt;&lt;/b&gt;&lt;div&gt;&lt;b&gt;&lt;div&gt;&lt;u&gt;&lt;u&gt;&lt;i&gt;&lt;span style="font-weight: normal;"&gt;Creation of a Repository:&lt;/span&gt;&lt;/i&gt;&lt;/u&gt;&lt;/u&gt;&lt;/div&gt;&lt;div&gt;&lt;u style="text-decoration: none;"&gt;&lt;span style="font-weight: normal"&gt;&lt;span style="text-decoration: none"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;cd [parent path for all repositories]&lt;br&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/div&gt;&lt;div&gt;&lt;u style="text-decoration: none;"&gt;&lt;span style="font-weight: normal"&gt;&lt;span style="text-decoration: none"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;svnadmin create [new repository name]&lt;br&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/div&gt;&lt;div&gt;&lt;u style="text-decoration: none;"&gt;&lt;span style="font-weight: normal"&gt;&lt;span style="text-decoration: none"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;chown -R apache:apache [new repository name]&lt;/span&gt;&lt;/u&gt;&lt;/div&gt;&lt;div&gt;&lt;u style="text-decoration: none;"&gt;&lt;span style="font-weight: normal"&gt;&lt;span style="text-decoration: none"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;cd /tmp&lt;br&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/div&gt;&lt;div&gt;&lt;u style="text-decoration: none;"&gt;&lt;span style="font-weight: normal"&gt;&lt;span style="text-decoration: none"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;mkdir tempstruct&lt;br&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/div&gt;&lt;div&gt;&lt;u style="text-decoration: none;"&gt;&lt;span style="font-weight: normal"&gt;&lt;span style="text-decoration: none"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;cd tempstruct&lt;br&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/div&gt;&lt;div&gt;&lt;u style="text-decoration: none;"&gt;&lt;span style="font-weight: normal"&gt;&lt;span style="text-decoration: none"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;mkdir branches tags trunk vendors&lt;br&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/div&gt;&lt;div&gt;&lt;u style="text-decoration: none;"&gt;&lt;span style="font-weight: normal"&gt;&lt;span style="text-decoration: none"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;svn import -m "Initial Repository Structure" http://innvm-svn/svn/[new repository name]&lt;/span&gt;&lt;/u&gt;&lt;/div&gt;&lt;/b&gt;&lt;/div&gt;&lt;i&gt;&lt;u&gt;Lock Administrator:&lt;/u&gt;&lt;/i&gt;&lt;div&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span style="font-style: normal;"&gt;svnadmin lslocks /export/home/svn/repos:&amp;nbsp;&amp;nbsp; &amp;nbsp;To view locks.&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;svnadmin rmlocks /export/home/svn/repos /filepath : To remove locks from a particular folder/file&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;u&gt;Branching:&lt;/u&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span style="font-family: 'Courier New'"&gt;svn copy http://svn.example.com/repos/calc/trunk \&lt;br /&gt;           http://svn.example.com/repos/calc/branches/my-calc-branch \&lt;br /&gt;      -m "Creating a private branch of /calc/trunk."&lt;/span&gt;&lt;/div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720596178996425031-5025673375964491451?l=myitlessons-posts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myitlessons-posts.blogspot.com/feeds/5025673375964491451/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720596178996425031&amp;postID=5025673375964491451' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/5025673375964491451'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/5025673375964491451'/><link rel='alternate' type='text/html' href='http://myitlessons-posts.blogspot.com/2009/06/subversion-configuration.html' title='SubVersion Configuration.'/><author><name>Ashu</name><uri>http://www.blogger.com/profile/17658712296385017613</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_6FjYL_-Kq2A/R5XTDYk3ZyI/AAAAAAAAACw/EVq7wybmkLY/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720596178996425031.post-9163022579496347547</id><published>2008-09-28T04:47:00.000-07:00</published><updated>2008-09-28T06:19:41.911-07:00</updated><title type='text'>Marimba Query Builder</title><content type='html'>I dont know how many of you have faced this problem.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Although Marimba is a very great Inventory mgt. tool; using it to gather out information is very very difficult.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;A basic marimba query is some what similar to a SQL query, the first select is the first part of the query and the every other refine query is a nested in select query with it.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720596178996425031-9163022579496347547?l=myitlessons-posts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myitlessons-posts.blogspot.com/feeds/9163022579496347547/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720596178996425031&amp;postID=9163022579496347547' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/9163022579496347547'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/9163022579496347547'/><link rel='alternate' type='text/html' href='http://myitlessons-posts.blogspot.com/2008/09/marimba-query-builder.html' title='Marimba Query Builder'/><author><name>Ashu</name><uri>http://www.blogger.com/profile/17658712296385017613</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_6FjYL_-Kq2A/R5XTDYk3ZyI/AAAAAAAAACw/EVq7wybmkLY/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720596178996425031.post-4637044235501929254</id><published>2008-04-07T04:24:00.000-07:00</published><updated>2008-04-07T05:14:58.912-07:00</updated><title type='text'>Printer Configuration Solaris</title><content type='html'>Edit /etc/printers.conf file to add all the printers whose queue will be managed by the server.&lt;br /&gt;&lt;br /&gt;Eg:&lt;br /&gt;&lt;br /&gt;/etc/printers.conf ::&lt;br /&gt;     &amp;lt;Printer-name&gt;:\&lt;br /&gt;      :bsdaddr=&amp;lt;server-name&gt;,&amp;lt;Printer-Destination&gt;,Solaris:&lt;br /&gt;&lt;br /&gt;To start the service use &lt;span style="font-weight: bold;"&gt;/etc/init.d/lp start&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This starts the lpsched process. (For solaris 10 use svcadm enable print/server)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720596178996425031-4637044235501929254?l=myitlessons-posts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myitlessons-posts.blogspot.com/feeds/4637044235501929254/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720596178996425031&amp;postID=4637044235501929254' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/4637044235501929254'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/4637044235501929254'/><link rel='alternate' type='text/html' href='http://myitlessons-posts.blogspot.com/2008/04/printer-configuration-solaris.html' title='Printer Configuration Solaris'/><author><name>Ashu</name><uri>http://www.blogger.com/profile/17658712296385017613</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_6FjYL_-Kq2A/R5XTDYk3ZyI/AAAAAAAAACw/EVq7wybmkLY/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720596178996425031.post-4410921940581534299</id><published>2008-03-22T00:14:00.000-07:00</published><updated>2008-03-22T00:19:40.960-07:00</updated><title type='text'>NIS</title><content type='html'>DB folder:&lt;br /&gt;&lt;br /&gt;/var/yp generally.&lt;br /&gt;Makefile to decide such settings.&lt;br /&gt;&lt;br /&gt;/usr/ccs/bin/make &amp;lt;map-name&gt;&lt;br /&gt;/usr/ccs/bin/yppush -v &amp;lt;map-name&gt; #to push maps on desired yp servers.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720596178996425031-4410921940581534299?l=myitlessons-posts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myitlessons-posts.blogspot.com/feeds/4410921940581534299/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720596178996425031&amp;postID=4410921940581534299' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/4410921940581534299'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/4410921940581534299'/><link rel='alternate' type='text/html' href='http://myitlessons-posts.blogspot.com/2008/03/nis.html' title='NIS'/><author><name>Ashu</name><uri>http://www.blogger.com/profile/17658712296385017613</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_6FjYL_-Kq2A/R5XTDYk3ZyI/AAAAAAAAACw/EVq7wybmkLY/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720596178996425031.post-9192552794110627190</id><published>2008-03-21T23:51:00.000-07:00</published><updated>2008-03-22T00:14:35.340-07:00</updated><title type='text'>RHN Registration.</title><content type='html'>rhn_register Command used to register the license of Linux used to RHN interactively.&lt;br /&gt;rhnreg_ks command used to register non-interactively by using option ahead of command.&lt;br /&gt;eg:&lt;br /&gt;    rhnreg_ks --profile=&amp;lt;FQDN&gt; --username=&amp;lt;rhn-user&gt; --password=&amp;lt;rhn-password&gt; --email=&amp;lt;mail for guy  who is registering&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note Before any RHN registeration use command:&lt;br /&gt;&lt;br /&gt;rpm --import /usr/share/rhn/RPM-GPG-KEY.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720596178996425031-9192552794110627190?l=myitlessons-posts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myitlessons-posts.blogspot.com/feeds/9192552794110627190/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720596178996425031&amp;postID=9192552794110627190' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/9192552794110627190'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/9192552794110627190'/><link rel='alternate' type='text/html' href='http://myitlessons-posts.blogspot.com/2008/03/rhn-registration.html' title='RHN Registration.'/><author><name>Ashu</name><uri>http://www.blogger.com/profile/17658712296385017613</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_6FjYL_-Kq2A/R5XTDYk3ZyI/AAAAAAAAACw/EVq7wybmkLY/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720596178996425031.post-3276400491103735354</id><published>2008-03-21T23:42:00.000-07:00</published><updated>2008-03-21T23:48:29.920-07:00</updated><title type='text'>FlexLM License Documentation</title><content type='html'>Common Commands used.&lt;br /&gt;&lt;br /&gt;lmgrd -c &amp;lt;license_file_name&gt; : To start the License.&lt;br /&gt;lmdown -c &amp;lt;license_file_name&gt; : Stop the Licenses.&lt;br /&gt;lmreread -c &amp;lt;license_file_name&gt; : To reread the License file and update running licenses as required without the need to shutdown the daemon.&lt;br /&gt;lmstat -c &amp;lt;license_file_name&gt; : To see the status of the running License.&lt;br /&gt;&lt;br /&gt;PS: It is recommended to run Licenses from a user who doesnt has admin priviledges due to security concerns.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720596178996425031-3276400491103735354?l=myitlessons-posts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myitlessons-posts.blogspot.com/feeds/3276400491103735354/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720596178996425031&amp;postID=3276400491103735354' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/3276400491103735354'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/3276400491103735354'/><link rel='alternate' type='text/html' href='http://myitlessons-posts.blogspot.com/2008/03/flexlm-license-documentation.html' title='FlexLM License Documentation'/><author><name>Ashu</name><uri>http://www.blogger.com/profile/17658712296385017613</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_6FjYL_-Kq2A/R5XTDYk3ZyI/AAAAAAAAACw/EVq7wybmkLY/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720596178996425031.post-7563611446855308271</id><published>2008-03-20T00:14:00.000-07:00</published><updated>2008-03-20T00:15:25.279-07:00</updated><title type='text'>Cron Configuration</title><content type='html'>&lt;span style="font-family:Times New Roman;font-size:100%;"&gt;*     *   *   *         *  command to be executed&lt;br /&gt;    -     -    -    -         -&lt;br /&gt;    |     |     |          |     |&lt;br /&gt;    |     |     |          |     +----- day of week (0 - 6) (Sunday=0)&lt;br /&gt;    |     |     |          +------- month (1 - 12)&lt;br /&gt;    |     |     +--------- day of month      (1 - 31)&lt;br /&gt;    |     +----------- hour (0 - 23)&lt;br /&gt;    +------------- min (0 - 59)&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720596178996425031-7563611446855308271?l=myitlessons-posts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myitlessons-posts.blogspot.com/feeds/7563611446855308271/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720596178996425031&amp;postID=7563611446855308271' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/7563611446855308271'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/7563611446855308271'/><link rel='alternate' type='text/html' href='http://myitlessons-posts.blogspot.com/2008/03/cron-configuration.html' title='Cron Configuration'/><author><name>Ashu</name><uri>http://www.blogger.com/profile/17658712296385017613</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_6FjYL_-Kq2A/R5XTDYk3ZyI/AAAAAAAAACw/EVq7wybmkLY/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720596178996425031.post-433678968684363463</id><published>2008-03-18T22:03:00.000-07:00</published><updated>2008-03-18T22:04:58.616-07:00</updated><title type='text'>HPUX problems.</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Unable to find exisiting shared Library:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;    &lt;/span&gt;&lt;/span&gt;Solution: Set variable SHLIB_PATH &amp;lt;path for shared lib folder&gt;.&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720596178996425031-433678968684363463?l=myitlessons-posts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myitlessons-posts.blogspot.com/feeds/433678968684363463/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720596178996425031&amp;postID=433678968684363463' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/433678968684363463'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/433678968684363463'/><link rel='alternate' type='text/html' href='http://myitlessons-posts.blogspot.com/2008/03/hpux-problems.html' title='HPUX problems.'/><author><name>Ashu</name><uri>http://www.blogger.com/profile/17658712296385017613</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_6FjYL_-Kq2A/R5XTDYk3ZyI/AAAAAAAAACw/EVq7wybmkLY/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720596178996425031.post-357585081214655228</id><published>2008-03-17T07:50:00.000-07:00</published><updated>2008-09-05T07:56:59.321-07:00</updated><title type='text'>Veritas Netbackup Unix</title><content type='html'>Default Installation Directory:&lt;br /&gt;              /usr/openv/&lt;br /&gt;Services file :&lt;br /&gt;              /etc/init.d/netbackup&lt;br /&gt;Administration Console Binary:&lt;br /&gt;              /usr/openv/netbackup/bin/jnbSA&lt;br /&gt;TLD Status: Media being handled by the robots/Tape Library.&lt;br /&gt;Catalog:&lt;br /&gt;              DB which stores all the information about all the media and its contents.&lt;br /&gt;              Without Catalog Netbackup installation is as gud as new and cant recover anything from the media no matter how old or how new.&lt;br /&gt;&lt;br /&gt;Shutdown Procedure:&lt;br /&gt;              service netbackup stop&lt;br /&gt;             If netbackup process still available on ps command:&lt;br /&gt;                                  /usr/openv/netbackup/bin/bp.kill_all&lt;br /&gt;             The above given command helps in killing remainder bp processes gracefully.&lt;br /&gt;              If it still doesnt works all hail to kill -9 [:)].&lt;br /&gt;&lt;br /&gt;Note: Kill -9 makes netbackup service unstable. Hence advisable to reboot the machine once kill -9 is used.&lt;br /&gt;&lt;br /&gt;Media Information (CLI):&lt;br /&gt;              bpmedialist&lt;br /&gt;Change Media Expiry List(CLI):&lt;br /&gt;              bpexpdate -m &amp;lt;media-id&gt; -d expdate&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Media Manager Service:&lt;/div&gt;&lt;div&gt;Sometimes due to some reason (generally disk space issue) Media Manager Service shuts it self down. In such a situation untill the point the problem is rectified and the service is restarted netbackup wont work properly as it wont know which media to load.&lt;/div&gt;&lt;div&gt;Following commands are used to start and stop media manager service efficiently (the commands can also be run with backup going on):&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 13px; font-weight: bold; "&gt;/usr/openv/db/bin/&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New'; "&gt;nbdb_admin -stop/start.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720596178996425031-357585081214655228?l=myitlessons-posts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myitlessons-posts.blogspot.com/feeds/357585081214655228/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720596178996425031&amp;postID=357585081214655228' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/357585081214655228'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/357585081214655228'/><link rel='alternate' type='text/html' href='http://myitlessons-posts.blogspot.com/2008/03/veritas-netbackup-unix.html' title='Veritas Netbackup Unix'/><author><name>Ashu</name><uri>http://www.blogger.com/profile/17658712296385017613</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_6FjYL_-Kq2A/R5XTDYk3ZyI/AAAAAAAAACw/EVq7wybmkLY/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720596178996425031.post-669325103455868514</id><published>2008-03-16T11:45:00.000-07:00</published><updated>2008-09-27T11:28:21.743-07:00</updated><title type='text'>Netapp How To</title><content type='html'>&lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;Volumes Manipulation:-&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;Creation:&lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;vol create &amp;lt;name&gt; &amp;lt;aggr&gt; size&lt;br /&gt;enter the volume path in /vol/rootvol/etc/exports file (normal nfs format)&lt;br /&gt;exportfs -a&lt;/li&gt;&lt;li&gt;Resize Volume:&lt;br /&gt;vol size &amp;lt;name&gt; +/- size&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;Qtree Manipulation:-&lt;br /&gt;&lt;/span&gt;&lt;ol&gt;&lt;ol&gt;&lt;li&gt;Creation:&lt;br /&gt;qtree create &amp;lt;absolute-path-to-tree&gt;&lt;br /&gt;exports changes&lt;br /&gt;exportfs -a&lt;br /&gt;assign quota for qtree by changing /rootvol/etc/quotas file.&lt;br /&gt;quota off &amp;lt;volume-name&gt;&lt;br /&gt;quota on &amp;lt;volume-name&gt;&lt;/li&gt;&lt;li&gt;Checking Netapp usage for particular qtree (Performance):&lt;br /&gt;qtree stats&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;User Manipulation:-&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;ol&gt;&lt;li&gt;Creation:&lt;br /&gt;mkdir folder in desired volume&lt;br /&gt;assign quota for user by changing /rootvol/etc/quotas file.&lt;br /&gt;quota off &amp;lt;volume-name&gt;&lt;br /&gt;quota on &amp;lt;volume-name&gt;&lt;/li&gt;&lt;li&gt;Resize quota allocated:&lt;br /&gt;change quotas file&lt;br /&gt;quota resize &amp;lt;volume-name&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Note: quota off/on also works but not recommended as requires a lot more processing than resize. Off/on to be done only during creation/deletion.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;CIFS Manipulation:-&lt;br /&gt;&lt;/span&gt;&lt;ol&gt;&lt;ol&gt;&lt;li&gt;Creation:&lt;br /&gt;cifs shares -add &amp;lt;name&gt; &amp;lt;absolute-path-to-share&gt;&lt;/li&gt;&lt;li&gt;Deletion:&lt;br /&gt;cifs shares -delete &amp;lt;name&gt;&lt;/li&gt;&lt;li&gt;Access Maniputation to CIFS:&lt;br /&gt;cifs access &amp;lt;share-name&gt; &amp;lt;user-name&gt; rwx&lt;br /&gt;cifs access -delete &amp;lt;share-name&gt; &amp;lt;user-name&gt;&lt;/li&gt;&lt;li&gt;Terminating all cifs sessions:&lt;br /&gt;cifs terminate&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;Checks And Status:-&lt;br /&gt;&lt;/span&gt;&lt;ol&gt;&lt;ol&gt;&lt;li&gt;sysconfig -r&lt;/li&gt;&lt;li&gt;sysconfig -a&lt;/li&gt;&lt;li&gt;fcstat device_map&lt;/li&gt;&lt;li&gt;fcstat link_stat&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;Snapshot:-&lt;br /&gt;&lt;/span&gt;&lt;ol&gt;&lt;ol&gt;&lt;li&gt;Reserving size for Snapshots of a volume:&lt;br /&gt;snap reserve &amp;lt;volume-name&gt; &amp;lt;percentage&gt;&lt;br /&gt;Do Remember that snapshots may end up taking more space than reserved for them.&lt;/li&gt;&lt;li&gt;Number and Scheduling for Snapshots:&lt;br /&gt;snap sched &amp;lt;volume-name&gt; #week-#day-#hourly&lt;/li&gt;&lt;li&gt;Creation of a new snapshot:&lt;br /&gt;snap create &amp;lt;volume-name&gt; &amp;lt;snapname&gt;&lt;/li&gt;&lt;li&gt;Deleting a snapshot&lt;br /&gt;snap delete &amp;lt;volume-name&gt; &amp;lt;snapname&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;Snapmirror:-&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;ol&gt;&lt;li&gt;Status for Snapmirror:&lt;br /&gt;snapmirror status&lt;/li&gt;&lt;li&gt;Snapmirroring Data from one Netapp to another:&lt;br /&gt;options snapmirror.access host=hostname,hostname (This options needs to be set on the source filer to give access to the destination to get data).&lt;br /&gt;snapmirror initialize -S &amp;lt;source filer:vol/qtree path&gt; &amp;lt;destination volname/absolute qtree path&gt;&lt;br /&gt;eg: napp2&gt; snapmirror initialize -S napp1:vol1 volume1&lt;br /&gt;The above command will snapmirror vol1 of napp1 to volume1 of napp2&lt;br /&gt;One thing to remember: the destination volume needs to restricted before the snapmirror is initialized.&lt;br /&gt;napp2&gt; snapmirror initialize -S napp1:/vol/vol1/qtree1 /vol/volume1/qtree2&lt;/li&gt;&lt;li&gt;Updating the snapmirror:&lt;br /&gt;Almost same command as initialize&lt;br /&gt;snapmirror update -S &amp;lt;source filer:vol/qtree path&gt; &amp;lt;destination &gt;&lt;/li&gt;&lt;li&gt;Breaking the snapmirror:&lt;br /&gt;breaking a snapmirror is necessory to make the the destination data writable with full control. breaking in done on destination filer.&lt;br /&gt;snapmirror quiesce &amp;lt;destination data path&gt;&lt;br /&gt;snapmirror break &amp;lt;destination data path&gt;&lt;/li&gt;&lt;li&gt;Releasing snapmirrors:&lt;br /&gt;Releasing of snapmirrors is important as snapshots take space and keep on growing as the data on the volume keeps on changing. This needs to be done both on source and destination filers &amp;amp; both have different ways of getting done.&lt;br /&gt;source: snapmirror release vol/qtree dest:vol/qtree&lt;br /&gt;Destination: a mere deletion of the snapmirror snapshot will do.&lt;br /&gt;remember once the snapmirrors have been release the snapmirror cant be resumed.&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;System Status:-&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;sysstat &amp;lt;update-time-in-seconds&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;System Failure Troubleshooting:-&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;partner: Command given on the node which has taken over to get data of bad node.&lt;br /&gt;    options autosupport.doit "messages(normally the case id)": to generate the autosupport.&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720596178996425031-669325103455868514?l=myitlessons-posts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myitlessons-posts.blogspot.com/feeds/669325103455868514/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720596178996425031&amp;postID=669325103455868514' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/669325103455868514'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/669325103455868514'/><link rel='alternate' type='text/html' href='http://myitlessons-posts.blogspot.com/2008/03/netapp-how-to.html' title='Netapp How To'/><author><name>Ashu</name><uri>http://www.blogger.com/profile/17658712296385017613</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_6FjYL_-Kq2A/R5XTDYk3ZyI/AAAAAAAAACw/EVq7wybmkLY/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720596178996425031.post-3433623988075569456</id><published>2008-03-16T10:38:00.000-07:00</published><updated>2008-03-16T10:49:09.401-07:00</updated><title type='text'>HPUX Remote Execution  Errors</title><content type='html'>When u run a command in HP-UX u sometimes observe that the command gives a couple of stty errors although when u login into the machine and run the command the same errors dont come.&lt;br /&gt;eg:&lt;br /&gt;rsh hpux ls&lt;br /&gt;stty: unknown error&lt;br /&gt;abc 123 abc.123&lt;br /&gt;&lt;br /&gt;rsh hpux&lt;br /&gt;#ls&lt;br /&gt;abc 123 abc.123&lt;br /&gt;&lt;br /&gt;The issue between the 2 is that stty works only for interactive login.&lt;br /&gt;So having stty commands in ur profile files (.cshrc/.profile/.login etc) without a interactive login check creates an issue.&lt;br /&gt;Hence keeping a check to see if the login is interactive or not helps.&lt;br /&gt;&lt;br /&gt;eg for csh login:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;if ( $?prompt ) then&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;        stty erase "^H"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;        stty intr "^C"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;        stty kill "^X"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;endif&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;As we can see the if statement helps the check that stty commands are executed only when the login is interactive.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720596178996425031-3433623988075569456?l=myitlessons-posts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myitlessons-posts.blogspot.com/feeds/3433623988075569456/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720596178996425031&amp;postID=3433623988075569456' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/3433623988075569456'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/3433623988075569456'/><link rel='alternate' type='text/html' href='http://myitlessons-posts.blogspot.com/2008/03/hpux-remote-execution-errors.html' title='HPUX Remote Execution  Errors'/><author><name>Ashu</name><uri>http://www.blogger.com/profile/17658712296385017613</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_6FjYL_-Kq2A/R5XTDYk3ZyI/AAAAAAAAACw/EVq7wybmkLY/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720596178996425031.post-3518318406862777476</id><published>2008-03-07T04:17:00.000-08:00</published><updated>2008-03-07T04:18:42.702-08:00</updated><title type='text'>VNC Clipboard Transfers.</title><content type='html'>Use vncconfig running in background to aid clipboard transfers to and from vncviewer to the host machine.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720596178996425031-3518318406862777476?l=myitlessons-posts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myitlessons-posts.blogspot.com/feeds/3518318406862777476/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720596178996425031&amp;postID=3518318406862777476' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/3518318406862777476'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/3518318406862777476'/><link rel='alternate' type='text/html' href='http://myitlessons-posts.blogspot.com/2008/03/vnc-clipboard-transfers.html' title='VNC Clipboard Transfers.'/><author><name>Ashu</name><uri>http://www.blogger.com/profile/17658712296385017613</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_6FjYL_-Kq2A/R5XTDYk3ZyI/AAAAAAAAACw/EVq7wybmkLY/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720596178996425031.post-2011481593617060110</id><published>2008-02-07T03:06:00.000-08:00</published><updated>2008-02-07T03:24:03.700-08:00</updated><title type='text'>Msconfig startup entries</title><content type='html'>hklm\s/w\ms\shared tools\msconfig&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720596178996425031-2011481593617060110?l=myitlessons-posts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myitlessons-posts.blogspot.com/feeds/2011481593617060110/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720596178996425031&amp;postID=2011481593617060110' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/2011481593617060110'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/2011481593617060110'/><link rel='alternate' type='text/html' href='http://myitlessons-posts.blogspot.com/2008/02/msconfig-startup-entries.html' title='Msconfig startup entries'/><author><name>Ashu</name><uri>http://www.blogger.com/profile/17658712296385017613</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_6FjYL_-Kq2A/R5XTDYk3ZyI/AAAAAAAAACw/EVq7wybmkLY/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720596178996425031.post-9032991150663312872</id><published>2008-02-01T02:20:00.000-08:00</published><updated>2008-02-01T02:21:06.527-08:00</updated><title type='text'>The Best n/w MGT s/w I have ever seen as of yet</title><content type='html'>http://www.mikrotik.com/thedude.php&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720596178996425031-9032991150663312872?l=myitlessons-posts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myitlessons-posts.blogspot.com/feeds/9032991150663312872/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720596178996425031&amp;postID=9032991150663312872' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/9032991150663312872'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/9032991150663312872'/><link rel='alternate' type='text/html' href='http://myitlessons-posts.blogspot.com/2008/02/best-nw-mgt-sw-i-have-ever-seen-as-of.html' title='The Best n/w MGT s/w I have ever seen as of yet'/><author><name>Ashu</name><uri>http://www.blogger.com/profile/17658712296385017613</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_6FjYL_-Kq2A/R5XTDYk3ZyI/AAAAAAAAACw/EVq7wybmkLY/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720596178996425031.post-591404150635261099</id><published>2008-01-28T02:36:00.000-08:00</published><updated>2008-01-28T02:38:32.796-08:00</updated><title type='text'>PATH setup command</title><content type='html'>alias path 'set path = ( \!* $path )'&lt;br /&gt;&lt;br /&gt;Put this in ur cshrc. After that u just need to given path ab_path_to_be_added and that path will get added automatically.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720596178996425031-591404150635261099?l=myitlessons-posts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myitlessons-posts.blogspot.com/feeds/591404150635261099/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720596178996425031&amp;postID=591404150635261099' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/591404150635261099'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/591404150635261099'/><link rel='alternate' type='text/html' href='http://myitlessons-posts.blogspot.com/2008/01/path-setup-command.html' title='PATH setup command'/><author><name>Ashu</name><uri>http://www.blogger.com/profile/17658712296385017613</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_6FjYL_-Kq2A/R5XTDYk3ZyI/AAAAAAAAACw/EVq7wybmkLY/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720596178996425031.post-8121618329289680568</id><published>2008-01-15T21:52:00.000-08:00</published><updated>2008-01-15T21:53:23.444-08:00</updated><title type='text'>Solaris Patch Mgt.</title><content type='html'>patchadd (patch_name) for installing the patch's&lt;br /&gt;patchadd -M (directory_name) (patch-name) for installing multiple patchs&lt;br /&gt;patchrm (patch_name) for removing the patch&lt;br /&gt;patchrm -R (dirctory and patchname ) for removing patch&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720596178996425031-8121618329289680568?l=myitlessons-posts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myitlessons-posts.blogspot.com/feeds/8121618329289680568/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720596178996425031&amp;postID=8121618329289680568' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/8121618329289680568'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/8121618329289680568'/><link rel='alternate' type='text/html' href='http://myitlessons-posts.blogspot.com/2008/01/solaris-patch-mgt.html' title='Solaris Patch Mgt.'/><author><name>Ashu</name><uri>http://www.blogger.com/profile/17658712296385017613</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_6FjYL_-Kq2A/R5XTDYk3ZyI/AAAAAAAAACw/EVq7wybmkLY/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720596178996425031.post-5218772787664748332</id><published>2008-01-08T01:27:00.001-08:00</published><updated>2008-01-08T01:28:33.859-08:00</updated><title type='text'>SSH without interruptions</title><content type='html'>&lt;h2&gt;&lt;span class="mw-headline"&gt;Configuration: Client Side (bangvst3a12l)&lt;/span&gt;&lt;/h2&gt;  &lt;p&gt;Here are the steps you need to do on the computer that acts as the SSH client: &lt;/p&gt;  &lt;p&gt;1) Generate your SSH encryption key pair for the b_v3infra account. Press the Enter key each time you are prompted for a password to be associated with the keys. (Do not enter a password.) &lt;/p&gt;  &lt;pre&gt;[b_v3infra@bangvst3a12l &lt;span style=""&gt; &lt;/span&gt;b_v3infra]# ssh-keygen -t dsa&lt;/pre&gt;&lt;pre&gt;Generating public/private dsa key pair.&lt;/pre&gt;&lt;pre&gt;Enter file in which to save the key&lt;/pre&gt;&lt;pre&gt;(/b_v3infra/.ssh/id_dsa):&lt;/pre&gt;&lt;pre&gt;Enter passphrase (empty for no passphrase):&lt;/pre&gt;&lt;pre&gt;Enter same passphrase again:&lt;/pre&gt;&lt;pre&gt;Your identification has been saved in&lt;/pre&gt;&lt;pre&gt;/b_v3infra/.ssh/id_dsa.&lt;/pre&gt;&lt;pre&gt;Your public key has been saved in&lt;/pre&gt;&lt;pre&gt;/b_v3infra/.ssh/id_dsa.pub.&lt;/pre&gt;&lt;pre&gt;The key fingerprint is:&lt;/pre&gt;&lt;pre&gt;1e:73:59:96:25:93:3f:8b:50:39:81:9e:e3:4a:a8:aa&lt;/pre&gt;&lt;pre&gt;b_v3infra@bangvst3a12l &lt;/pre&gt;&lt;pre&gt;[b_v3infra@bangvst3a12l &lt;span style=""&gt; &lt;/span&gt;b_v3infra]#&lt;/pre&gt;  &lt;p&gt;2) These keyfiles are stored in the .ssh subdirectory of your home directory. View the contents of that directory. The file named id_dsa is your private key, and id_dsa.pub is the public key that you will be sharing with your target server. Versions other than RedHat/Fedora may use different filenames, use the SSH man pages to verify this. &lt;/p&gt;  &lt;pre&gt;[b_v3infra@bangvst3a12l &lt;span style=""&gt; &lt;/span&gt;b_v3infra]# cd ~/.ssh&lt;/pre&gt;&lt;pre&gt;[b_v3infra@bangvst3a12l &lt;span style=""&gt; &lt;/span&gt;b_v3infra]# ls&lt;/pre&gt;&lt;pre&gt;id_dsa&lt;span style=""&gt;  &lt;/span&gt;id_dsa.pub&lt;span style=""&gt;  &lt;/span&gt;known_hosts&lt;/pre&gt;&lt;pre&gt;[b_v3infra@bangvst3a12l &lt;span style=""&gt; &lt;/span&gt;.ssh]#&lt;/pre&gt;  &lt;p&gt;3) Copy &lt;b&gt;only&lt;/b&gt; the public key to the home directory of the account to which you will be sending the file. &lt;/p&gt;  &lt;pre&gt;[b_v3infra@bangvst3a12l &lt;span style=""&gt; &lt;/span&gt;.ssh]# scp id_dsa.pub b_v3infra@vistacmsdev:public-key.tmp&lt;/pre&gt;  &lt;p&gt;Now, on to the server side of the operation. &lt;/p&gt;  &lt;h2&gt;&lt;a name="Configuration_-_Server_Side"&gt;&lt;/a&gt;&lt;span class="mw-headline"&gt;Configuration - Server Side (vistacmsdev/RHN Server)&lt;/span&gt;&lt;/h2&gt;  &lt;p&gt;Here are the steps you need to do on the computer that will act as the SSH server. &lt;/p&gt;  &lt;p&gt;1) Log into vistacmsdev as user b_v3infra. Create an .ssh subdirectory in your home directory and then go to it with cd. &lt;/p&gt;  &lt;pre&gt;[b_v3infra@vistacmsdev b_v3infra]# ls&lt;/pre&gt;&lt;pre&gt;public-key.tmp&lt;/pre&gt;&lt;pre&gt;[b_v3infra@vistacmsdev b_v3infra]# mkdir .ssh&lt;/pre&gt;&lt;pre&gt;[b_v3infra@vistacmsdev b_v3infra]# chmod 700 .ssh&lt;/pre&gt;&lt;pre&gt;[b_v3infra@vistacmsdev b_v3infra]# cd .ssh&lt;/pre&gt;  &lt;p&gt;2) Append the public-key.tmp file to the end of the authorized_keys file using the &gt;&gt; append redirector with the cat command. The authorized_keys file contains a listing of all the public keys from machines that are allowed to connect to your Vistacmsdev account without a password. Versions other than RedHat/Fedora may use different filenames, use the SSH man pages to verify this. &lt;/p&gt;  &lt;pre&gt;[b_v3infra@vistacmsdev .ssh]# cat ~/public-key.tmp &gt;&gt; authorized_keys&lt;/pre&gt;&lt;pre&gt;[b_v3infra@vistacmsdev .ssh]# rm ~/public-key.tmp&lt;/pre&gt;  &lt;p&gt;From now on you can use ssh and scp as user b_v3infra from server bangvst3a12l &lt;span style=""&gt; &lt;/span&gt;to vistacmsdev without being prompted for a password. &lt;/p&gt;  &lt;p&gt;If it still doesn’t works check for the following thing:&lt;/p&gt;  &lt;p style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="font-family: Symbol;"&gt;&lt;span style=""&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;.ssh folder of the user has 700 permissions.&lt;/p&gt;  &lt;p style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="font-family: Symbol;"&gt;&lt;span style=""&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;.ssh/authorized_keys file should have 600 permissions.&lt;/p&gt;  &lt;span style="font-size: 12pt; font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;If the above 2 condition are not met the ssh session will automatically go from Mode 3 to Mode 5 in which it will start asking for passwords.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720596178996425031-5218772787664748332?l=myitlessons-posts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myitlessons-posts.blogspot.com/feeds/5218772787664748332/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720596178996425031&amp;postID=5218772787664748332' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/5218772787664748332'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/5218772787664748332'/><link rel='alternate' type='text/html' href='http://myitlessons-posts.blogspot.com/2008/01/ssh-without-interruptions.html' title='SSH without interruptions'/><author><name>Ashu</name><uri>http://www.blogger.com/profile/17658712296385017613</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_6FjYL_-Kq2A/R5XTDYk3ZyI/AAAAAAAAACw/EVq7wybmkLY/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720596178996425031.post-3028648050800574637</id><published>2008-01-08T00:26:00.000-08:00</published><updated>2008-01-08T01:26:56.846-08:00</updated><title type='text'>"LI" error on boot</title><content type='html'>LI error normally comes with Linux machines which are running or previously had LILO as boot enviornment installed on it.&lt;br /&gt;&lt;br /&gt;This error comes when the boot loader (LILO) is unable to find the Linux installation.&lt;br /&gt;&lt;br /&gt;Check the harddrive boot sequence for this.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720596178996425031-3028648050800574637?l=myitlessons-posts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myitlessons-posts.blogspot.com/feeds/3028648050800574637/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720596178996425031&amp;postID=3028648050800574637' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/3028648050800574637'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/3028648050800574637'/><link rel='alternate' type='text/html' href='http://myitlessons-posts.blogspot.com/2008/01/li-error-on-boot.html' title='&quot;LI&quot; error on boot'/><author><name>Ashu</name><uri>http://www.blogger.com/profile/17658712296385017613</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_6FjYL_-Kq2A/R5XTDYk3ZyI/AAAAAAAAACw/EVq7wybmkLY/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720596178996425031.post-1815674117143271658</id><published>2007-12-26T02:07:00.000-08:00</published><updated>2008-01-07T01:14:11.950-08:00</updated><title type='text'>Vmware Converter.</title><content type='html'>Hi.&lt;br /&gt;&lt;br /&gt;I just tried to use VMware converter to convert a Physical machine (Win NT) to Virtual Machine.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;Following issues came up while converting the machine.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Installation Of Converter Agent:&lt;/span&gt;&lt;br /&gt;   1.    While installing thru the manager it give Unknown error while installing agent.&lt;br /&gt;          You can also install the agent directly on the machine. In this case you will know what the messages are:&lt;br /&gt;           Mostly the errors will be related to folders not having permissions. This is because Agent tries to write all the files using System Account and hence in NT desire System Acc to have write priviledges on the folders.&lt;br /&gt;           To see which folder the installation has stopped on start the installer from the command prompt on the machine like the undergiven command:&lt;br /&gt;           &lt;span style="font-style: italic;"&gt;abc.msi /l install.log&lt;br /&gt;           &lt;/span&gt;The above given command starts the installation and logs the progress into install.log simulatneously.&lt;br /&gt;   2.   Once the installation is complete (manual/Automatic) it often happens that the manager tries to start the agent installation again and again.&lt;br /&gt;           this is because the agent service is not running as the machine needs to reboot once the agent has been installed. Make sure that the machine is rebooted after agent installation.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Destination Folder:&lt;/span&gt;&lt;br /&gt;   The Destination folder needs to be accessible from both destination machine, source machine and manager machine. and should have write access permissions for installation.&lt;br /&gt;   So best way out of the problem is to give Domain\Anonymous Full controll to it for the time the migration is going on.&lt;br /&gt;&lt;br /&gt;While bringing up the machine as well there were some issues as given below:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The machine start but you will not be able to install vmware tools:&lt;/span&gt;&lt;br /&gt;Reason for this is that NT doesnt has builtin drivers for IDE cdrom which is probably being used in the OS. Since the drivers not loaded no drive available to vmware to load vmware-tools iso to. A very simple solution is available for this problem. Change the drive to a SCSI drive as drivers for scsi are built in.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Machine doesnt connects to network in a bridged enviornment:&lt;br /&gt;&lt;/span&gt;The issue which I saw in this particular problem was that the machine was on a bridged connection and the bridging service apparently didn't start up when the virtual machine was started.&lt;br /&gt;Just shutdown the virtual machine and restart vmware services for this to resolve.&lt;br /&gt;If it still doesnt works remove the ethernet adapter and create a new one.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720596178996425031-1815674117143271658?l=myitlessons-posts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myitlessons-posts.blogspot.com/feeds/1815674117143271658/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720596178996425031&amp;postID=1815674117143271658' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/1815674117143271658'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/1815674117143271658'/><link rel='alternate' type='text/html' href='http://myitlessons-posts.blogspot.com/2007/12/vmware-converter.html' title='Vmware Converter.'/><author><name>Ashu</name><uri>http://www.blogger.com/profile/17658712296385017613</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_6FjYL_-Kq2A/R5XTDYk3ZyI/AAAAAAAAACw/EVq7wybmkLY/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720596178996425031.post-3866286722790489121</id><published>2007-12-26T02:04:00.000-08:00</published><updated>2007-12-26T03:34:16.903-08:00</updated><title type='text'>Cygwin Not showing right groups.</title><content type='html'>1. First check whether the group u want to c is the primary group for that user in the Domain. If not Make it the Primary group.&lt;br /&gt;2. Next check whether the local group policies have been updated. Without that Cygwin wont be able to know which group the user is referring to.&lt;br /&gt;3. Remake the passwd and the group files of cygwin using mkpasswd and mkgroup command.&lt;br /&gt;Without this Changed data will not be updated into Cygwin authentications and the error will still remain there.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720596178996425031-3866286722790489121?l=myitlessons-posts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myitlessons-posts.blogspot.com/feeds/3866286722790489121/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720596178996425031&amp;postID=3866286722790489121' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/3866286722790489121'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/3866286722790489121'/><link rel='alternate' type='text/html' href='http://myitlessons-posts.blogspot.com/2007/12/cygwin-not-howing-right-groups.html' title='Cygwin Not showing right groups.'/><author><name>Ashu</name><uri>http://www.blogger.com/profile/17658712296385017613</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_6FjYL_-Kq2A/R5XTDYk3ZyI/AAAAAAAAACw/EVq7wybmkLY/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720596178996425031.post-4135845463093783805</id><published>2007-12-06T04:10:00.000-08:00</published><updated>2007-12-06T04:11:50.726-08:00</updated><title type='text'>fat32 partition mounting /etc/fstab entries</title><content type='html'>/dev/hda1    /mountpoint    defaults,umask=000    0    0&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720596178996425031-4135845463093783805?l=myitlessons-posts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myitlessons-posts.blogspot.com/feeds/4135845463093783805/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720596178996425031&amp;postID=4135845463093783805' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/4135845463093783805'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/4135845463093783805'/><link rel='alternate' type='text/html' href='http://myitlessons-posts.blogspot.com/2007/12/fat32-partition-mounting-etcfstab.html' title='fat32 partition mounting /etc/fstab entries'/><author><name>Ashu</name><uri>http://www.blogger.com/profile/17658712296385017613</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_6FjYL_-Kq2A/R5XTDYk3ZyI/AAAAAAAAACw/EVq7wybmkLY/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720596178996425031.post-5140136153403326217</id><published>2007-12-06T01:52:00.000-08:00</published><updated>2008-01-06T21:49:26.446-08:00</updated><title type='text'>Adding plugin to mozilla installation.</title><content type='html'>Folder : /usr/lib/mozilla/plugin&lt;br /&gt;&lt;br /&gt;Global Addition.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720596178996425031-5140136153403326217?l=myitlessons-posts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myitlessons-posts.blogspot.com/feeds/5140136153403326217/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720596178996425031&amp;postID=5140136153403326217' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/5140136153403326217'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/5140136153403326217'/><link rel='alternate' type='text/html' href='http://myitlessons-posts.blogspot.com/2007/12/adding-plugin-to-mozilla-installation.html' title='Adding plugin to mozilla installation.'/><author><name>Ashu</name><uri>http://www.blogger.com/profile/17658712296385017613</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_6FjYL_-Kq2A/R5XTDYk3ZyI/AAAAAAAAACw/EVq7wybmkLY/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720596178996425031.post-1614723053498930834</id><published>2007-12-05T04:59:00.001-08:00</published><updated>2007-12-05T05:02:21.781-08:00</updated><title type='text'>Windows MBR Reset</title><content type='html'>Say you installed Linux on a windows machine to make is a dual boot machine.&lt;br /&gt;&lt;br /&gt;Now ur linux is of no use and u want to remove it.&lt;br /&gt;&lt;br /&gt;You remove all the linux partitions but now the machine is not able to boot into windows as it not getting grub.&lt;br /&gt;&lt;br /&gt;So recover u need to reset MBR.&lt;br /&gt;Very Simple process.&lt;br /&gt;Use Windows CD to boot.&lt;br /&gt;give commands fixmbr and fixboot.&lt;br /&gt;&lt;br /&gt;Voilla the windows is back up.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720596178996425031-1614723053498930834?l=myitlessons-posts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myitlessons-posts.blogspot.com/feeds/1614723053498930834/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720596178996425031&amp;postID=1614723053498930834' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/1614723053498930834'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/1614723053498930834'/><link rel='alternate' type='text/html' href='http://myitlessons-posts.blogspot.com/2007/12/windows-mbr-reset.html' title='Windows MBR Reset'/><author><name>Ashu</name><uri>http://www.blogger.com/profile/17658712296385017613</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_6FjYL_-Kq2A/R5XTDYk3ZyI/AAAAAAAAACw/EVq7wybmkLY/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720596178996425031.post-1553891767008368795</id><published>2007-12-05T03:49:00.000-08:00</published><updated>2007-12-05T04:59:10.395-08:00</updated><title type='text'>Grub Recovery</title><content type='html'>Some times it happens tht ur grub goes down all though u know that the hard drives and the partitions are perfectly ok.&lt;br /&gt;&lt;br /&gt;Here is a situation i faced:&lt;br /&gt;&lt;br /&gt;Consider a Dual boot machine with 2 OS WinXP (1st) and RHEL (2nd).&lt;br /&gt;Now I had to disect the second partition available to windows into 2 and all linux partitions were after this partition.&lt;br /&gt;&lt;br /&gt;Once disected the machine stop booting.&lt;br /&gt;Reason :&lt;br /&gt;Machine was being booted using grub. once I added a partition in between the id (numbering) of original linux partitions shifted ahead by 1. Hence the MBR was unable to find the boot files and got stuck.&lt;br /&gt;&lt;br /&gt;To resolve the issue u need to reconfigure grub.&lt;br /&gt;&lt;br /&gt;Here is what u do:&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;use linux cd to boot in rescue mode.&lt;br /&gt;boot : Linux rescue.&lt;/li&gt;&lt;li&gt;Once booted and the RHEL installations have been found out u get the prompt.&lt;/li&gt;&lt;li&gt;chroot /mnt/sysimage. This changes the root to the / of the installations available.&lt;/li&gt;&lt;li&gt;grub-install /dev/hda or sda or sdb etc. This reconfigures MBR.&lt;/li&gt;&lt;/ol&gt;Although the MBR is reset but the OS will still not work.&lt;br /&gt;Reason: the partitions given where it needs to find kernel processes are the old ones and hence wrong.&lt;br /&gt;&lt;br /&gt;So open grub.conf and change them accordingly.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720596178996425031-1553891767008368795?l=myitlessons-posts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myitlessons-posts.blogspot.com/feeds/1553891767008368795/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720596178996425031&amp;postID=1553891767008368795' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/1553891767008368795'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/1553891767008368795'/><link rel='alternate' type='text/html' href='http://myitlessons-posts.blogspot.com/2007/12/grub-recovery.html' title='Grub Recovery'/><author><name>Ashu</name><uri>http://www.blogger.com/profile/17658712296385017613</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_6FjYL_-Kq2A/R5XTDYk3ZyI/AAAAAAAAACw/EVq7wybmkLY/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720596178996425031.post-4845805652818249289</id><published>2007-12-05T03:36:00.000-08:00</published><updated>2007-12-05T03:43:59.817-08:00</updated><title type='text'>Solaris Device Detection.</title><content type='html'>Unlike Windows and Linux Solaris does not starts detection of new hardware while booting up.&lt;br /&gt;Either it needs to be told to boot up in reconfigure mode or u have to detect all the devices using specific commands.&lt;br /&gt;&lt;br /&gt;Here I will Put the ways of automatic reconfiguration:&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;boot -r command on ok prompt (openBoot) before loading of OS.&lt;/li&gt;&lt;li&gt;touch /etc/reconfigure in OS to detect new devices next time it boots.&lt;/li&gt;&lt;li&gt;reboot -- -r. In this command what we are actually doing is rebooting and telling it to pass options to the boot command on ok prompt. Anything after -- is considered as options for boot.&lt;/li&gt;&lt;/ol&gt;Remember these commands are to detect the devices. Some devices might still require some drivers to be installed to run properly.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720596178996425031-4845805652818249289?l=myitlessons-posts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myitlessons-posts.blogspot.com/feeds/4845805652818249289/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720596178996425031&amp;postID=4845805652818249289' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/4845805652818249289'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/4845805652818249289'/><link rel='alternate' type='text/html' href='http://myitlessons-posts.blogspot.com/2007/12/solaris-device-detection.html' title='Solaris Device Detection.'/><author><name>Ashu</name><uri>http://www.blogger.com/profile/17658712296385017613</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_6FjYL_-Kq2A/R5XTDYk3ZyI/AAAAAAAAACw/EVq7wybmkLY/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720596178996425031.post-4689668092358865473</id><published>2007-11-13T00:16:00.000-08:00</published><updated>2007-11-13T00:17:02.346-08:00</updated><title type='text'>Daemons (NIS)</title><content type='html'>&lt;table border="1" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td valign="top" width="195"&gt;&lt;p align="center"&gt;portmap&lt;/p&gt; &lt;/td&gt; &lt;td valign="top" width="549"&gt; &lt;p align="center"&gt;The foundation service for RPC&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr&gt; &lt;td valign="top" width="195"&gt; &lt;p align="center"&gt;yppasswdd&lt;/p&gt; &lt;/td&gt; &lt;td valign="top" width="549"&gt; &lt;p align="center"&gt;Allows users to change their NIS passwords&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr&gt; &lt;td valign="top" width="195"&gt; &lt;p align="center"&gt;ypserv&lt;/p&gt; &lt;/td&gt; &lt;td valign="top" width="549"&gt; &lt;p align="center"&gt;NIS server daemon&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr&gt; &lt;td valign="top" width="195"&gt; &lt;p align="center"&gt;ypbind&lt;/p&gt; &lt;/td&gt; &lt;td valign="top" width="549"&gt; &lt;p align="center"&gt;NIS client daemon&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt;  &lt;tr&gt; &lt;td valign="top" width="195"&gt; &lt;p align="center"&gt;ypxfrd&lt;/p&gt; &lt;/td&gt; &lt;td valign="top" width="549"&gt; &lt;p align="center"&gt;The NIS map transfer daemon&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720596178996425031-4689668092358865473?l=myitlessons-posts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myitlessons-posts.blogspot.com/feeds/4689668092358865473/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720596178996425031&amp;postID=4689668092358865473' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/4689668092358865473'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/4689668092358865473'/><link rel='alternate' type='text/html' href='http://myitlessons-posts.blogspot.com/2007/11/daemons-nis.html' title='Daemons (NIS)'/><author><name>Ashu</name><uri>http://www.blogger.com/profile/17658712296385017613</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_6FjYL_-Kq2A/R5XTDYk3ZyI/AAAAAAAAACw/EVq7wybmkLY/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720596178996425031.post-681834937009336886</id><published>2007-11-12T23:08:00.000-08:00</published><updated>2007-11-12T23:21:52.083-08:00</updated><title type='text'>Daemons (NFS)</title><content type='html'>&lt;table border="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;span class="COMMAND"&gt;Server :&lt;br /&gt;rpc.portmap&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;span class="COMMAND"&gt;rpc.mountd&lt;/span&gt;, &lt;span class="COMMAND"&gt;rpc.nfsd&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;span class="COMMAND"&gt;rpc.statd&lt;/span&gt;, &lt;span class="COMMAND"&gt;rpc.lockd&lt;/span&gt; (if necessary), and &lt;span class="COMMAND"&gt;rpc.rquotad&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;Client:&lt;br /&gt;&lt;br /&gt;rpc.lockd&lt;br /&gt;rpc.statd&lt;br /&gt;&lt;br /&gt;automount if using automounter.&lt;br /&gt;&lt;br /&gt;&lt;h1 class="firstHeading"&gt;Nfs lock problem&lt;/h1&gt;&lt;!-- start content --&gt;    &lt;p&gt;&lt;b&gt;NFS PROBLEM:&lt;/b&gt; &lt;/p&gt;&lt;p&gt;while strating the nfslock service the output was  &lt;/p&gt; &lt;ol&gt;&lt;li&gt; service nfslock start &lt;/li&gt;&lt;/ol&gt; &lt;p&gt;Starting NFS statd: statd: Could not chdir: No such file or directory [FAILED] &lt;/p&gt;&lt;p&gt;&lt;br /&gt;and dmesg shows something like this:- &lt;/p&gt;&lt;p&gt;lockd: cannot monitor 192.168.9.32 nsm_mon_unmon: rpc failed, status=-13 &lt;/p&gt;&lt;p&gt;&lt;span style="font-weight: bold;"&gt;Solution:-&lt;/span&gt; &lt;/p&gt;&lt;p&gt;Follow the below mentioned steps to resolve the problem:- &lt;/p&gt; &lt;ol&gt;&lt;li&gt; cd /var/lib/nfs &lt;/li&gt;&lt;li&gt; mkdir statd &lt;/li&gt;&lt;li&gt; chmod 700 statd &lt;/li&gt;&lt;li&gt; touch state &lt;/li&gt;&lt;li&gt; chmod 600 state &lt;/li&gt;&lt;li&gt; service nfslock restart &lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720596178996425031-681834937009336886?l=myitlessons-posts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myitlessons-posts.blogspot.com/feeds/681834937009336886/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720596178996425031&amp;postID=681834937009336886' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/681834937009336886'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/681834937009336886'/><link rel='alternate' type='text/html' href='http://myitlessons-posts.blogspot.com/2007/11/daemons-nfs.html' title='Daemons (NFS)'/><author><name>Ashu</name><uri>http://www.blogger.com/profile/17658712296385017613</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_6FjYL_-Kq2A/R5XTDYk3ZyI/AAAAAAAAACw/EVq7wybmkLY/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720596178996425031.post-134007922474886382</id><published>2007-11-12T21:28:00.000-08:00</published><updated>2007-12-27T22:48:17.501-08:00</updated><title type='text'>Tar/Untar Simultaneously.</title><content type='html'>Here is a Nice Way to put all your data from one location to another in a fast way.&lt;br /&gt;Traditionally a user woudl first tar his whole directory go to destination and the untar.&lt;br /&gt;This takes more time and needs huge space.&lt;br /&gt;&lt;br /&gt;Use the following command instead:&lt;br /&gt;&lt;br /&gt;tar cf - "data to be tarred"|(cd destination; tar xf -)&lt;br /&gt;&lt;br /&gt;There is a very simple concept behind this command:&lt;br /&gt;The hyphon ( "-") in the command is stdout.&lt;br /&gt;So basically the file in which we are tarring the data is streaming the tarred data to stdout (not saving it).&lt;br /&gt;The '|' lets us parse the stream and tar xf - untars the stream at the place defined by cd destination command.&lt;br /&gt;&lt;br /&gt;For doing it from a different machine just add rsh machine name in front of the command.&lt;br /&gt;&lt;br /&gt;There are a few things which need to be kept in mind while doing these:&lt;br /&gt;&lt;br /&gt;1.    Never use v option of tar in this command.&lt;br /&gt;        Why: A very simple reason v throws the output of whatever is happening on STDOUT. the extraction part thinks that it is not a proper archive since it doesnt has the proper header and hence the command fails.&lt;br /&gt;&lt;br /&gt;2.    While using rsh remember that no extra rc(profile startup) files are there in the profile which give any output. the reason is the same.&lt;br /&gt;        Also remember that the rsh should be passwordless.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720596178996425031-134007922474886382?l=myitlessons-posts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myitlessons-posts.blogspot.com/feeds/134007922474886382/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720596178996425031&amp;postID=134007922474886382' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/134007922474886382'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/134007922474886382'/><link rel='alternate' type='text/html' href='http://myitlessons-posts.blogspot.com/2007/11/taruntar-simultaneously.html' title='Tar/Untar Simultaneously.'/><author><name>Ashu</name><uri>http://www.blogger.com/profile/17658712296385017613</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_6FjYL_-Kq2A/R5XTDYk3ZyI/AAAAAAAAACw/EVq7wybmkLY/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720596178996425031.post-7490050319974296444</id><published>2007-11-05T04:01:00.000-08:00</published><updated>2008-09-28T04:24:21.428-07:00</updated><title type='text'>Local User password Changes</title><content type='html'>net user userid password.&lt;br /&gt;&lt;br /&gt;Use this command in login scripts / or with for loop in batch scripts to change passwords on multiple machines.&lt;br /&gt;for /f %%c in (comp.txt) do ashu.bat %%c&lt;br /&gt;where comp.txt contains  the names of the systems where changes need to be made.&lt;br /&gt;ashu.bat contain the commands that need to be run to accomplish the changes.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Do remember any kind of loop commands which run remotely need to be run using Domain Local Admin accounts.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720596178996425031-7490050319974296444?l=myitlessons-posts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myitlessons-posts.blogspot.com/feeds/7490050319974296444/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720596178996425031&amp;postID=7490050319974296444' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/7490050319974296444'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/7490050319974296444'/><link rel='alternate' type='text/html' href='http://myitlessons-posts.blogspot.com/2007/11/local-user-password-changes.html' title='Local User password Changes'/><author><name>Ashu</name><uri>http://www.blogger.com/profile/17658712296385017613</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_6FjYL_-Kq2A/R5XTDYk3ZyI/AAAAAAAAACw/EVq7wybmkLY/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720596178996425031.post-619580437615895579</id><published>2007-09-11T21:56:00.000-07:00</published><updated>2007-09-11T21:59:42.600-07:00</updated><title type='text'>Cygwin Installation</title><content type='html'>If SSHD doesnt starts stating that the daemon is giving no errors;&lt;br /&gt;Following need to seen. :&lt;br /&gt;1. System Variable CYGWIN=ntsec&lt;br /&gt;2. /var/empty owner = system.system&lt;br /&gt;3. /etc/ssh*key files owner = system.system and permissions = 600&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720596178996425031-619580437615895579?l=myitlessons-posts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myitlessons-posts.blogspot.com/feeds/619580437615895579/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720596178996425031&amp;postID=619580437615895579' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/619580437615895579'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/619580437615895579'/><link rel='alternate' type='text/html' href='http://myitlessons-posts.blogspot.com/2007/09/cygwin-installation.html' title='Cygwin Installation'/><author><name>Ashu</name><uri>http://www.blogger.com/profile/17658712296385017613</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_6FjYL_-Kq2A/R5XTDYk3ZyI/AAAAAAAAACw/EVq7wybmkLY/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720596178996425031.post-6849180974093010292</id><published>2007-09-06T22:59:00.000-07:00</published><updated>2007-09-06T23:17:13.603-07:00</updated><title type='text'>Uninstalling Clearcase.</title><content type='html'>service clearcase stop&lt;br /&gt;cd /var/adm&lt;br /&gt;cp -rf rational rational.old&lt;br /&gt;# it is recommended that rational directory be backed up.&lt;br /&gt;rm -f /view&lt;br /&gt;&lt;b&gt;mv /etc/init.d/clearcase /etc/init.d/old.clearcase&lt;br /&gt;remove all clearcase files from rc#.d files&lt;br /&gt;cd /opt/rational&lt;br /&gt;rm -rf clearcase&lt;br /&gt;modprobe -r mvfs&lt;br /&gt;modprobe -r vnode&lt;br /&gt;&lt;br /&gt;Reboot of the machine.&lt;br /&gt;&lt;br /&gt;Clearcase is now uninstalled from ur machine.&lt;br /&gt;&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720596178996425031-6849180974093010292?l=myitlessons-posts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myitlessons-posts.blogspot.com/feeds/6849180974093010292/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720596178996425031&amp;postID=6849180974093010292' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/6849180974093010292'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720596178996425031/posts/default/6849180974093010292'/><link rel='alternate' type='text/html' href='http://myitlessons-posts.blogspot.com/2007/09/uninstalling-clearcase.html' title='Uninstalling Clearcase.'/><author><name>Ashu</name><uri>http://www.blogger.com/profile/17658712296385017613</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_6FjYL_-Kq2A/R5XTDYk3ZyI/AAAAAAAAACw/EVq7wybmkLY/S220/1.jpg'/></author><thr:total>0</thr:total></entry></feed>
