title: "basename: missing operand" on su command
body: <p>I've added superuser <code>sroot</code> with the following command.</p>
  
  <pre><code>useradd -o -r -c "service root" -g 0 -u 0 -m -d /root -s /bin/bash sroot
  </code></pre>
  
  <p>When I try to switch to that user I get the following:</p>
  
  <pre><code>[admin@machine ~]$ su - sroot
  Password:
  TERM=[xterm-r6]?
  basename: missing operand
  Try `basename --help' for more information.
  </code></pre>
  
  <p><code>whoami</code> shows that I'm <code>root</code> now but commands that requires root access still cannot be executed.
  When I login under usual <code>root</code> everything works fine. </p>
  
  <pre><code>[admin@machine ~]$ uname -a
  Linux &lt;myhostname&gt; 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44 EDT 2010 i686 i686 i386 GNU/Linux
  </code></pre>
  
  <p>Thanks in advance!</p>