Opened 2 weeks ago
Closed 2 weeks ago
#5786 closed enhancement (wontfix)
enable loadkeys for normal users
Reported by: | thomas | Owned by: | lfs-book |
---|---|---|---|
Priority: | normal | Milestone: | 12.5 |
Component: | Book | Version: | git |
Severity: | normal | Keywords: | |
Cc: |
Description (last modified by )
loadkeys (of package 'kbd') is installed with perms of 0755. The operation loadkeys does, requires root permission. As a consequence, an ordinary user cannot set keyboard layout in terminal without having sudo/su permissions.
Changing the perms of loadkeys to 4755 would make loadkeys available for all users, but setting the setuid bit is sometimes considered as a security risk. Do we follow that one or can we change kbd from
make install
to
make install chmod 4755 /usr/bin/loadkeys
in order to enable individual users to select their kbd layout?
Change History (5)
comment:1 by , 2 weeks ago
Milestone: | 12.4 → 12.5 |
---|
comment:2 by , 2 weeks ago
follow-up: 5 comment:4 by , 2 weeks ago
Disabling non-privileged user from using loadkey seems a intentional change: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0b360adbdb54d5b98b78d57ba0916bc4b8871968.
Thus to me we should not demonstrate this to the users.
comment:5 by , 2 weeks ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Replying to Xi Ruoyao:
Disabling non-privileged user from using loadkey seems a intentional change: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0b360adbdb54d5b98b78d57ba0916bc4b8871968.
Thus to me we should not demonstrate this to the users.
Thats a great finding which expains why things are as they are. I'll close this ticket with wont fix
.
I've not accessed the security issue now, but style issue: no && in LFS.