02-03-2009
Hi, thank you
On both AIX client and Linux server : "ypcat passwd | grep <username>" resulted the same output.
However, there is no command named "getent" in AIX so I only do it on Linux server and on the Linux server only I did:
ypcat passwd | grep <username>
getent passwd <username>
getent shadow <username>
and get the same password value on each ouput.
Any suggestion, please
10 More Discussions You Might Find Interesting
1. Solaris
Hi,
How can I unregistered a nis+ client. I want it works without nis+.
Bests regards (2 Replies)
Discussion started by: omainfroy
2 Replies
2. AIX
Hi everyone.
Has anyone here used AIX as a NIS client to a Linux server?
If have configured this setup and cant get it to work. I have verifyed that the NIS server is working since other machines are able to connect to it and users to log in on other clients.
On the AIX machine the users are... (0 Replies)
Discussion started by: sprellari
0 Replies
3. AIX
All,
I have just started using AIX (Solaris admin here) and I need to setup my new AIX box as an NIS client. Where would I do this?
Thanks for the help!
-Kevin (2 Replies)
Discussion started by: kjbaumann
2 Replies
4. Solaris
Hi, all.
I have a Solaris client here needs to bind to NIS server in another subnet. Following is the configuration i made on the client,
1) edit /etc/inet/hosts to add an entry of the NIS server -- nserver01
2) execute `domainname` to set local NIS domain to the domain of the NIS server.... (1 Reply)
Discussion started by: sn_wukong
1 Replies
5. UNIX for Advanced & Expert Users
I am installing a NIS master server with a linux SLES 10 SP1. And it was pretty straight forward. (Simple since it GUI ) The server can bind to itself when issue with ypwhich command.
But on solaris 10 box, I set up the defaultdomain (/etc/defaultdomain) and also issue ypinit -c to startup the... (3 Replies)
Discussion started by: ibroxy
3 Replies
6. AIX
Hello Guys,
Unfortunately after look for it on entire www I did not find anyone that have made a tutorial how to make it works.
I'm using an AIX 5.3 as a nis client from a SUSE 1.0 server.
I can see the maps - ypcat passwd (so I can Bind server)
and I can su NIS users.
BUT I CAN... (0 Replies)
Discussion started by: michelan
0 Replies
7. AIX
Hi,
I am trying to mount a nfs folder from AIX client to Linux NFS Server, but I got the following error:
# mount 128.127.11.121:/aix /to_be_del
mount: 1831-010 server 128.127.11.121 not responding: RPC: 1832-018 Port mapper
failure - RPC: 1832-008 Timed out
mount: retrying... (1 Reply)
Discussion started by: victorcheung
1 Replies
8. UNIX for Dummies Questions & Answers
Hi All,
I have a new server on the network, I did configure the NIS. ypwhich is working and ypcat all are working. But when I log in as me, home directory is not coming up. I looked at other servers we have at work to see what's under /etc/fstab. I don't see anything for home directory.
... (3 Replies)
Discussion started by: samnyc
3 Replies
9. AIX
Hi folks,
How can i configure an AIX LDAP client to authenticate against an Linux Openldap server over TLS/SSL?
It works like a charm without TLS/SSL.
i would like to have SSL encrypted communication for ldap (secldapclntd) and ldapsearch etc. while accepting every kind of certificate/CA.... (6 Replies)
Discussion started by: paco699
6 Replies
10. Solaris
Based on the NIS migration tests I did and another question I posted earlier on.
https://www.unix.com/solaris/272021-solaris-8-md5-encryption-support.html
I tried to downgrade NIS linux encryption to DES to support solaris connection.
So I modified /etc/pam.d/system-auth as below,
password... (0 Replies)
Discussion started by: bestard
0 Replies
LEARN ABOUT FREEBSD
getent
GETENT(1) BSD General Commands Manual GETENT(1)
NAME
getent -- get entries from administrative database
SYNOPSIS
getent database [key ...]
DESCRIPTION
The getent utility retrieves and displays entries from the administrative database specified by database, using the lookup order specified in
nsswitch.conf(5). The display format for a given database is as per the ``traditional'' file format for that database.
The database argument may be one of:
Database Display format
ethers address name
group group:passwd:gid:[member[,member]...]
hosts address name [alias ...]
networks name network [alias ...]
passwd user:passwd:uid:gid:gecos:home_dir:shell
protocols name protocol [alias ...]
rpc name number [alias ...]
services name port/protocol [alias ...]
shells /path/to/shell
utmpx [time] type: properties
If one or more key arguments are provided, they will be looked up in database using the appropriate function. For example, ``passwd'' sup-
ports a numeric UID or user name; ``hosts'' supports an IPv4 address, IPv6 address, or host name; and ``services'' supports a service name,
service name/protocol name, numeric port, or numeric port/protocol name.
If no key is provided and database supports enumeration, all entries for database will be retrieved using the appropriate enumeration func-
tion and printed.
EXIT STATUS
The getent utility exits 0 on success, 1 if there was an error in the command syntax, 2 if one of the specified key names was not found in
database, or 3 if there is no support for enumeration on database.
SEE ALSO
getutxent(3), ethers(5), group(5), hosts(5), networks(5), nsswitch.conf(5), passwd(5), protocols(5), rpc(5), services(5), shells(5)
HISTORY
A getent command appeared in NetBSD 3.0, and was imported into FreeBSD 7.0. It was based on the command of the same name in Solaris and
Linux.
BSD
August 24, 2005 BSD