1 2 3 4 5 6 7 8 9 | cobbler system add --name=desktop-xfce-1 \ --profile=Fedora17-xfce \ --mac=52:54:00:b8:5e:8f \ --ip-address=192.168.122.10 cobbler system add --name=desktop-gnome-1 \ --profile=Fedora17-gnome \ --mac=52:54:00:88:f3:44 \ --ip-address=192.168.122.11 cobbler system report |
1 2 3 4 5 6 7 8 9 10 11 | cobbler system edit --name=desktop-xfce-1 \ --power-type=bladecenter \ --power-id=2 \ --power-user=admin_user \ --power-pass=admin_password \ --power-address=192.168.122.2 cobbler system edit --name=desktop-gnome-1 \ --power-type=rsa \ --power-user=rsa_user \ --power-pass=rsa_password \ --power-address=192.168.122.3 |
1 | cobbler sync |
1 | cobbler system reboot --name=desktop-xfce-1 |
1 | yum -y install cobbler-web |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | # authentication: # what users can log into the WebUI and Read-Write XMLRPC? # choices: # authn_denyall -- no one (default) # authn_configfile -- use /etc/cobbler/users.digest (for basic setups) # authn_passthru -- ask Apache to handle it (used for kerberos) # authn_ldap -- authenticate against LDAP # authn_spacewalk -- ask Spacewalk/Satellite (experimental) # authn_pam -- use PAM facilities # authn_testing -- username/password is always testing/testing (debug) # (user supplied) -- you may write your own module # WARNING: this is a security setting, do not choose an option blindly. # for more information: # https://github.com/cobbler/cobbler/wiki/Cobbler-web-interface # https://github.com/cobbler/cobbler/wiki/Security-overview # https://github.com/cobbler/cobbler/wiki/Kerberos # https://github.com/cobbler/cobbler/wiki/Ldap [authentication] module = authn_denyall # authorization: # once a user has been cleared by the WebUI/XMLRPC, what can they do? # choices: # authz_allowall -- full access for all authneticated users (default) # authz_ownership -- use users.conf, but add object ownership semantics # (user supplied) -- you may write your own module # WARNING: this is a security setting do not choose an option blindly. # If you want to further restrict cobbler with ACLs for various groups, # pick authz_ownership. authz_allowall does not support ACLs. configfile # does but does not support object ownership which is useful as an additional # layer of control. # for more information: # https://github.com/cobbler/cobbler/wiki/Cobbler-web-interface # https://github.com/cobbler/cobbler/wiki/Security-overview # https://github.com/cobbler/cobbler/wiki/Web-authorization [authorization] module = authz_allowall |
1 2 3 4 5 6 | [authentication] module = authn_pam [authorization] module = authz_ownership |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | # Cobbler WebUI / Web Services authorization config file # # NOTICE: # this file is only used when /etc/cobbler/modules.conf # specifies an authorization mode of either: # # (A) authz_configfile # (B) authz_ownership # # For (A), any user in this file, in any group, are allowed # full access to any object in cobbler configuration. # # For (B), users in the "admins" group are allowed full access # to any object, otherwise users can only edit an object if # their username/group is listed as an owner of that object. If a # user is not listed in this file they will have no access. # # cobbler command line example: # # cobbler system edit --name=server1 --owner=dbas,mac,pete,jack # # NOTE: yes, you do need the equal sign after the names. # don't remove that part. It's reserved for future use. [admins] myuser = "" |
1 2 | service cobblerd restart service httpd restart |
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |