Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

niserror(1) [opensolaris 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 Solaris operating system. Tools to aid the migration from NIS+ to LDAP are available in the current Solaris release. For more information, visit http://www.sun.com/directory/nisplus/transition.html. SunOS 5.11 2 Dec 2005 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. HP-UX

Problem with HPUX as NIS-Client

Hi all! I am running an NIS Server with Linux. Now I want to configure a HPUX-Server to use this NIS Server. I have don all the configuration stuff exactly as described in the documentation. When I run YPWHICH, it shows me the right server and domain. If I run YPCAT passwd, I'll get the... (4 Replies)
Discussion started by: pepade
4 Replies

3. Linux

How To Join NIS Domain to an Ubuntu workstation

(2 Replies)
Discussion started by: daya.pandit
2 Replies

4. 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

5. 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

6. Shell Programming and Scripting

Shell Script migration issues

Hi All, We will be doing a Solaris 8 to Solaris 10 migration migration, just wanted to know if there are any known / common issues arise from this migration from Shell script point of view. I tried searching this site but mostly post are related to SA's question and jumpstart, etc. If there's... (4 Replies)
Discussion started by: arvindcgi
4 Replies

7. Shell Programming and Scripting

Solaris 10 "ps" command

Is it possible to display more than 80 characters in the CMD field of the output of "ps -ef" command in Solaris 10?? If this is possible please tell me how to do this. Thanks, Steve (3 Replies)
Discussion started by: stevefox
3 Replies

8. Shell Programming and Scripting

Retrieve old file in Solaris 10

Hello guys, I mistakely updated a file on Solaris 10. Any idea on how can I get the older version of file(File before being updated) back? Note: I do not have root access & have logged in as a user on the system. Thanks in advance, -Nithin. (3 Replies)
Discussion started by: bsnithin
3 Replies

9. UNIX for Dummies Questions & Answers

Integrate Sudo and NIS

hi guys I configured NIS on my Centos 5.5. I create accounts on NIS Server and users can log in. Cool. Now I added a user in my sudoers users in my NIS Server but user on other Linux boxes don't get the sudo permissions any way or procedure to integrate sudo in a NIS setup? thanks a... (14 Replies)
Discussion started by: karlochacon
14 Replies

10. Shell Programming and Scripting

Sed command question on Solaris

Hi, I'm trying to find the first field in a text file with the below sed command but it doesn't seem to be correct for running on Solaris.. It has no problem running on AIX. Anyone got a suggestion what the problem is? sed 's/^\(\+\) /OK/' The eventual goal is to separate the columns in a... (5 Replies)
Discussion started by: Jazmania
5 Replies

11. Solaris

NIS Automounts not mounting

Hello all, I have a Solaris 10 SPARC server that crashed a couple of weeks ago and I finally got it up the other day. I am having some problems getting my NIS automounts to work though. It appears that NIS is working, but the /home directories are not mounting and users can not log in (I can log... (6 Replies)
Discussion started by: Madrox72
6 Replies

12. 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

13. 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

14. 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

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