07-27-2012
User info not present in passwd file
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 /home/user2
etc
also in passwd file there is entry only for some sudo users.
can someone elaborate what type of system arrangement is this?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I know this is prob a simple question but anyway here goes. I want to find out the owner of a certain file. I also want to find out what permissions that owner has. Is their any command that is similair to file in that it can tell men this specfic information about a file the way file tells you... (1 Reply)
Discussion started by: Quesa
1 Replies
2. Shell Programming and Scripting
Hello,
My issue is that I want to look for specific users that have their first and last initial followed by four numbers. For example:
ab1234
I've already got the user ID's out of the passwd file
more passwd | awk -F ":" '{print $1}' > userids
I just need to know how to just pick... (8 Replies)
Discussion started by: LinuxRacr
8 Replies
3. UNIX for Dummies Questions & Answers
Hi,
/etc/passwd file has write permission only for the root user.
Now when a normal user changes the its own password using passwd command, how this information has been written to the /etc/passwd file when the user is not having write permission to this file.
~santosh (2 Replies)
Discussion started by: santosh149
2 Replies
4. UNIX for Dummies Questions & Answers
Hi All,
I am not one of the super users / root for AIX 5.3 system.
There is a filesystem
Say
/DIR1 and its has several subdirs in it say SUBDIR1, SUBDIR2, SUBDIR3.
Can I create a tar file for all files under DIR1 and SUBDIR1, SUBDIR3. Excluding SIBDIR2?
Also how can I preserve... (2 Replies)
Discussion started by: Hangman2
2 Replies
5. UNIX for Advanced & Expert Users
Besides doing some shell-script which loops through /etc/passwd, I was wondering if there was some command that would tell me, like an enhanced version of getent.
The Operating system is Solaris 10 (recent-ish revision) using Sun DS for LDAP. (5 Replies)
Discussion started by: ckmehta
5 Replies
6. Shell Programming and Scripting
Hi I need help..........
I have an Sun One Directory server LDIF file with 5000 user entries, I need to change the data to match Test ID's, so I can run a perf test.
I'm way out of my league as I have not done any scripting for 10 years.
There are four entries for each user in the file... (3 Replies)
Discussion started by: Macdaddy99
3 Replies
7. Shell Programming and Scripting
/etc/group
tiadm::345:mk789,po312,jo343,ju454,ko453,yx879,iy345,hn453
bin::2:root,daemon
sys::3:root,bin,adm
adm::4:root,daemon
uucp::5:root
/etc/passwd
mk789:x:234:1::/export/home/dummy:/bin/sh
po312:x:234:1::/export/home/dummy:/bin/sh
ju454:x:234:1::/export/home/dummy:/bin/sh... (6 Replies)
Discussion started by: chidori
6 Replies
8. Shell Programming and Scripting
Hi,
I've a user alias file in the below format.. I need to change all the ID's that come after the = sign (with some multiple ID's which are separated by comma's) to their respective users that are contained in the passwords file.. Whats the best way to go about this.. Some sort of sed command in... (2 Replies)
Discussion started by: Jazmania
2 Replies
9. UNIX for Advanced & Expert Users
Hi all ,
The FTP user defind in my passwd file has ! in the hash password field and i want to know way is that its usually either
MD5(Unix) hash or * can anyone explain to me i'm new for unix and want to learn
this how my passwd file looks :
... (2 Replies)
Discussion started by: dahash11
2 Replies
LEARN ABOUT NETBSD
slapd-passwd
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)