Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Anton Palgunov
mkimage-profiles
Commits
ad6d71df
Commit
ad6d71df
authored
Aug 08, 2024
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deflogin: add workaround for fix add user, when fwupd is installed
Link:
https://lists.altlinux.org/pipermail/devel/2024-June/218787.html
parent
14b9ca06
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
50-users
features.in/deflogin/rootfs/image-scripts.d/50-users
+4
-0
No files found.
features.in/deflogin/rootfs/image-scripts.d/50-users
View file @
ad6d71df
...
@@ -24,6 +24,10 @@ set_sudo() {
...
@@ -24,6 +24,10 @@ set_sudo() {
echo
"
$1
ALL=(ALL) ALL"
>>
"/etc/sudoers"
echo
"
$1
ALL=(ALL) ALL"
>>
"/etc/sudoers"
}
}
# workarround for sysusers
# Link: https://lists.altlinux.org/pipermail/devel/2024-June/218787.html
chmod
u+w /etc/gshadow
{
,-
}
# chpasswd is intended for batch use but that would be less comprehensible
# chpasswd is intended for batch use but that would be less comprehensible
[
-z
"
$GLOBAL_USERS
"
]
||
[
-z
"
$GLOBAL_USERS
"
]
||
echo
"
$GLOBAL_USERS
"
\
echo
"
$GLOBAL_USERS
"
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment