11-29-2001
It does indeed look like some type of sync problem with group.bygid. It looks like the UID is getting translated by the map. Only the GID is the problem. The file is probably corrupted. To make sure everything is clean, I would re-intialize nisslave1 as a yp slave. You could probably just get rid of the group.bygid file, touch group on the master, and push the maps out. But a total re-init would give you a completely clean slave.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hello all,
I'm not sure if this is the right forum, but I would like to know if Redhat running NIS ( not NIS +) would have conflict with Solaris running NIS+. Currently I am running NIS+ on Solaris but will be adding RedHat to the network. I seem to be unable to find and information regarding... (2 Replies)
Discussion started by: larry
2 Replies
2. IP Networking
Hello together.
Is there someone who is able to explain me the differences between NIS and NIS+.
thanks in advance
joerg (2 Replies)
Discussion started by: joerg
2 Replies
3. UNIX for Dummies Questions & Answers
Hi all,
I just took over the admin role from someone and I wanna setup sendmail (just to send mail from the host) however, after I config all the resolv.conf, nssitch.conf, hosts file and when I try to send a mail out, after I punched ctl-D, it returned he following,
"NIS map mail.aliases... (2 Replies)
Discussion started by: stancwong
2 Replies
4. UNIX for Advanced & Expert Users
We have a RedHat 8.0 NIS master, with a RedHat 8.0 NIS Slave.
We also have a small number of SUSE 9.1 and SUSE 10 machines here for evaluation.
However, no matter what i do, the SUSE machines will not talk to the NIS Servers.
If i broadcast for NIS Servers for the specified NIS domain, it... (1 Reply)
Discussion started by: fishsponge
1 Replies
5. Solaris
i want to dedicate my nis client system to some perticler group users.
how can it possible on solaris. (0 Replies)
Discussion started by: nag.mi2000
0 Replies
6. Solaris
hai any body send me the replay please.
is it necessary to configure NFS , before configuring NIS on solaris9 or solaris10. (1 Reply)
Discussion started by: nag.mi2000
1 Replies
7. 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
8. UNIX for Dummies Questions & Answers
Hello i have some account already defined on NIS server. I would like to use this account on my machine.
What do i have to do ? Only create the home directory then use the account ??
If the user defined is using the korn shell, and i want to use bash, how can i change it ?? (2 Replies)
Discussion started by: dolphin06
2 Replies
9. Shell Programming and Scripting
I'm creating a scrip for auditing our AIX box's to ensure that they are built according to our system standards. I'm not sure on the logic for checking to see if the NIS and NIS+ services are disabled. any idea's? (2 Replies)
Discussion started by: sport
2 Replies
10. Solaris
how to see the all nis user details and individual user details ? (0 Replies)
Discussion started by: tirupathi
0 Replies
LEARN ABOUT OPENSOLARIS
grantpt
grantpt(3C) Standard C Library Functions grantpt(3C)
NAME
grantpt - grant access to the slave pseudo-terminal device
SYNOPSIS
#include <stdlib.h>
int grantpt(int fildes);
DESCRIPTION
The grantpt() function changes the mode and ownership of the slave pseudo-terminal device associated with its master pseudo-terminal coun-
terpart. fildes is the file descriptor returned from a successful open of the master pseudo-terminal device. The user ID of the slave is
set to the real UID of the calling process and the group ID is set to a reserved group. The permission mode of the slave pseudo-terminal is
set to readable and writable by the owner and writable by the group.
RETURN VALUES
Upon successful completion, grantpt() returns 0. Otherwise, it returns -1 and sets errno to indicate the error.
ERRORS
The grantpt() function may fail if:
EBADF The fildes argument is not a valid open file descriptor.
EINVAL The fildes argument is not associated with a master pseudo-terminal device.
EACCES The corresponding slave pseudo-terminal device could not be accessed.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
|MT-Level |Safe |
+-----------------------------+-----------------------------+
SEE ALSO
open(2), ptsname(3C), unlockpt(3C), attributes(5), standards(5)
STREAMS Programming Guide
SunOS 5.11 14 Aug 2006 grantpt(3C)