Sponsored Content
Full Discussion: NIS group vs local group
Top Forums UNIX for Dummies Questions & Answers NIS group vs local group Post 36020 by RTM on Monday 19th of May 2003 09:54:01 AM
Old 05-19-2003
Well, I don't have a Tru64 system to play with and it's been years since I've been on one. I was hoping someone with recent experience was going to comment.

It should work the same as explained for Solaris. I don't know which file you use for telling the system to look at files first or dns (or if Tru64 does that at all - check the /etc/svc.conf file). If you don't get an answer, the next best thing is to check out the Tru64 Online docs .

Last edited by RTM; 05-19-2003 at 11:01 AM..
 

9 More Discussions You Might Find Interesting

1. Solaris

make issue when I add some members into a NIS group on solaris 9,please help !!

Hello Sir, I want to add some members into a group on NIS domain, but when I run "/usr/ccs/bin/make group" to update the group map it was failed :-( the error message is : problem storing develop... (4 Replies)
Discussion started by: lk74612
4 Replies

2. Solaris

How can i allow only a group of users in NIS?

Hello experts. I am using Solaris10. How can i allow a group of users, remaining should be deny. Thanx in advance. (9 Replies)
Discussion started by: younus_syed
9 Replies

3. UNIX for Dummies Questions & Answers

NIS Group, Netgroup

Hi all, Is there a way for me to know the NIS group and Netgroup my UNIX account? Thank you. (0 Replies)
Discussion started by: risk_sly
0 Replies

4. Shell Programming and Scripting

Merge group numbers and add a column containing group names

I have a file in the following format. Groups of data merge together and the group number is indicated above each group. 1 adrf dfgr dfg 2 dfgr dfgr 3 dfef dfr fd 4 fgrt fgr fgg 5 fgrt fgr (3 Replies)
Discussion started by: Lucky Ali
3 Replies

5. Shell Programming and Scripting

Merge group numbers and add a column containing group names

Hi All I do have a file like this with 6 columns. Groups of data merge together and the group number is indicated above each group. 1 1 12 26 289 3.2e-027 GCGTATGGCGGC 2 12 26 215 6.7e+006 TTCCACCTTTTG 3 9 26 175 ... (1 Reply)
Discussion started by: Lucky Ali
1 Replies

6. UNIX for Advanced & Expert Users

NIS Group Lookup Problem

I'm running a NIS on an network of Ubuntu 8.04 linux systems. I'm seeing a weird problem where the 'id' command is not returning all the groups I am a member of. For example: alex@client $ id -Gn localgroupA localgroupB nisgroup1 nisgroup2 nisgroup4 alex@client $ id -Gn alex nisgroup1... (0 Replies)
Discussion started by: vertigo23
0 Replies

7. Shell Programming and Scripting

Sort the file contents in each group....print the group title as well

I've this file and need to sort the data in each group File would look like this ... cat file1.txt Reason : ABC 12345-0023 32123-5400 32442-5333 Reason : DEF 42523-3453 23345-3311 Reason : HIJ 454553-0001 I would like to sort each group on the last 4 fileds and print them... (11 Replies)
Discussion started by: prash184u
11 Replies

8. UNIX for Dummies Questions & Answers

NIS user in local group

I have root access on a linux (RH5.4) server within an NIS setup that I don't control. I have an NIS account that creates directories on my local node that I want to be writable by my local apache account. The NIS account is only a member of the "users" group and the local apache account is... (1 Reply)
Discussion started by: clindseysmith
1 Replies

9. Shell Programming and Scripting

need a one liner to grep a group info from /etc/group and use that result to search passwd file

/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
endservent(3)						     Library Functions Manual						     endservent(3)

NAME
endservent, endservent_r - Close the network services database file. LIBRARY
Standard C Library (libc.so, libc.a) SYNOPSIS
#include <netdb.h> void endservent(void); [Tru64 UNIX] The following function is supported in order to maintain backward compatibility with previous versions of the operating sys- tem. void endservent_r( struct servent_data *serv_data); STANDARDS
Interfaces documented on this reference page conform to industry standards as follows: endservent(): XNS4.0 Refer to the standards(5) reference page for more information about industry standards and associated tags. PARAMETERS
[Tru64 UNIX] For endservent_r() only, this is data for services database. DESCRIPTION
The endservent() function closes either the local /etc/services file or the NIS distributed services file, previously opened with the get- servent(), getservbyname(), or getservbyport function. To determine which file or files to search, and in which order, the system uses the switches in the /etc/svc.conf file. [Tru64 UNIX] If the most recent setservent() function was performed with a nonzero parameter, a subsequent endservent() function will not close the network services database file. NOTES
[Tru64 UNIX] The endservent_r() function is the reentrant version of the endservent() function. It is supported in order to maintain backward compatibility with previous versions of the operating system. The netdb.h header file defines the serv_data structure. ERRORS
Current industry standards do not define error values for the endservent() function. [Tru64 UNIX] If the endservent_r() function fails, errno may be set to: serv_data is NULL. FILES
Contains service names. The database service selection configuration file. RELATED INFORMATION
Functions: getservent(3), getservbyname(3), getservbyport(3), setservent(3). Files: services(4), svc.conf(4). Networks: nis_intro(7). Standards: standards(5). delim off endservent(3)
All times are GMT -4. The time now is 04:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy