Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

niserror(1) [v7 man page]

niserror(1)							   User Commands						       niserror(1)

NAME
niserror - display NIS+ error messages SYNOPSIS
niserror error-num DESCRIPTION
niserror prints the NIS+ error associated with status value error-num on the standard output. It is used by shell scripts to translate NIS+ error numbers that are returned into text messages. EXAMPLES
Example 1: Using niserror The following example prints the error associated with the error number 20: example% niserror 20 Not Found, no such name ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWnisu | +-----------------------------+-----------------------------+ SEE ALSO
nis+(1), nis_error(3NSL), attributes(5) NOTES
NIS+ might not be supported in future releases of the SolarisTM Operating Environment. Tools to aid the migration from NIS+ to LDAP are available in the Solaris 9 operating environment. For more information, visit http://www.sun.com/directory/nisplus/transition.html. SunOS 5.10 10 Dec 2001 niserror(1)

Check Out this Related Man Page

niserror(1)							   User Commands						       niserror(1)

NAME
niserror - display NIS+ error messages SYNOPSIS
niserror error-num DESCRIPTION
niserror prints the NIS+ error associated with status value error-num on the standard output. It is used by shell scripts to translate NIS+ error numbers that are returned into text messages. EXAMPLES
Example 1: Using niserror The following example prints the error associated with the error number 20: example% niserror 20 Not Found, no such name ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWnisu | +-----------------------------+-----------------------------+ SEE ALSO
nis+(1), nis_error(3NSL), attributes(5) NOTES
NIS+ might not be supported in future releases of the SolarisTM Operating Environment. Tools to aid the migration from NIS+ to LDAP are available in the Solaris 9 operating environment. For more information, visit http://www.sun.com/directory/nisplus/transition.html. SunOS 5.10 10 Dec 2001 niserror(1)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Solaris NIS+ and RedHat NIS+

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. UNIX for Dummies Questions & Answers

NIS + adding a new user

I'm setting up NIS+ on Solaris 8 for Intel. None of the books I have explain how to add a new user in the NIS+ envoirnment. Can somebody explain this and are there any url's to get more info. I have populated the nis tables and can do an niscat of the passwd table. There is an nisgrpadd command... (2 Replies)
Discussion started by: txpjl
2 Replies

3. HP-UX

cannot telnet HP-UX with NIS account

Hello , I config this HP-UX workstation as the client into one NIS enviroment(while NIS server is Solaris 5.8) ,but I cannot telnet this HP-UX with nis account ,the error message is "Login incorrect" . I try to logon with root account ,and then I succeed in switching to the NIS... (2 Replies)
Discussion started by: xiawj
2 Replies

4. Shell Programming and Scripting

NIS User UID Change

Hi All, I need to change the UID numbers of many NIS users, is there any command to modify the UID in NIS maps ? ( like usermod) so that their file permissions will be same even with their new UID. If not, how to check all the files owned by particular user in a computer and change the... (1 Reply)
Discussion started by: RAA
1 Replies

5. Linux

ypproc_match nis error

I keep getting errors in the messages file on my NIS server from my clients. I was wondering if anybody ever seen this before. Below is the error message. Any help would be greatly appreciated. Sep 17 08:41:40 nis_server ypserv: refused connect from xxx.xxx.xxx.xxx:608 to procedure... (1 Reply)
Discussion started by: darren.wyatt
1 Replies

6. Solaris

NIS problems in Sun 5.10

Hi everyone! I have a problem with NIS and I'm hoping one of you experts can point me in the right direction :) I have setup 2 Solaris10 machines in VMWare and I was following this guide I found: Solaris: NIS installation and configuration - Basically Tech After following that guide, I was... (3 Replies)
Discussion started by: Keepcase
3 Replies

7. Solaris

[Solaris 10]NIS works only from "su"

Hi, I'm trying to set up NIS in my Solaris 10 but it works only if I 1st login as a root to my server and then "su - myuser". When I try to login (via console or ssh) directly as "myuser" the authentication fails. Here is what I've done: client ~$ echo "mydomain.loc" > /etc/defaultdomain... (8 Replies)
Discussion started by: Tex-Twil
8 Replies

8. Shell Programming and Scripting

Left join on files using awk

nawk 'NR==FNR{a;next} {if($1 in a) print $1,"Found" else print}' OFS="," File_B File_A The above code is not working help is appreciated (6 Replies)
Discussion started by: pinnacle
6 Replies

9. Shell Programming and Scripting

Even numbers from text file

Hello, i have started learning scripting with linux commands. So far I am having probelms with one task: To make a script with from file with the text, prints even numbers used in that text. maybe any could script that? Thank You. (23 Replies)
Discussion started by: Hexes
23 Replies

10. Shell Programming and Scripting

Expect help needed .. can i do this ?

hi all, i need to run expect and get the output into variables so my bash script can make decisions this is what i get currently Please wait while gathering statistics... 1: 0x60bf83c8 2: 0x60bf8d58 3: 0x60bf8d80 * 4: 0x60bf93a0 * 5: 0x62b0b4e0 6: 0x605938a0 7:... (13 Replies)
Discussion started by: ExpectHelpNeede
13 Replies

11. Solaris

Setup print environment in Solaris 11

Hi Experts, Please help me on this. I've a print environment using NIS in Solaris 10. Recently we have new JDE environment which using Solaris 11 OS, and found that we can't use NIS anymore. So only the option is using CUPS. How do we integrate this print environment for both Solaris 10... (9 Replies)
Discussion started by: srigias
9 Replies

12. Solaris

Solaris 8 MD5 encryption support

Hi, I did some NIS migration tests recently. The target is to migrate the NIS server from Solaris 8 to Redhat Linux 6.5. And, I found there are encryption issues while Linux NIS using MD5 hashing password for authentication whereas Solaris 8 clients using DES encryption. It causes issues... (3 Replies)
Discussion started by: bestard
3 Replies

13. Solaris

Experience sharing and questions for NIS migration from Solaris 8 to Linux

I'd like to share some experiences and what I found for NIS migration from Solaris 8 NIS to Linux platform. I'm not an expert for both platforms, it's just when I tested both systems and found something really tricky. That might takes a lot of time for you to find the root cause. So, I think I can... (11 Replies)
Discussion started by: bestard
11 Replies

14. Shell Programming and Scripting

Found = in conditional error?

Hey, I'm trying to make an interactive perl program and while I'm not done I wanted to share the bit of code I have at the moment because I keep running into an error that says that it "Found = in conditional, should be ==" in my code. This is my code- use warnings; use strict; my $i; $i=0;... (2 Replies)
Discussion started by: Eric1
2 Replies

15. Solaris

Solaris - Moving off NIS to something better

Mostly Solaris 11 with some 10 and even fewer 8 and 9. At the moment, NIS is used. Looking for a better way and to get rid of NIS. (13 Replies)
Discussion started by: psychocandy
13 Replies