se_synaptic(8) run a Debian package system programs in the proper security context

Other Alias

se_dpkg, se_apt-get, se_aptitude, se_dpkg-reconfigure, se_dselect

SYNOPSIS

se_dpkg [ <<dpkg ARGS>> ... ]
se_apt-get [ <<apt-get ARGS>> ... ]
se_aptitude [ <<aptitude ARGS>> ... ]
se_dpkg-reconfigure [ <<dpkg-reconfigure ARGS>> ... ]
se_dselect [ <<dselect ARGS>> ... ]
se_synaptic [ <<synaptic ARGS>> ... ]

DESCRIPTION

These programs are all symbolic links to a simple wrapper script that uses run_init to run actually run the corresponding program after setting up the proper context. run_init acquires a new Psuedo terminal, forks a child process that binds to the pseudo terminal, forks the program (dpkg,apt-get,aptitude,synaptic,dselect,ordpkg-reconfigure) that the user actually needs to run, and then sits around and connects the physical terminal it was invoked upon with the psuedo terminal, passing keyboard into to the child process, and passing the output of the child process to the physical terminal.

It sets up the psuedo terminal properly based on the physical terminal attributes, and then sets the user's terminal to RAW mode, taking care to reset it on exit.

AUTHOR

This manual page was written by Manoj Srivastava <[email protected]>, for the Debian GNU/Linux system.