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
206491d0
Commit
206491d0
authored
Oct 14, 2015
by
Michael Shigorin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x11-autologin: nopasswdlogin group for sddm too
See also this somewhat related conversation (in Russian):
https://forum.altlinux.org/index.php?topic=28619.345
parent
b31006e2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
40-x11-autologin
....in/x11-autologin/rootfs/image-scripts.d/40-x11-autologin
+3
-0
No files found.
features.in/x11-autologin/rootfs/image-scripts.d/40-x11-autologin
View file @
206491d0
...
...
@@ -109,6 +109,8 @@ SDDM_RC=/etc/X11/sddm/sddm.conf
SDDM_SESSION
=
if
[
-f
"
$SDDM_RC
"
]
;
then
backup
"
$SDDM_RC
"
backup
"/etc/group"
add_nopasswdlogin_group sddm
||
:
sed
-i
"s,^User=
$,
&
$USER
,"
"
$SDDM_RC
"
if
[
-f
/usr/share/xsessions/lxqt.desktop
]
;
then
SDDM_SESSION
=
LXQt
...
...
@@ -119,6 +121,7 @@ if [ -f "$SDDM_RC" ]; then
sed
-i
"s,^Session=
$,
&
$SDDM_SESSION
,"
"
$SDDM_RC
"
fi
restore_later
"
$SDDM_RC
"
restore_later
"/etc/group"
fi
## nodm autologin (the last since the most intrusive)
...
...
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