Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
doc:installationguide:basic-nss [2012/02/09 22:27] misric [Installing and updating the mirror script] |
doc:installationguide:basic-nss [2013/08/09 12:32] gradator [Using libnss-pgsql2] access -> read |
||
---|---|---|---|
Line 44: | Line 44: | ||
getent group | getent group | ||
getent passwd | getent passwd | ||
- | getend shadow | + | getent shadow |
id username | id username | ||
Line 50: | Line 50: | ||
Of course those examples are going to work and are a good start, however they are highly insecure. This way you are giving to any user on your system rights to fetch and modify your VHFFS database because ''/etc/nss-pgsql.conf'' must be readable by anyone. | Of course those examples are going to work and are a good start, however they are highly insecure. This way you are giving to any user on your system rights to fetch and modify your VHFFS database because ''/etc/nss-pgsql.conf'' must be readable by anyone. | ||
- | So, you have to create a new user on PostgreSQL that can only access vhffs_passwd, vhffs_groups and vhffs_user_group tables. | + | So, you have to create a new user on PostgreSQL that can only read vhffs_passwd, vhffs_groups and vhffs_user_group tables. |
</note> | </note> | ||