[BusyBox 0000915]: bbox login doesn't chown/chmod /dev/vcs[a]NN devices on linux. Util-linux one does.

bugs at busybox.net bugs at busybox.net
Sat Sep 30 20:21:34 UTC 2006


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=915 
====================================================================== 
Reported By:                vda2
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   915
Category:                   Documentation
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 fixed
Fixed in Version:           1.2.x
====================================================================== 
Date Submitted:             06-20-2006 08:54 PDT
Last Modified:              09-30-2006 13:21 PDT
====================================================================== 
Summary:                    bbox login doesn't chown/chmod /dev/vcs[a]NN devices
on linux. Util-linux one does.
Description: 
The result is that Midnight Commander is not able to toggle panels on Linux
virtual consoles.

I suggest not coding that functionality into login, but providing an
option to run custom script after user is authenticated, but before setuid
to $uid is done.

This way complexity of all imaginable custom needs (Linux's /dev/vcs[a]s
are an example of a custom hack needed for a particular platform) will be
kept separate.

The option may take form of a magic env variable, like
LOGIN_PRESUID_SCRIPT=xxx.

====================================================================== 

---------------------------------------------------------------------- 
 vda - 06-20-06 09:16  
---------------------------------------------------------------------- 
...separate from login.c code 

---------------------------------------------------------------------- 
 vda - 09-29-06 14:44  
---------------------------------------------------------------------- 
Using suitable LOGIN_PRE_SUID_SCRIPT this can be handled. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-20-06 08:54  vda2           New Issue                                    
06-20-06 08:54  vda2           Status                   new => assigned     
06-20-06 08:54  vda2           Assigned To               => BusyBox         
06-20-06 09:15  vda            Issue Monitored: vda                         
06-20-06 09:16  vda            Note Added: 0001433                          
09-29-06 14:44  vda            Status                   assigned => resolved
09-29-06 14:44  vda            Fixed in Version          => 1.2.x           
09-29-06 14:44  vda            Resolution               open => fixed       
09-29-06 14:44  vda            Note Added: 0001656                          
09-30-06 13:21  vda            Status                   resolved => closed  
======================================================================




More information about the busybox-cvs mailing list