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

NAME
setservent, setservent_r - Open or rewind the services file LIBRARY
Standard C Library (libc.so, libc.a) SYNOPSIS
#include <netdb.h> void setservent( int stay_open); [Tru64 UNIX] The following function is supported in order to maintain backward compatibility with previous versions of the operating sys- tem. int setservent_r( int stay_open, struct servent_data *serv_data); [Tru64 UNIX] The following function is supported in order to maintain backward compatibility with previous versions of the operating sys- tem. int setservent( int stay_open); STANDARDS
Interfaces documented on this reference page conform to industry standards as follows: setservent(): XNS4.0 Refer to the standards(5) reference page for more information about industry standards and associated tags. PARAMETERS
Indicates when to close the services file. Specifying a value of 0 (zero) causes the file to be closed after each call to the getservent() function. Specifying a nonzero value allows the file to remain open after each call. [Tru64 UNIX] Points to a structure where setser- vent_r() stores information about the services file. DESCRIPTION
The setservent() (set service entry) function opens either the local /etc/services file or the NIS distributed services file, and sets the file marker at the beginning of the file. To determine which file or files to search, and in which order, the system uses the switches in the /etc/svc.conf file. NOTES
[Tru64 UNIX] The setservent_r() function is the reentrant version of the setservent() function. It is supported in order to maintain backward compatibility with previous versions of the operating system. Upon successful completion, the setservent_r() function returns a value of 0 (zero). Otherwise, it returns a value of -1. [Tru64 UNIX] Before calling the setservent_r() function for the first time, you must zero-fill the servent_data structure. The netdb.h header file defines the servent_data structure. RETURN VALUES
Current industry standards for setservent() do not define return values. [Tru64 UNIX] Upon successful completion, the setservent() function included for backward compatibility returns a 1 for success. Other- wise, it returns a value of 0 (zero). ERRORS
Current industry standards for setservent() do not define error values. [Tru64 UNIX] If any of the following conditions occurs, the setservent_r() function sets errno to the corresponding value: If serv_data is invalid. In addition, the setservent() and setservent_r() functions can fail to open the file. In this case, errno will be set to the failure. FILES
Contains service names. The database service selection configuration file. RELATED INFORMATION
Functions: endservent(3), getservbyname(3), getservbyport(3), getservent(3). Files: services(4), svc.conf(4). Networks: nis_intro(7). Standards: standards(5). delim off setservent(3)
All times are GMT -4. The time now is 12:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy