|
3 | 3 |
|
4 | 4 | The prominent changes for this release are: |
5 | 5 |
|
6 | | -* The native KDE Plasma inteface with [Win11OS](https://github.com/yeyushengfan258/Win11OS-kde) theme. This change removes the HTML dock and search text area. |
| 6 | +* The native KDE Plasma inteface with [Win11OS](https://github.com/yeyushengfan258/Win11OS-kde) theme. KDE Plasmashell application replaces the HTML dock and search text area. |
7 | 7 | * Supports hardware accelerated OpenGL and Vulkan on drivers that supports GBM (FOSS drivers and newer Nvidia drivers) with [TigerVNC](https://github.com/TigerVNC/) 1.15.0 |
8 | | -* [abcdesktop.yaml](https://github.com/abcdesktopio/conf/blob/main/kubernetes/abcdesktop-4.0.yaml) file include ConfigMap to customize user's local account files [ '/etc/passwd', '/etc/group', '/etc/shadow', '/etc/gshadow' ]. change file permissions to [ '/etc/shadow', '/etc/gshadow' ] |
| 8 | +* The registry is hosted by gitHub container registry ghcr.io. All images start this this prefix ```ghcr.io/abcdesktopio```. The [abcdesktop.yaml](https://github.com/abcdesktopio/conf/blob/main/kubernetes/abcdesktop-4.0.yaml) yaml file and [od.config](https://github.com/abcdesktopio/conf/blob/main/reference/od.config.4.0) are updated with the prefix. |
| 9 | +* [abcdesktop.yaml](https://github.com/abcdesktopio/conf/blob/main/kubernetes/abcdesktop-4.0.yaml) file include ConfigMap to customize user's local account files [ '/etc/passwd', '/etc/group', '/etc/shadow', '/etc/gshadow' ] |
9 | 10 | * [network policies](https://github.com/abcdesktopio/conf/blob/main/kubernetes/netpol-default-4.0.yaml) support Pod application |
| 11 | +* [oc.user](https://raw.githubusercontent.com/abcdesktopio/oc.user/refs/heads/4.0/Dockerfile.ubuntu) image uses ```ubuntu:24.04``` as based image. |
10 | 12 |
|
| 13 | +## Compatibily support |
11 | 14 |
|
| 15 | +The abcdesktop applications in format `3.X` (including 3.4) are compatible with abcdesktop application in format `4.0`. |
12 | 16 |
|
13 | | -## Compatibily support |
| 17 | +The `4.0` format includes a change for the files `/etc/shadow` and `/etc/gshadow`. |
14 | 18 |
|
15 | | -3.4 abcdesktop application format are compatible with 4.0 abcdesktop application. |
| 19 | +- /etc/shadow -> /etc/localaccount.shadow/shadow |
| 20 | +- /etc/gshadow -> /etc/localaccount.shadow/gshadow |
16 | 21 |
|
17 | | -From oc.user.4.0 Dockerfile |
| 22 | +The symbolic links are linked to the `/etc/localaccount.shadow` volume. Some commands or programs (e.g., su, passwd, adduser and others) access to the shadow file. |
| 23 | + |
| 24 | +If your application need an access to the file '/etc/shadow' or the file '/etc/gshadow', then you have to add this line to your Dockerfile. |
18 | 25 |
|
19 | 26 | ``` |
20 | | -# change passwd shadow group gshadow files |
21 | | -# create a symlink for each files |
22 | | -# target are provisioned in dedicated volumes to support ReadOnly, |
23 | | -# we can't update files /etc/passwd /etc/group /etc/shadow /etc/gshadow |
24 | | -# Note: SubPath is not supported in ephemeral |
25 | | -containers |
26 | | -# Default value : |
27 | | -# ABCDESKTOP_LOCALACCOUNT_DIR = /etc/localaccount |
28 | | -
|
29 | | -RUN mkdir -p ${ABCDESKTOP_LOCALACCOUNT_DIR} ${ABCDESKTOP_LOCALACCOUNT_DIR}.shadow && \ |
30 | | - for f in passwd group ; do \ |
31 | | - cp /etc/${f} ${ABCDESKTOP_LOCALACCOUNT_DIR} ; \ |
32 | | - rm -f /etc/${f}; \ |
33 | | - ln -s ${ABCDESKTOP_LOCALACCOUNT_DIR}/${f} /etc/${f}; \ |
34 | | - done && \ |
35 | | - for f in shadow gshadow ; do \ |
36 | | - cp /etc/${f} ${ABCDESKTOP_LOCALACCOUNT_DIR}.shadow ; \ |
37 | | - rm -f /etc/${f}; \ |
38 | | - ln -s ${ABCDESKTOP_LOCALACCOUNT_DIR}.shadow/${f} /etc/${f}; \ |
39 | | - done |
| 27 | +RUN for f in shadow gshadow ; do if [ -f /etc/$f ] ; then cp /etc/$f /etc/localaccount.shadow; rm -f /etc/$f; ln -s /etc/localaccount.shadow/$f /etc/$f; fi; done |
40 | 28 | ``` |
41 | 29 |
|
42 | | -If your application need a access to file '/etc/shadow' or '/etc/gshadow', you have to add this line to your Dockerfile |
| 30 | +The complete lines for a users support with ( passwd, group ) and ( shadow, gshadow ) |
43 | 31 |
|
44 | 32 | ``` |
45 | 33 | # Create links for local acccounts |
|
0 commit comments