Features/SystemConfigProposalVConsole

= System-Config Propsal =

[[TableOfContents(2)]

Proposal
Rework (not a total rewrite) system-config tools use a common virtual console which abstracts away local and remote console usage. Anticipated benefits:


 * transparently handle local or remote console (via ssh)
 * allow configuration of remote services
 * possible allow for OS independent usage (example: system-config-httpd could be used from Windows XP)
 * allow for those who prefer not to run server tools with a X server installed to make use of the system-config tools
 * allows for centrally logging system-config actions (audit trail)
 * standardize routines/functionality commonly used by system-config tools

Requirements

 * handle both local and remote (via ssh) connections
 * allow running of super commands via 'root login', 'su' or 'sudo'
 * not be dependent on any non standard python modules or non LSB tools
 * implemented in Python
 * implementation should be platform independent

Possible Members
very incomplete

Methods

 * hasTUI, hasCurses, hasGUI
 * openFile, closeFile, getFile, closeFile
 * doCommand, doCommandWait
 * copyFile, moveFile
 * copyDir, moveDir
 * connect, disconnect

Properties

 * host
 * status
 * user
 * userpassword
 * superuser
 * superuserpassword
 * method (local|ssh + login|su|sudo)

Acknowledgment

 * idea originally expressed here by ArthurPemberton