Sponsored Content
Full Discussion: NIS username max lenght
Top Forums UNIX for Advanced & Expert Users NIS username max lenght Post 302450026 by cjcox on Wednesday 1st of September 2010 10:02:13 AM
Old 09-01-2010
I do not believe there is a limit (well.. there probably is one, duh... but it's not "9"). But NIS is just a table pusher. The problem isn't NIS per se... it's what you do with the information.

So in a mixed heterogeneous network of hosts, *ix, old and new, you need to limit the username length to 8. That's just the way it is. Passwords are limited 8 as well and the hash for portability has to be DES.

Now... if this is an ALL Linux network (for example), you don't have to play by lowest common denominator rules.... you can loosen things up a lot and use other hash types, etc (even push a shadow-like map with added security).
This User Gave Thanks to cjcox For This Post:
 

9 More Discussions You Might Find Interesting

1. IP Networking

how can change udp lenght?

How can change udp lenght? Hello. I have FreeBsd 4.7 and i want to change udp datagramm lenght. Where it can be? What i must do? I can rebuild my core but it is not good for me. Thanks! (4 Replies)
Discussion started by: Vvlad
4 Replies

2. Linux

Using NIS-ypmatch, ypcat, Lname, Gname to get username/key

Hello, We can get the full info by typing: ypmatch username passwd aaaa : yyyy: ... ... : LastName Gname : ... ... However, I'd like to know how could we get the username based on LastName and Given name please? Thanks a lot, ly (3 Replies)
Discussion started by: test111111
3 Replies

3. UNIX for Dummies Questions & Answers

NIS map mail.aliases specified, but NIS not running

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

How to remove files with zero lenght

How to remove files with zero lenght with one or more commands from the same directory? Thanks. (2 Replies)
Discussion started by: GNMIKE
2 Replies

5. UNIX for Advanced & Expert Users

SUSE 9 and 10 NIS clients with RedHat 8.0 NIS server not working

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

6. Solaris

How to configure a NIS client bound to the NIS server in another subnet?

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

7. UNIX for Advanced & Expert Users

How to increase max username length?

Hi, This is my first post to this site. So kindly forgive if I am writing in a wrong section. My query is that... I want to modify the max username length size. I guess it is 32/64 on CentOS. Now I want to change it to 128. Is there any way to do that? Thanks in advance!! :) (4 Replies)
Discussion started by: ajay303
4 Replies

8. UNIX for Dummies Questions & Answers

Modify the max username length

Hey Any one... Do u know any way I can modify the max username length in unix? I guess it is 32/64 characters by default. Suppose I want to increase it to 128. i hav tried /etc/skel but no use... How can I do that? (2 Replies)
Discussion started by: MayureshRisbud
2 Replies

9. Programming

C: lenght of array

Doing some training code with arrays i run into the following issue: If i ask the user how long the array is supposed to be, malloc it and then ask for the values inside the array and return the list to main and assing it to a pointer to list of integers: #include <stdio.h> #include... (7 Replies)
Discussion started by: tornow
7 Replies
ypwhich(1)							   User Commands							ypwhich(1)

NAME
ypwhich - return name of NIS server or map master SYNOPSIS
ypwhich [-d domain] [ [-t] -m [mname] | [-Vn] hostname] ypwhich -x DESCRIPTION
ypwhich returns the name of the NIS server that supplies the NIS name services to a NIS client, or which is the master for a map. If invoked without arguments, it gives the NIS server for the local machine. If hostname is specified, that machine is queried to find out which NIS master it is using. Refer to ypfiles(4) for an overview of the NIS name services. OPTIONS
-d domain Use domain instead of the default domain. -t This option inhibits map nickname translation. -m mname Find the master NIS server for a map. No hostname can be specified with -m. mname can be a mapname, or a nickname for a map. When mname is omitted, produce a list of available maps. -x Display the map nickname translation table. -Vn Version of ypbind, V3 is default. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWnisu | +-----------------------------+-----------------------------+ SEE ALSO
ypfiles(4), attributes(5) SunOS 5.10 7 Apr 1995 ypwhich(1)
All times are GMT -4. The time now is 12:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy