it's possible to run as non-root user with pam_unix
Bug #907483 reported by
Kenny Gryp
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
percona-pam-for-mysql |
Fix Released
|
High
|
Hrvoje Matijakovic |
Bug Description
The documentation states that if you want to use pam_unix, you need to run mysql as root.
That's not really necessary.
You can just add the mysql user to the shadow group. This shadow group at least exists in ubuntu:
root@lucid64:
shadow:x:42:mysql
root@lucid64:
4.0K -rw-r----- 1 root shadow 912 Dec 21 10:39 /etc/shadow
pam_unix Authentication just works then
Related branches
lp://staging/~hrvojem/percona-pam-for-mysql/bug907483
- Laurynas Biveinis (community): Approve
-
Diff: 33 lines (+14/-2)2 files modifieddoc/source/faq.rst (+13/-1)
doc/source/installation.rst (+1/-1)
Changed in percona-pam-for-mysql: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → percona-full-pam |
Changed in percona-pam-for-mysql: | |
assignee: | nobody → Hrvoje Matijakovic (hrvojem) |
Changed in percona-pam-for-mysql: | |
status: | Triaged → Fix Committed |
Changed in percona-pam-for-mysql: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Note: you need to restart mysql for the group changes to have effect