<?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>iTechLog &#187; usermod</title>
	<atom:link href="http://itechlog.com/tag/usermod/feed/" rel="self" type="application/rss+xml" />
	<link>http://itechlog.com</link>
	<description>Your source to IT solutions, interesting technology news and code snipets.</description>
	<lastBuildDate>Tue, 10 Jan 2012 17:06:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>usermod</title>
		<link>http://itechlog.com/linux-man-pages/2009/01/01/usermod/</link>
		<comments>http://itechlog.com/linux-man-pages/2009/01/01/usermod/#comments</comments>
		<pubDate>Thu, 01 Jan 2009 14:03:00 +0000</pubDate>
		<dc:creator>Alex Costa</dc:creator>
				<category><![CDATA[Linux Man Pages]]></category>
		<category><![CDATA[usermod]]></category>

		<guid isPermaLink="false">http://itechlog.com/linux-man-pages/2009/01/01/usermod/</guid>
		<description><![CDATA[<a href="http://itechlog.com/linux-man-pages/2009/01/01/usermod/" title="usermod"></a>usermod(8) usermod(8) NAME usermod &#8211; modify a user account SYNOPSIS usermod [-D binddn] [-P path] [-g gid [-o]] [-p password] [--service service] [--help] [--usage] [-v] account DESCRIPTION usermod modifies an user account using the values specified on the com- mand &#8230;<p class="read-more"><a href="http://itechlog.com/linux-man-pages/2009/01/01/usermod/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://itechlog.com/linux-man-pages/2009/01/01/usermod/" title="usermod"></a><p>usermod(8)                                                          usermod(8)</p>
<p>NAME<br />       usermod &#8211; modify a user account</p>
<p>SYNOPSIS<br />       usermod [-D binddn] [-P path] [-g gid [-o]] [-p password]<br />               [--service service] [--help] [--usage] [-v] account</p>
<p>DESCRIPTION<br />       usermod modifies an user account using the values specified on the com-<br />       mand line.</p>
<p>OPTIONS<br />       -c, &#8211;comment comment<br />              This option specifies the new users finger information.   It  is<br />              normally modified using the chfn(1) utility.</p>
<p>       -d, &#8211;home homedir<br />              This option specifies the new home directory of the user.</p>
<p>       -e, &#8211;expire expire<br />              With  this  option the date when the account will be expired can<br />              be changed. expiredate has to be specified  as  number  of  days<br />              since  January  1st, 1970. The date may also be expressed in the<br />              format YYYY-MM-DD.</p>
<p>       -f, &#8211;inactive inactive<br />              This option is used to set the  number  of  days  of  inactivity<br />              after  a  password  has  expired before the account is locked. A<br />              user whose account is locked must contact the  system   adminis-<br />              trator  before  being able to use the account again.  A value of<br />              -1 disables this feature.</p>
<p>       -G, &#8211;groups group,&#8230;<br />              With this option a list of supplementary groups  can  be  speci-<br />              fied,  which  the  user should become a member of. Each group is<br />              separated from the next one only by a comma, without whitespace.<br />              The user is removed from all other groups not specified.</p>
<p>       -g, &#8211;gid gid<br />              The  group  name  or number of the user&#8217;s new primary group. The<br />              group name must exist and  a  group  number  must  refer  to  an<br />              already existing group.</p>
<p>       -l, &#8211;login name<br />              Specify the new account name for the user. The account name must<br />              begin with an alphabetic character and the rest  of  the  string<br />              should  be from the POSIX portable character class. Nothing else<br />              is changed.</p>
<p>       -m, &#8211;move_home<br />              Move the user&#8217;s home directory to the  new  directory  specified<br />              with the -d option. If the old directory does not exist, nothing<br />              is done. If the new directory already exists, the program aborts<br />              with an error.</p>
<p>       -o, &#8211;non-unique<br />              Allow duplicate (non-unique) User IDs.</p>
<p>       -p, &#8211;password password<br />              Encrypted  password as returned by crypt(3) as the new password.</p>
<p>       -s, &#8211;shell shell<br />              Specify user&#8217;s new login shell. The value of  shell  must  be  a<br />              valid executable file. It is normally modified using the chsh(1)<br />              utility.</p>
<p>       -u, &#8211;uid uid<br />              Change the userid to be the given number.  This  value  must  be<br />              positive  and  unique  (unless the -o option is used).  Any file<br />              with the old UID of the user and which is located in the  direc-<br />              tory tree rooted at the user&#8217;s home directory will be changed to<br />              be owned by the new UID automatically.</p>
<p>       -D, &#8211;binddn binddn<br />              Use the Distinguished Name binddn to bind to the LDAP directory.<br />              The  user will be prompted for a password for simple authentica-<br />              tion.</p>
<p>       -L, &#8211;lock<br />              A system administrator can lock the  account  of  the  specified<br />              user.</p>
<p>       -U, &#8211;unlock<br />              A  system administrator can unlock the specified account, if the<br />              account is not passwordless afterwards (it will  not  unlock  an<br />              account that has only  &#8220;!&#8221; as a password).</p>
<p>       -P, &#8211;path path<br />              The  passwd  and  shadow  files  are located below the specified<br />              directory path.  usermod will use this  files,  not  /etc/passwd<br />              and /etc/shadow.</p>
<p>       &#8211;service service<br />              Modify  the  account  from  a  special directory. The default is<br />              files, but ldap is also valid.</p>
<p>       &#8211;help Print a list of valid options with a short description.</p>
<p>       &#8211;usage<br />              Print a short list of valid options.</p>
<p>       -v, &#8211;version<br />              Print the version number and exit.</p>
<p>NOTES<br />       usermod will not allow you to change the name, User ID or  home  direc-<br />       tory of a user, which is logged in. usermod will not change the User ID<br />       of running processes and not the ownership of crontab and at jobs.</p>
<p>FILES<br />       /etc/group &#8211; group information<br />       /etc/passwd &#8211; user account information<br />       /etc/shadow &#8211; shadow user account information</p>
<p>SEE ALSO<br />       passwd(1), <a>login.defs</a>(5), group(5), passwd(5),  shadow(5),  useradd(8),<br />       userdel(8)</p>
<p>AUTHOR<br />       Thorsten Kukuk &lt;<a target="_blank" onclick="top.Popup.composeWindow('pcompose.php?sendto=kukuk@suse.de'); return false;" href="mailto:kukuk@suse.de">kukuk@suse.de</a>&gt;</p>
<p>pwdutils                           May 2006                         usermod(8)</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=17f29b42-1bba-4fca-8a56-9460866fd807" /></div>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/Linux+Man+Pages' rel='tag' target='_self'>Linux Man Pages</a>, <a class='technorati-link' href='http://technorati.com/tag/usermod' rel='tag' target='_self'>usermod</a></p>

<!-- end wp-tags-to-technorati -->
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>January 1, 2009 -- <a href="http://itechlog.com/linux-man-pages/2009/01/01/usermod-2/" title="usermod">usermod</a></li><li>January 4, 2009 -- <a href="http://itechlog.com/linux-man-pages/2009/01/04/sort/" title="SORT">SORT</a></li><li>January 1, 2009 -- <a href="http://itechlog.com/linux-man-pages/2009/01/01/mkdirhier/" title="MKDIRHIER">MKDIRHIER</a></li><li>January 1, 2009 -- <a href="http://itechlog.com/linux-man-pages/2009/01/01/modinfo/" title="MODINFO">MODINFO</a></li><li>January 1, 2009 -- <a href="http://itechlog.com/linux-man-pages/2009/01/01/mkfs/" title="MKFS">MKFS</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://itechlog.com/linux-man-pages/2009/01/01/usermod/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>usermod</title>
		<link>http://itechlog.com/linux-man-pages/2009/01/01/usermod-2/</link>
		<comments>http://itechlog.com/linux-man-pages/2009/01/01/usermod-2/#comments</comments>
		<pubDate>Thu, 01 Jan 2009 13:42:00 +0000</pubDate>
		<dc:creator>Alex Costa</dc:creator>
				<category><![CDATA[Linux Man Pages]]></category>
		<category><![CDATA[usermod]]></category>

		<guid isPermaLink="false">http://itechlog.com/linux-man-pages/2009/01/01/usermod-2/</guid>
		<description><![CDATA[<a href="http://itechlog.com/linux-man-pages/2009/01/01/usermod-2/" title="usermod"></a>usermod(8) usermod(8) NAME usermod &#8211; modify a user account SYNOPSIS usermod [-D binddn] [-P path] [-g gid [-o]] [-p password] [--service service] [--help] [--usage] [-v] account DESCRIPTION usermod modifies an user account using the values specified on the com- mand &#8230;<p class="read-more"><a href="http://itechlog.com/linux-man-pages/2009/01/01/usermod-2/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://itechlog.com/linux-man-pages/2009/01/01/usermod-2/" title="usermod"></a><p>usermod(8)                                                          usermod(8)</p>
<p>NAME<br />       usermod &#8211; modify a user account</p>
<p>SYNOPSIS<br />       usermod [-D binddn] [-P path] [-g gid [-o]] [-p password]<br />               [--service service] [--help] [--usage] [-v] account</p>
<p>DESCRIPTION<br />       usermod modifies an user account using the values specified on the com-<br />       mand line.</p>
<p>OPTIONS<br />       -c, &#8211;comment comment<br />              This option specifies the new users finger information.   It  is<br />              normally modified using the chfn(1) utility.</p>
<p>       -d, &#8211;home homedir<br />              This option specifies the new home directory of the user.</p>
<p>       -e, &#8211;expire expire<br />              With  this  option the date when the account will be expired can<br />              be changed. expiredate has to be specified  as  number  of  days<br />              since  January  1st, 1970. The date may also be expressed in the<br />              format YYYY-MM-DD.</p>
<p>       -f, &#8211;inactive inactive<br />              This option is used to set the  number  of  days  of  inactivity<br />              after  a  password  has  expired before the account is locked. A<br />              user whose account is locked must contact the  system   adminis-<br />              trator  before  being able to use the account again.  A value of<br />              -1 disables this feature.</p>
<p>       -G, &#8211;groups group,&#8230;<br />              With this option a list of supplementary groups  can  be  speci-<br />              fied,  which  the  user should become a member of. Each group is<br />              separated from the next one only by a comma, without whitespace.<br />              The user is removed from all other groups not specified.</p>
<p>       -g, &#8211;gid gid<br />              The  group  name  or number of the user&#8217;s new primary group. The<br />              group name must exist and  a  group  number  must  refer  to  an<br />              already existing group.</p>
<p>       -l, &#8211;login name<br />              Specify the new account name for the user. The account name must<br />              begin with an alphabetic character and the rest  of  the  string<br />              should  be from the POSIX portable character class. Nothing else<br />              is changed.</p>
<p>       -m, &#8211;move_home<br />              Move the user&#8217;s home directory to the  new  directory  specified<br />              with the -d option. If the old directory does not exist, nothing<br />              is done. If the new directory already exists, the program aborts<br />              with an error.</p>
<p>       -o, &#8211;non-unique<br />              Allow duplicate (non-unique) User IDs.</p>
<p>       -p, &#8211;password password<br />              Encrypted  password as returned by crypt(3) as the new password.</p>
<p>       -s, &#8211;shell shell<br />              Specify user&#8217;s new login shell. The value of  shell  must  be  a<br />              valid executable file. It is normally modified using the chsh(1)<br />              utility.</p>
<p>       -u, &#8211;uid uid<br />              Change the userid to be the given number.  This  value  must  be<br />              positive  and  unique  (unless the -o option is used).  Any file<br />              with the old UID of the user and which is located in the  direc-<br />              tory tree rooted at the user&#8217;s home directory will be changed to<br />              be owned by the new UID automatically.</p>
<p>       -D, &#8211;binddn binddn<br />              Use the Distinguished Name binddn to bind to the LDAP directory.<br />              The  user will be prompted for a password for simple authentica-<br />              tion.</p>
<p>       -L, &#8211;lock<br />              A system administrator can lock the  account  of  the  specified<br />              user.</p>
<p>       -U, &#8211;unlock<br />              A  system administrator can unlock the specified account, if the<br />              account is not passwordless afterwards (it will  not  unlock  an<br />              account that has only  &#8220;!&#8221; as a password).</p>
<p>       -P, &#8211;path path<br />              The  passwd  and  shadow  files  are located below the specified<br />              directory path.  usermod will use this  files,  not  /etc/passwd<br />              and /etc/shadow.</p>
<p>       &#8211;service service<br />              Modify  the  account  from  a  special directory. The default is<br />              files, but ldap is also valid.</p>
<p>       &#8211;help Print a list of valid options with a short description.</p>
<p>       &#8211;usage<br />              Print a short list of valid options.</p>
<p>       -v, &#8211;version<br />              Print the version number and exit.</p>
<p>NOTES<br />       usermod will not allow you to change the name, User ID or  home  direc-<br />       tory of a user, which is logged in. usermod will not change the User ID<br />       of running processes and not the ownership of crontab and at jobs.</p>
<p>FILES<br />       /etc/group &#8211; group information<br />       /etc/passwd &#8211; user account information<br />       /etc/shadow &#8211; shadow user account information</p>
<p>SEE ALSO<br />       passwd(1), <a>login.defs</a>(5), group(5), passwd(5),  shadow(5),  useradd(8),<br />       userdel(8)</p>
<p>AUTHOR<br />       Thorsten Kukuk &lt;<a target="_blank" onclick="top.Popup.composeWindow('pcompose.php?sendto=kukuk@suse.de'); return false;" href="mailto:kukuk@suse.de">kukuk@suse.de</a>&gt;</p>
<p>pwdutils                           May 2006                         usermod(8)</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=d7a21ee3-f7da-4cef-9f37-bd609de350f8" /></div>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/Linux+Man+Pages' rel='tag' target='_self'>Linux Man Pages</a>, <a class='technorati-link' href='http://technorati.com/tag/usermod' rel='tag' target='_self'>usermod</a></p>

<!-- end wp-tags-to-technorati -->
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>January 1, 2009 -- <a href="http://itechlog.com/linux-man-pages/2009/01/01/usermod/" title="usermod">usermod</a></li><li>January 4, 2009 -- <a href="http://itechlog.com/linux-man-pages/2009/01/04/sort/" title="SORT">SORT</a></li><li>January 1, 2009 -- <a href="http://itechlog.com/linux-man-pages/2009/01/01/mkdirhier/" title="MKDIRHIER">MKDIRHIER</a></li><li>January 1, 2009 -- <a href="http://itechlog.com/linux-man-pages/2009/01/01/modinfo/" title="MODINFO">MODINFO</a></li><li>January 1, 2009 -- <a href="http://itechlog.com/linux-man-pages/2009/01/01/mkfs/" title="MKFS">MKFS</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://itechlog.com/linux-man-pages/2009/01/01/usermod-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VirtualBox error: cannot connect to X server on OpenSUSE 11.1</title>
		<link>http://itechlog.com/linux/2008/12/31/virtualbox-error-cannot-connect-to-x-server-on-opensuse-111/</link>
		<comments>http://itechlog.com/linux/2008/12/31/virtualbox-error-cannot-connect-to-x-server-on-opensuse-111/#comments</comments>
		<pubDate>Wed, 31 Dec 2008 08:50:07 +0000</pubDate>
		<dc:creator>Alex Costa</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[cannot connect to X server]]></category>
		<category><![CDATA[usermod]]></category>
		<category><![CDATA[VirtualBox error]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://itechlog.com/linux/2008/12/31/virtualbox-error-cannot-connect-to-x-server-on-opensuse-111/</guid>
		<description><![CDATA[<a href="http://itechlog.com/linux/2008/12/31/virtualbox-error-cannot-connect-to-x-server-on-opensuse-111/" title="VirtualBox error: cannot connect to X server on OpenSUSE 11.1"></a>I am a big fan of VirtualBox, it&#8217;s an easy to use Virtualization tool. I had used it on Ubuntu before and wanted to install it on OpenSUSE 11.1, the installation was easy using zypper ($ sudo zypper in VirtualBox &#8230;<p class="read-more"><a href="http://itechlog.com/linux/2008/12/31/virtualbox-error-cannot-connect-to-x-server-on-opensuse-111/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://itechlog.com/linux/2008/12/31/virtualbox-error-cannot-connect-to-x-server-on-opensuse-111/" title="VirtualBox error: cannot connect to X server on OpenSUSE 11.1"></a><p>I am a big fan of <a target="_blank" href="http://www.virtualbox.org/">VirtualBox</a>, it&#8217;s an easy to use Virtualization tool. I had used it on Ubuntu before and wanted to install it on OpenSUSE 11.1, the installation was easy <a target="_blank" href="http://itechlog.com/linux/2008/12/22/using-zypper/">using zypper</a> (<i>$ sudo zypper in VirtualBox</i> ). After installing I tried to run VirtualBox and nothing appeared on the screen. I notice my HD ligh flick a couple of times but noting happened, so I tried to start it from the Command Line.</p>
<p><b><i>$ VirtualBox</i>&nbsp; (and the follwing error appeared)<br /><i>QT warning : cannot connect to X server<br /></i></b><br />That was all, no instructions.&nbsp; After some searching I found out that this is due to permission problems, so I tried to run the programme as root but still no success. The answer to this problem in my case was to add my user to the <b>vboxusers group</b>. </p>
<p><b><i>$ sudo</i></b><code><b><i> usermod -a -G vboxusers username <br /></i></b><br />Note that your have to replace "username" with your username. ;) That's it, it now works.</p>
<p><img style="max-width: 800px;" src="http://itechlog.com/wp-content/uploads/2008/12/ubuntuvbox.png" /><br /></code></p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/cannot+connect+to+X+server' rel='tag' target='_self'>cannot connect to X server</a>, <a class='technorati-link' href='http://technorati.com/tag/Linux' rel='tag' target='_self'>Linux</a>, <a class='technorati-link' href='http://technorati.com/tag/usermod' rel='tag' target='_self'>usermod</a>, <a class='technorati-link' href='http://technorati.com/tag/VirtualBox+error' rel='tag' target='_self'>VirtualBox error</a>, <a class='technorati-link' href='http://technorati.com/tag/Virtualization' rel='tag' target='_self'>Virtualization</a></p>

<!-- end wp-tags-to-technorati -->
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>December 11, 2008 -- <a href="http://itechlog.com/linux/2008/12/11/hp-to-offer-pre-installed-suse-linux-o-businesses-and-schools/" title="HP to offer pre-installed Suse Linux for Businesses and Schools">HP to offer pre-installed Suse Linux for Businesses and Schools</a></li><li>December 21, 2011 -- <a href="http://itechlog.com/easy-tips/2011/12/21/auto-start-a-program-on-gnome-3/" title="Auto start a program on Gnome 3">Auto start a program on Gnome 3</a></li><li>December 14, 2011 -- <a href="http://itechlog.com/linux/2011/12/14/show-desktop-icons-in-gnome-3-on-open-suse-12-1/" title="Show Desktop icons in Gnome 3 on Open SUSE 12.1">Show Desktop icons in Gnome 3 on Open SUSE 12.1</a></li><li>November 7, 2011 -- <a href="http://itechlog.com/programming/2011/11/07/arduino-the-open-source-hardware/" title="Arduino the Open Source hardware">Arduino the Open Source hardware</a></li><li>October 7, 2011 -- <a href="http://itechlog.com/easy-tips/2011/10/07/spotify-crashes-in-linux-under-wine/" title="Spotify crashes in Linux under Wine">Spotify crashes in Linux under Wine</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://itechlog.com/linux/2008/12/31/virtualbox-error-cannot-connect-to-x-server-on-opensuse-111/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

