I have to do the same as before: change the “category” on a whole bunch of nodes.
NB the Developer Manual has some typos, where it makes it look like you can specify categories as strings of their names, e.g. cluster.get_by_type('Node')
How-to's and technical news about Linux and open computing, with a sprinkling of Python.
import csv with open('myfile.tsv', 'r', encoding='utf-16le') as cf: cr = csv.DictReader(cf, dialect='excel-tab') print(cr.fieldnames) for row in cr: print(row)
['\ufeff"Last Name"', 'First Name']
OrderedDict([('\ufeff"Last Name"', 'Doe'), ('First Name', 'Alice')])
cr = csv.DictReader(cf, dialect='excel-tab') cr.fieldnames[0] = 'Last Name'
OrderedDict([('Last Name', 'Doe'), ('First Name', 'Alice')])
WARNING: Your password has expired.And then it automatically logs you out, which is expected behavior.
You must change your password now and login again!
Changing password for foouser.
Current password:
uri ldaps://10.9.8.7/This should match the URI specified in /etc/openldap/ldap.conf
URI ldaps://10.9.8.7/And the setting in /etc/sssd/sssd.conf
[domain/default]
...
ldap_uri = ldaps://10.9.8.7/
...
I RTFMed: "sha512" is not an option for pam_password. This is to hash the password locally, before passing on to the LDAP server. The default is "clear", i.e. transmit the password in the clear to the LDAP server, and assume the LDAP server will hash if necessary. Another option is "crypt" which uses crypt(3).pam_password sha512
pam_password cryptHowever, there does not seem to be a way to specify which hash algorithm is to be used.
passwd: files sss
shadow: files sss
group: files sss
18.1. Monitor configuration via cn=config(5)
This section has yet to be written.