Re: nss-mysql and useradd | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
Piotr Szczap wrote: > Is it possible to add a user when you are using nss-mysql? I know that > libnss-mysql doesn't support adding a user, but shouldn't it be possible > to add a user to the 'files' database? Currently I'm using a > nsswitch.conf file that looks like this: > > passwd: files mysql > group: files > shadow: files mysql > > and when I do useradd testuser I get a segmentation fault. Other user > functions (passwd for the 'files', id etc ) work ok. Any suggestions? The NSS modules are only used for querying a database, not for modifying it. Modifications to the user database are handled via PAM. -- Glynn Clements <glynn@xxxxxxxxxxxxxxxxxx> - : send the line "unsubscribe linux-admin" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
[Site Home] [Linux Newbie] [Audio] [Hams] [Kernel Newbies] [Memory] [Util Linux NG] [Security] [Netfilter] [Bugtraq] [Writing Drivers] [Photo] [Yosemite Photos] [Yosemite News] [MIPS Linux] [ARM Linux] [Linux Security] [Linux RAID] [Samba] [Video 4 Linux] [Git] [Linux Resources] [Fedora Users]
![]() |