SLAPD-PASSWD(5) File Formats Manual SLAPD-PASSWD(5)NAME
slapd-passwd - /etc/passwd backend to slapd
SYNOPSIS
/etc/ldap/slapd.conf
DESCRIPTION
The PASSWD backend to slapd(8) serves up the user account information listed in the system passwd(5) file. This backend is provided for
demonstration purposes only. The DN of each entry is "uid=<username>,<suffix>". Note that non-base searches scan the the entire passwd
file, and are best suited for hosts with small passwd files.
CONFIGURATION
This slapd.conf option applies to the PASSWD backend database. That is, it must follow a "database passwd" line and come before any subse-
quent "backend" or "database" lines. Other database options are described in the slapd.conf(5) manual page.
file <filename>
Specifies an alternate passwd file to use. The default is /etc/passwd.
ACCESS CONTROL
The passwd backend does not honor any of the access control semantics described in slapd.access(5). Only read (=r) access to the entry
pseudo-attribute and to the other attribute values of the entries returned by the search operation is honored, which is performed by the
frontend.
FILES
/etc/ldap/slapd.conf
default slapd configuration file
/etc/passwd
user account information
SEE ALSO slapd.conf(5), slapd(8), passwd(5).
OpenLDAP 2012/04/23 SLAPD-PASSWD(5)
Check Out this Related Man Page
SLAPD-PASSWD(5) File Formats Manual SLAPD-PASSWD(5)NAME
slapd-passwd - /etc/passwd backend to slapd
SYNOPSIS
/etc/ldap/slapd.conf
DESCRIPTION
The PASSWD backend to slapd(8) serves up the user account information listed in the system passwd(5) file. This backend is provided for
demonstration purposes only. The DN of each entry is "uid=<username>,<suffix>". Note that non-base searches scan the the entire passwd
file, and are best suited for hosts with small passwd files.
CONFIGURATION
This slapd.conf option applies to the PASSWD backend database. That is, it must follow a "database passwd" line and come before any subse-
quent "backend" or "database" lines. Other database options are described in the slapd.conf(5) manual page.
file <filename>
Specifies an alternate passwd file to use. The default is /etc/passwd.
ACCESS CONTROL
The passwd backend does not honor any of the access control semantics described in slapd.access(5). Only read (=r) access to the entry
pseudo-attribute and to the other attribute values of the entries returned by the search operation is honored, which is performed by the
frontend.
FILES
/etc/ldap/slapd.conf
default slapd configuration file
/etc/passwd
user account information
SEE ALSO slapd.conf(5), slapd(8), passwd(5).
OpenLDAP 2012/04/23 SLAPD-PASSWD(5)
Hello ppl,
A small mistake of mine has led the /etc/passwd file deleted. So i went to rescue mode and used the following command echo "root::0:0:Superuser:/:/bin/bash" > passwd
but that did not get effect in anyway way. when I switch back to normal mode the root is still asking for a passwd.... (3 Replies)
Good Day
Our HP box was hacked and the passwd file has been altered,there are only 2 user accounts active,and these dont have any administrative rights.I need to edit the passwd file to correct the su and root entries.
Does any body have any suggestions as to how i can do this with out the root... (10 Replies)
Hi,
How do I read username and lastupdate attribute values from /etc/security/passwd file and write the obtained data to another file. The data in the new file should be in this format as shown:
avins:12345
root:45234
xyza:23423
Plese let me know this ASAP
Thanks,
Haroon (3 Replies)
#!/bin/sh
HOST=HOST_IP
USER=$USER
PASSWD=$PASSWD
FILE="*.htm"
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
get $FILE
quit
END_SCRIPT
exit 0
Is there any way to display appropriate error message if the file is not found on the server...... (2 Replies)
Hey all,
i have to write a script in Unix that would help me in my department to search certain user ids valid in /etc/passwd file.. here goes the exact question & data to help analyze:
Amend a script to tell the user to enter a user id to be searched for in the /etc/passwd file. If there are no... (7 Replies)
I could not find an entry for my linux user account in /etc/passwd file. I can remember some time back one of my SA showed the entry line using some other command. Can someone please help me on this to view the details of my linux user account? (3 Replies)
how unix users able to change their password even if they have only read permissions and how backend process will be happening can u explain me which are files need to involved in this process (3 Replies)
Not an unix expert, I read a few pages on the web about passwd files, but I didn't find the answers I need about the last 8 lines of the passwd file I'm taking a look at.
I'm assuming their shortcuts to another file that may have the actual usernames of users on the system.
Please, any help... (1 Reply)
The purpose of this script is to scan the /etc/passwd file one line at a time comparing the usernames to the usernames found in a database table. I will later locked every account which is not in the database table.
I have export the userlist from the database in a file (/tmp/userlist). It... (1 Reply)
Hi All,
I have configured OpenLDAP sucessfully and set following results indicating that the user is loaded on the LDAP database
test5:/ $ cat /etc/passwd | grep admin777
test5:/ $ getent passwd admin777
admin777:x:5011:1000::/:/bin/bash
test5:/ $ id admin777
uid=5011(admin777)... (0 Replies)
I have logged into a box with some userid,but in this box der is no entry for this userid in /etc/passwd file.this box is used by multiple users but none of them have their enteries in passwd file but for each user there is a directory in /home
like for user1 /home/user1
for user2... (5 Replies)