Skip to content

Commit 992e4b2

Browse files
Merge branch 'main' of github.com:abcdesktopio/docs
2 parents 652fa16 + 8ec7622 commit 992e4b2

File tree

1 file changed

+14
-26
lines changed

1 file changed

+14
-26
lines changed

opsdocs/docs/4.0/setup/changelog.md

Lines changed: 14 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3,43 +3,31 @@
33

44
The prominent changes for this release are:
55

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.
77
* 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' ]
910
* [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.
1012

13+
## Compatibily support
1114

15+
The abcdesktop applications in format `3.X` (including 3.4) are compatible with abcdesktop application in format `4.0`.
1216

13-
## Compatibily support
17+
The `4.0` format includes a change for the files `/etc/shadow` and `/etc/gshadow`.
1418

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
1621

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.
1825

1926
```
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
4028
```
4129

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 )
4331

4432
```
4533
# Create links for local acccounts

0 commit comments

Comments
 (0)