<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Using usermod while the user is logged in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/using-usermod-while-the-user-is-logged/m-p/4021722#M300079</link>
    <description>Sorry, forgot to mention (it may be obvious?) to change the NEWGRP to the group you want to change the user to and the EMPLID should be the users ID.</description>
    <pubDate>Mon, 18 Jun 2007 07:35:34 GMT</pubDate>
    <dc:creator>Doug Burton</dc:creator>
    <dc:date>2007-06-18T07:35:34Z</dc:date>
    <item>
      <title>Using usermod while the user is logged</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-usermod-while-the-user-is-logged/m-p/4021716#M300073</link>
      <description>Hi colleagues,&lt;BR /&gt;I want to change the primary and / or the supplementary groups of some users and I don't want to make them to logoff ....&lt;BR /&gt;what can I do?&lt;BR /&gt;If I try I get the result "The login snml is currently in use" ......&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;Enrico</description>
      <pubDate>Mon, 18 Jun 2007 04:09:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-usermod-while-the-user-is-logged/m-p/4021716#M300073</guid>
      <dc:creator>Enrico Venturi</dc:creator>
      <dc:date>2007-06-18T04:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Using usermod while the user is logged</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-usermod-while-the-user-is-logged/m-p/4021717#M300074</link>
      <description>I think you need to logoff the user before changing the group.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Asif Sharif&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Jun 2007 04:19:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-usermod-while-the-user-is-logged/m-p/4021717#M300074</guid>
      <dc:creator>Asif Sharif</dc:creator>
      <dc:date>2007-06-18T04:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Using usermod while the user is logged</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-usermod-while-the-user-is-logged/m-p/4021718#M300075</link>
      <description>You will have to *carefully* edit the passwd  file yourself (assuming thats where you keep your user data).&lt;BR /&gt;&lt;BR /&gt;After you've made the change, the users env won't change until they either logout and back in or issue a newgrp command.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Mon, 18 Jun 2007 04:26:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-usermod-while-the-user-is-logged/m-p/4021718#M300075</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2007-06-18T04:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: Using usermod while the user is logged</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-usermod-while-the-user-is-logged/m-p/4021719#M300076</link>
      <description>The password file will contain entries like fro all the users&lt;BR /&gt;&lt;BR /&gt;root:x:0:1:Super-User:/:/sbin/sh&lt;BR /&gt;&lt;BR /&gt;&lt;USER name=""&gt;:&lt;PASSWORD hidden=""&gt;:&lt;USER id=""&gt;: &lt;PRIMARY group=""&gt;.....&lt;BR /&gt;&lt;BR /&gt;each filed is separated by a ":"&lt;BR /&gt;&lt;BR /&gt;edit the line for the user which is to be modified and change the third field this will change the user id.&lt;BR /&gt;&lt;BR /&gt;but this wont be reflected in the sessions which are already running.&lt;BR /&gt;&lt;BR /&gt;&lt;/PRIMARY&gt;&lt;/USER&gt;&lt;/PASSWORD&gt;&lt;/USER&gt;</description>
      <pubDate>Mon, 18 Jun 2007 05:24:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-usermod-while-the-user-is-logged/m-p/4021719#M300076</guid>
      <dc:creator>Srimalik</dc:creator>
      <dc:date>2007-06-18T05:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: Using usermod while the user is logged</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-usermod-while-the-user-is-logged/m-p/4021720#M300077</link>
      <description>the password file is /etc/passwd</description>
      <pubDate>Mon, 18 Jun 2007 05:25:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-usermod-while-the-user-is-logged/m-p/4021720#M300077</guid>
      <dc:creator>Srimalik</dc:creator>
      <dc:date>2007-06-18T05:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: Using usermod while the user is logged</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-usermod-while-the-user-is-logged/m-p/4021721#M300078</link>
      <description>You can try this while the user is logged in:&lt;BR /&gt;&lt;BR /&gt;/usr/sam/lbin/usermod.sam -F -G $NEWGRP $EMPLID</description>
      <pubDate>Mon, 18 Jun 2007 07:33:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-usermod-while-the-user-is-logged/m-p/4021721#M300078</guid>
      <dc:creator>Doug Burton</dc:creator>
      <dc:date>2007-06-18T07:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Using usermod while the user is logged</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-usermod-while-the-user-is-logged/m-p/4021722#M300079</link>
      <description>Sorry, forgot to mention (it may be obvious?) to change the NEWGRP to the group you want to change the user to and the EMPLID should be the users ID.</description>
      <pubDate>Mon, 18 Jun 2007 07:35:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-usermod-while-the-user-is-logged/m-p/4021722#M300079</guid>
      <dc:creator>Doug Burton</dc:creator>
      <dc:date>2007-06-18T07:35:34Z</dc:date>
    </item>
  </channel>
</rss>

