[LFS Trac] #5786: enable loadkeys for normal users
| Newsgroups | gmane.linux.lfs.book |
|---|---|
| Message-ID | <[email protected]> |
#5786: enable loadkeys for normal users
-------------------------+----------------------
Reporter: thomas | Owner: lfs-book
Type: enhancement | Status: new
Priority: normal | Milestone: 12.4
Component: Book | Version: git
Severity: normal | Keywords:
-------------------------+----------------------
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?
--
Ticket URL: <https://wiki.linuxfromscratch.org/lfs/ticket/5786>
LFS Trac <https://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
--
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page