403Webshell
Server IP : 61.19.30.66  /  Your IP : 216.73.216.15
Web Server : Apache/2.2.22 (Ubuntu)
System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64
User : www-data ( 33)
PHP Version : 5.3.10-1ubuntu3.48
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : ON  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/python2.7/dist-packages/landscape/manager/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.7/dist-packages/landscape/manager/config.pyc

}9Rc@sdddlZddlmZddlmZdddddd	d
dgZdefd
YZdS(iN(t
Configuration(t	ALL_USERSt
ProcessKillertPackageManagertUserManagertShutdownManagert
AptSourcestHardwareInfot
KeystoneTokent	HAServicetManagerConfigurationcBs>eZdZdZedZdZedZRS(s4Specialized configuration for the Landscape Manager.cCsjtt|j}|jddddddd|jddddd	|jd
dddd|S(
sh
        Specialize L{Configuration.make_parser}, adding many
        manager-specific options.
        s--manager-pluginstmetavartPLUGIN_LISTthelpsJComma-delimited list of manager plugins to use. ALL means use all plugins.tdefaulttALLs--include-manager-pluginssOComma-delimited list of manager plugins to enable, in addition to the defaults.s--script-userstUSERSs\Comma-delimited list of usernames that scripts may be run as. Default is to allow all users.(tsuperR
tmake_parsert
add_option(tselftparser((s</usr/lib/python2.7/dist-packages/landscape/manager/config.pyRscCs|g}|jdkrt}n|jr=|jjd}n|jr_||jjd7}ng|D]}|j^qfS(NRt,(tmanager_pluginstALL_PLUGINStsplittinclude_manager_pluginststrip(Rtplugin_namestx((s</usr/lib/python2.7/dist-packages/landscape/manager/config.pytplugin_factories#s
		cCsR|jsdgS|jjdkr)tSg|jjdD]}|j^q<S(s:
        Based on the C{script_users} configuration value, return the users that
        should be allowed to run scripts.

        If the value is "ALL", then
        L{landscape.manager.scriptexecution.ALL_USERS} will be returned.  If
        there is no specified value, then C{nobody} will be allowed.
        tnobodyRR(tscript_usersRRR(RR((s</usr/lib/python2.7/dist-packages/landscape/manager/config.pytget_allowed_script_users.s
		cCstjj|jdS(Nsmanager.database(tostpathtjoint	data_path(R((s</usr/lib/python2.7/dist-packages/landscape/manager/config.pytstore_filename=s(t__name__t
__module__t__doc__RtpropertyRR!R&(((s</usr/lib/python2.7/dist-packages/landscape/manager/config.pyR
s
		(R"tlandscape.deploymentRt!landscape.manager.scriptexecutionRRR
(((s</usr/lib/python2.7/dist-packages/landscape/manager/config.pyt<module>s		

Youez - 2016 - github.com/yon3zu
LinuXploit