feat: expose passwords and drop autologin#2005
Merged
imobachgs merged 8 commits intorework-usersfrom Feb 18, 2025
Merged
Conversation
a37f69e to
3777730
Compare
* Additionally, group the root data in a single D-Bus property.
f1360bb to
87c7b43
Compare
87c7b43 to
7f1d27c
Compare
7f1d27c to
88e6c49
Compare
ancorgs
reviewed
Feb 18, 2025
imobachgs
added a commit
that referenced
this pull request
Feb 18, 2025
Apart from **eliminating the step introduced in #1821 to force users to enter a password for root**, this PR significantly revamps the interface of the Authentication page (formerly the Users page) to reduce its complexity and make interactions more intuitive. Summarizing a lot, the key changes include improving the first user form and moving the root user authentication methods to a new form. This allows users to easily set or clear authentication methods without having to navigate complex actions. I.e., tables and most dynamic actions have been eliminated, making the page much easier to interact with and enabling users to quickly find the options they need. | Authentication page | Root user form | |-|-| | |  | However, there are still areas for improvement: * Enhance validations and the underlying code that supports them. * Decouple the input with suggestions from the FirstUserForm (move it to the core namespace). * Use a simpler widget/input for adding public SSH keys. While the current one works, it is somewhat complex and not well-suited for these form’s use cases. * Enable the ability to add more than one public SSH key. ## Note for reviewers > [!WARNING] > After commit c7c424c this PR needs changes done at #2005 (not merged at the time of writing). Please jump into the branch and use the interface as part of the review process. If interested in the details, check commits. --- Related to https://trello.com/c/7ewFvR0X (internal link)
imobachgs
added a commit
that referenced
this pull request
Feb 18, 2025
Add changes from #2005 to the changes files.
Merged
imobachgs
added a commit
that referenced
this pull request
Feb 26, 2025
Prepare for releasing Agama 12: * #1858 * #1887 * #1890 * #1892 * #1893 * #1894 * #1896 * #1898 * #1899 * #1900 * #1901 * #1906 * #1908 * #1909 * #1910 * #1911 * #1912 * #1914 * #1915 * #1917 * #1919 * #1920 * #1921 * #1922 * #1923 * #1924 * #1926 * #1927 * #1928 * #1929 * #1930 * #1931 * #1932 * #1933 * #1934 * #1935 * #1936 * #1937 * #1938 * #1939 * #1942 * #1943 * #1945 * #1948 * #1949 * #1952 * #1953 * #1954 * #1955 * #1957 * #1958 * #1959 * #1961 * #1963 * #1964 * #1967 * #1969 * #1970 * #1971 * #1972 * #1973 * #1974 * #1975 * #1976 * #1977 * #1979 * #1980 * #1981 * #1982 * #1984 * #1986 * #1987 * #1988 * #1990 * #1991 * #1992 * #1993 * #1995 * #1996 * #1997 * #1999 * #2000 * #2001 * #2002 * #2003 * #2004 * #2005 * #2006 * #2007 * #2008 * #2009 * #2010 * #2011 * #2012 * #2013 * #2014 * #2015 * #2016 * #2017 * #2019 * #2021 * #2022 * #2025 * #2027 * #2029 * #2030 * #2031 * #2033 * #2034 * #2035 * #2036 * #2037 * #2038 * #2039 * #2040 * #2045 * #2046 * #2050 * #2053 * #2054 * #2055 * #2056 * #2058 * #2060 * #2061 * #2062 * #2063 * #2064 * #2066 * #2067 * #2068 * #2069 * #2070 * #2071 * #2072 * #2073 * #2075 * #2076 * #2080 * #2082 * #2083
bmwiedemann
pushed a commit
to bmwiedemann/openSUSE
that referenced
this pull request
Feb 26, 2025
https://build.opensuse.org/request/show/1248595 by user IGonzalezSosa + dimstar_suse - Version 12 - Add the missing shebang line to the agama-scripts.sh shell script (gh#agama-project/agama#2077). - Save logs after running post installation scripts (gh#agama-project/agama#2078). - Keep the encoding when storing the locale (gh#agama-project/agama#2062). - Extend storage model schema to support global encryption (gh#agama-project/agama#2031). - Introduce the storage model to support the new storage user interface (gh#agama-project/agama#2033) - Expose root and first user passwords (gh#agama-project/agama#2005). - Remove support for auto-login. - Added reboot command to the CLI (gh#agama-project/agama#1970) - Set console and X11 keymaps when changing the installer keymap (bsc#1236174). - Use the "dashed" form of the keymap identifier when calling systemd-firstboo
This was referenced Mar 11, 2025
imobachgs
added a commit
that referenced
this pull request
Jun 4, 2025
Drop the "autologin" schema from the property because it was dropped a few months ago. See #2005.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The users API does not expose the passwords. Initially, we implemented like that for security
reasons, but giving that the password is send over an authenticated HTTPS connection, we do not
think it is relevant. After all, you are sending/receiving the password using the same channel.
Moreover, the D-Bus API is kind of inconsistent. The "first user" is exposed as a single "object",
while the root data are separate D-Bus properties.
Solution
About the D-Bus API, this PR puts all the root information together using a
RootUserproperty.Ideally, we should have a
SetRootUsermethod too, but it will have to wait a bit.Testing