Hello all,
I have an issue I could not fix by myself so far:
We have a custom Fedora build. After the base Anaconda install, Initial Setup runs with two spokes, one with a custom add-on, and the user creation spoke.
Our issues are with the default user creation spoke; we should both enable by default the 'Make this user administrator' checkbox and make the user creation mandatory, so that the setup may not be exited without creating a user. I've even tried disabling altogether the user creation spoke to be able to run my own user creation add-on. I've had no luck so far.
What I've tried until now:
To enable by default 'Make this user administrator' I have:
* modified the 'c_admin' object in user.glade to enable it by default
* tested separately the 'c_admin' user.glade object in Glade Interface Designer (it works, as expected)
* tested the 'c_admin' modification on 'c_usepassword' (to isolate the issue; the same setting for one object does not work for the other)
To make the original user creation spoke in Initial Setup mandatory I have:
* modified the '_checkUsername' method from user.py, class 'UserSpoke' (Anaconda sources)
All the modifications were performed after Anaconda's first stage and before running Initial Setup.
Do you have any ideas about this and how should I proceed?
Thank you, your help is greatly appreciated!
Cristian Stan
I have an issue I could not fix by myself so far:
We have a custom Fedora build. After the base Anaconda install, Initial Setup runs with two spokes, one with a custom add-on, and the user creation spoke.
Our issues are with the default user creation spoke; we should both enable by default the 'Make this user administrator' checkbox and make the user creation mandatory, so that the setup may not be exited without creating a user. I've even tried disabling altogether the user creation spoke to be able to run my own user creation add-on. I've had no luck so far.
What I've tried until now:
To enable by default 'Make this user administrator' I have:
* modified the 'c_admin' object in user.glade to enable it by default
* tested separately the 'c_admin' user.glade object in Glade Interface Designer (it works, as expected)
* tested the 'c_admin' modification on 'c_usepassword' (to isolate the issue; the same setting for one object does not work for the other)
To make the original user creation spoke in Initial Setup mandatory I have:
* modified the '_checkUsername' method from user.py, class 'UserSpoke' (Anaconda sources)
All the modifications were performed after Anaconda's first stage and before running Initial Setup.
Do you have any ideas about this and how should I proceed?
Thank you, your help is greatly appreciated!
Cristian Stan
_______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list