Le Sun, 27 Mar 2011 17:26:46 +0100
Denys Vlasenko <[email protected]> a écrit:

> > > Please post your .config
> > 
> > Sorry, this is the same as the one I've posted first. I
> > nevertheless attach the last one I've tested with, just to be sure.
> 
> Can't reproduce with your .config:
> 
> # ./ash
> /tmp # su -
> ...
> hostname:~# exit
> logout
> /tmp #
> 
> 
> Apparently, your /bin/su is a symlink to busybox which doesn't have
> su applet enabled.

Impossible, as I install busybox directly as /bin/ash (no symlink),
the su is the one of my Slackware (shadow-4.1.4.2). Are you sure here
the user uses the ./ash exec as login shell? Below is the test I do:

 # useradd unibug -s /bin/ash -d /tmp  -p ""
 # su - unibug
  su: applet not found

Ok... to be sure I made a diff between the two configs I posted in
this thread. I assumed "make oldconfig" was prompting for new options
and scripted my bbx build process around this wrong idea. So, some
extra-options have been quietly enabled. Since I've found and stripped
them, there is no more problem.

Further investigation shows the problem re-appears when the pstree or
the pwdx applets are enabled. Weird.

Just in case, I attach the last config I used. If you succeed in
reproducing my bug, try to disable the pwdx applet, it should fix it.

@+
Seb.

Attachment: config.gz
Description: Binary data

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to