<?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: ss -u not putting me in my /home/ directory. in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/ss-u-not-putting-me-in-my-home-directory/m-p/3818647#M24124</link>
    <description>Joseph,&lt;BR /&gt;&lt;BR /&gt;I bet 'ss' is an alias for 'sudo su'.  Try this:&lt;BR /&gt;$ ss -u &lt;USERNAME&gt; -&lt;BR /&gt;or&lt;BR /&gt;$ sudo -u &lt;USERNAME&gt; su -&lt;BR /&gt;&lt;BR /&gt;The '-' makes the shell a login shell, which causes the user's startup scripts to be executed.&lt;BR /&gt;&lt;BR /&gt;PCS&lt;/USERNAME&gt;&lt;/USERNAME&gt;</description>
    <pubDate>Thu, 06 Jul 2006 11:11:42 GMT</pubDate>
    <dc:creator>spex</dc:creator>
    <dc:date>2006-07-06T11:11:42Z</dc:date>
    <item>
      <title>ss -u not putting me in my /home/ directory.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ss-u-not-putting-me-in-my-home-directory/m-p/3818645#M24122</link>
      <description>I'm having a problem using sudo.  When I issue ss -u &lt;MY_UNAME&gt;, it does switch to my uname as expected, but it does not put me in my /home directory.  It leaves me where I ss'ed from.  I have my uname in both ssers and sslogin.  Any suggestions? thx.&lt;/MY_UNAME&gt;</description>
      <pubDate>Thu, 06 Jul 2006 09:21:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ss-u-not-putting-me-in-my-home-directory/m-p/3818645#M24122</guid>
      <dc:creator>joseph wholey</dc:creator>
      <dc:date>2006-07-06T09:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: ss -u not putting me in my /home/ directory.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ss-u-not-putting-me-in-my-home-directory/m-p/3818646#M24123</link>
      <description>I don't know the ss command, its an alias? You may try the -H option of sudo.</description>
      <pubDate>Thu, 06 Jul 2006 10:32:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ss-u-not-putting-me-in-my-home-directory/m-p/3818646#M24123</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-07-06T10:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: ss -u not putting me in my /home/ directory.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ss-u-not-putting-me-in-my-home-directory/m-p/3818647#M24124</link>
      <description>Joseph,&lt;BR /&gt;&lt;BR /&gt;I bet 'ss' is an alias for 'sudo su'.  Try this:&lt;BR /&gt;$ ss -u &lt;USERNAME&gt; -&lt;BR /&gt;or&lt;BR /&gt;$ sudo -u &lt;USERNAME&gt; su -&lt;BR /&gt;&lt;BR /&gt;The '-' makes the shell a login shell, which causes the user's startup scripts to be executed.&lt;BR /&gt;&lt;BR /&gt;PCS&lt;/USERNAME&gt;&lt;/USERNAME&gt;</description>
      <pubDate>Thu, 06 Jul 2006 11:11:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ss-u-not-putting-me-in-my-home-directory/m-p/3818647#M24124</guid>
      <dc:creator>spex</dc:creator>
      <dc:date>2006-07-06T11:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: ss -u not putting me in my /home/ directory.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ss-u-not-putting-me-in-my-home-directory/m-p/3818648#M24125</link>
      <description>No... ss a link to sudoshell.  ss -u &lt;USERNAME&gt; logs you in as a specific user and should execute that user's profile.  The problem is, I'm not being switched to the user's home directory, therefore, the profile is not being executed.&lt;/USERNAME&gt;</description>
      <pubDate>Thu, 06 Jul 2006 12:34:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ss-u-not-putting-me-in-my-home-directory/m-p/3818648#M24125</guid>
      <dc:creator>joseph wholey</dc:creator>
      <dc:date>2006-07-06T12:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: ss -u not putting me in my /home/ directory.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ss-u-not-putting-me-in-my-home-directory/m-p/3818649#M24126</link>
      <description>Joseph,&lt;BR /&gt;&lt;BR /&gt;Check out what's new in sudoscript 2.1.2:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://sourceforge.net/project/shownotes.php?release_id=284854&amp;amp;group_id=50616" target="_blank"&gt;http://sourceforge.net/project/shownotes.php?release_id=284854&amp;amp;group_id=50616&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;New Option to sudoshell&lt;BR /&gt;=======================&lt;BR /&gt;The"-" option has been added to ss/sudoshell. This sets the $HOME&lt;BR /&gt;environment variable to that of the user ss will become. This causes&lt;BR /&gt;the shall (bash, at least) to load the target user's environment instead&lt;BR /&gt;of the calling user's.&lt;BR /&gt;&lt;BR /&gt;Seems like what you need.&lt;BR /&gt;&lt;BR /&gt;PCS</description>
      <pubDate>Thu, 06 Jul 2006 12:38:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ss-u-not-putting-me-in-my-home-directory/m-p/3818649#M24126</guid>
      <dc:creator>spex</dc:creator>
      <dc:date>2006-07-06T12:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: ss -u not putting me in my /home/ directory.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ss-u-not-putting-me-in-my-home-directory/m-p/3818650#M24127</link>
      <description>Yes... that's exactly what I'm trying to accomplish, however, it's not working... I'm issuing "ss -u &lt;UNAME&gt;" and expecting to be put in the /home directory of the target (or the uname I"m ss'ing to).  Problem is, it's not putting me there.&lt;/UNAME&gt;</description>
      <pubDate>Thu, 06 Jul 2006 14:01:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ss-u-not-putting-me-in-my-home-directory/m-p/3818650#M24127</guid>
      <dc:creator>joseph wholey</dc:creator>
      <dc:date>2006-07-06T14:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: ss -u not putting me in my /home/ directory.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ss-u-not-putting-me-in-my-home-directory/m-p/3818651#M24128</link>
      <description>But are you using version 2.1.2 and issuing 'ss -u &lt;USERNAME&gt; -' (notice the extra '-')?&lt;BR /&gt;&lt;BR /&gt;PCS&lt;/USERNAME&gt;</description>
      <pubDate>Thu, 06 Jul 2006 14:48:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ss-u-not-putting-me-in-my-home-directory/m-p/3818651#M24128</guid>
      <dc:creator>spex</dc:creator>
      <dc:date>2006-07-06T14:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: ss -u not putting me in my /home/ directory.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ss-u-not-putting-me-in-my-home-directory/m-p/3818652#M24129</link>
      <description>hmmm... interesting, I tried it, but that prompts me for a password.  I'll have to do a little further investigation. thx.</description>
      <pubDate>Thu, 06 Jul 2006 15:02:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ss-u-not-putting-me-in-my-home-directory/m-p/3818652#M24129</guid>
      <dc:creator>joseph wholey</dc:creator>
      <dc:date>2006-07-06T15:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: ss -u not putting me in my /home/ directory.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ss-u-not-putting-me-in-my-home-directory/m-p/3818653#M24130</link>
      <description>Running out of steam on this one... here's my sudoers file, followed by my /etc/passwd, followed by /etc/group:&lt;BR /&gt;&lt;BR /&gt;From user wasadmin, shouldn't I be able to "ss -u was_fps" and end up in was_fps' home directory??????  Any help would be greatly appreciated. &lt;BR /&gt;&lt;BR /&gt;************************************&lt;BR /&gt;sudoers: &lt;BR /&gt;root    ALL=(ALL) ALL&lt;BR /&gt;wasadmin rhel002=(was_fps) NOPASSWD: /usr/bin/ss -u was_fps&lt;BR /&gt;************************************&lt;BR /&gt;/etc/passwd:&lt;BR /&gt;wasadmin:x:200:200::/wasadmin:/bin/bash&lt;BR /&gt;was_fps:x:201:201::/wasadmin/was_fps:/bin/bash&lt;BR /&gt;************************************&lt;BR /&gt;/etc/group:&lt;BR /&gt;wasadmin:x:200:was_fps&lt;BR /&gt;was_fps:x:201:&lt;BR /&gt;ssers:x:97:wasadmin,was_fps&lt;BR /&gt;sslogin:x:500:wasadmin,was_fps</description>
      <pubDate>Fri, 07 Jul 2006 14:23:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ss-u-not-putting-me-in-my-home-directory/m-p/3818653#M24130</guid>
      <dc:creator>joseph wholey</dc:creator>
      <dc:date>2006-07-07T14:23:08Z</dc:date>
    </item>
  </channel>
</rss>

