<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>479</bug_id>
          
          <creation_ts>2010-10-17 03:38:02 +0000</creation_ts>
          <short_desc>&quot;cannot execute bin/sh&quot; when changing user in lsb image</short_desc>
          <delta_ts>2010-12-21 06:07:16 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>0.9</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>0.9 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Kevin Tian">kevin.tian</reporter>
          <assigned_to name="Kevin Tian">kevin.tian</assigned_to>
          <cc>dongxiao.xu</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          <cf_verified>Program Management</cf_verified>
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>10617</commentid>
    <comment_count>0</comment_count>
    <who name="Kevin Tian">kevin.tian</who>
    <bug_when>2010-10-17 03:38:02 +0000</bug_when>
    <thetext>First create a new user with useradd/passwd, and then:
  - either &quot;sudo username&quot;
  - or exit from current session and relogin with new username

&quot;Cannot execute bin/sh: Permission denied&quot; error pops up.

A quick check is that pam config files for shadow package look not installed, which may be the reason</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10633</commentid>
    <comment_count>1</comment_count>
    <who name="Dongxiao Xu">dongxiao.xu</who>
    <bug_when>2010-10-18 00:28:07 +0000</bug_when>
    <thetext>Kevin, is this issue related with the wrong permission set? See bug 463.
I met the same issue (sudo username doesn&apos;t work) when debugging the wpa_supplicant issue, however I didn&apos;t verify whether it works after pseudo is upgrade and BUG 463 got fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10634</commentid>
    <comment_count>2</comment_count>
    <who name="Kevin Tian">kevin.tian</who>
    <bug_when>2010-10-18 00:33:53 +0000</bug_when>
    <thetext>exactly, some directories are also marded as &quot;drwx------&quot; only in my side. Thanks for the hint, and then I&apos;ll verify them in new rc3 image</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10652</commentid>
    <comment_count>3</comment_count>
    <who name="Kevin Tian">kevin.tian</who>
    <bug_when>2010-10-18 20:26:11 +0000</bug_when>
    <thetext>this has been fixed by fa914040550fdc8fd603eefad1f03d44b13fc611</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10653</commentid>
    <comment_count>4</comment_count>
    <who name="Kevin Tian">kevin.tian</who>
    <bug_when>2010-10-18 20:26:53 +0000</bug_when>
    <thetext>verified on latest RC3 arm lsb image</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>