Opened 3 weeks ago

Last modified 3 weeks ago

#5786 closed enhancement

enable loadkeys for normal users — at Version 3

Reported by: thomas Owned by: lfs-book
Priority: normal Milestone: 12.5
Component: Book Version: git
Severity: normal Keywords:
Cc:

Description (last modified by thomas)

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 (3)

comment:1 by thomas, 3 weeks ago

Milestone: 12.412.5

comment:2 by Xi Ruoyao, 3 weeks ago

I've not accessed the security issue now, but style issue: no && in LFS.

comment:3 by thomas, 3 weeks ago

Description: modified (diff)

(edited - rmv &&)

Note: See TracTickets for help on using tickets.