10-22-2003
I got it working. The server was configured as a NIS master server and would accept NIS autenication request ,however, the server itself was not using NIS. I changed the nsswitch file to use NIS.
This is a quote from the Solaris 9 administration guide. This is why i placed my passwd and shadow files in another directory.
Quote:
For security reasons, the files used to build the NIS password maps should not contain an entry for root, to prevent unauthorized root access. Therefore, the password maps should not be built from the files located in the master server's /etc directory. The password files used to build the password maps should have the root entry removed from them and be located in a directory that can be protected from unauthorized access.
there's more on this page
http://docs.sun.com/db/doc/806-4077/...k?q=NIS&a=view
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Hi, I'm trying to setup user quotas on my Linux system.
It is Suse 7.3 running the standard kernel from that release.
When I try to run quotaon, I get the following:
# quotaon -v /dev/hdc1
quotaon: using /home/aquota.user on /dev/hdc1: Invalid argument
I can't figure out what it means by... (1 Reply)
Discussion started by: cybler
1 Replies
2. Shell Programming and Scripting
here is the file i must use to write my script (from a repquota -g) :
Group used soft grace ...
group1 -- 270000 0 0 ...
group2 -- 1500005 0 0 ...
group3 -- 55 0 0
... ... ... ... ...
the script has to... (2 Replies)
Discussion started by: tomapam
2 Replies
3. UNIX for Dummies Questions & Answers
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 Advanced & Expert Users
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
5. UNIX for Dummies Questions & Answers
Hello, I will be creating several users on a new AIX box. I would like to limit the amount of data they can keep. How can I do that in smit or with a command.
Thanks - Brad (0 Replies)
Discussion started by: rondebbs
0 Replies
6. Filesystems, Disks and Memory
Heres a stupid question to all you Linux gods/goddesses.
Is there any way to have the system automatically set user quotas when a user account is created or does it have to be done by hand or a script. Every article, thread, anything Ive read so far only shows how to set quotas manually. Any... (3 Replies)
Discussion started by: mcady_02
3 Replies
7. Solaris
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
8. Linux
How do I limit the maximum usage space for a specific MySQL user ??
Databases can be unlimited but the total sum of data on all tables and databases shouldn't exceed a limit I want. How to do this ?? (2 Replies)
Discussion started by: Nilesh_lf
2 Replies
9. Shell Programming and Scripting
I'm creating a scrip for auditing our AIX box's to ensure that they are built according to our system standards. I'm not sure on the logic for checking to see if the NIS and NIS+ services are disabled. any idea's? (2 Replies)
Discussion started by: sport
2 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I'm practicing new things with Linux/Unix and I need someone to point me at the right direction.
Lets say I create a user named user1. After creating it, how would I enable quotas for it. I have already added "userquota" under "/etc/fstab" and rebooted my system, but after I run the command... (1 Reply)
Discussion started by: abhi7514
1 Replies
LEARN ABOUT OSF1
yppasswd
yppasswd(1) General Commands Manual yppasswd(1)
NAME
yppasswd - change password in Network Information Service (NIS)
SYNOPSIS
yppasswd [name]
DESCRIPTION
Note
If Enhanced Security is enabled on your system, use the passwd command to change your password, even if NIS is in use.
The yppasswd command lets you change your password in the Network Information Service (NIS) map, a network data base service. Only you or
the superuser can change your NIS password.
When you enter the yppasswd command, the program prompts you for the old password and then for the new password. Note that the passwords
are not displayed on the screen.
Next, the program asks you for the new password again, to verify that you have typed it correctly. If you do not type the passwords cor-
rectly, you will receive an error message after you enter the new password.
Your new NIS password must meet one of the following requirements: It must be a combination of at least six alphanumeric characters, or It
must be a minimum of four characters, with at least one being non-alphanumeric, such as a control sequence.
Note
The passwd command does not change the NIS password. This command only changes the local password file (/etc/passwd), and not the NIS mas-
ter password file.
ERRORS
Your new password does not meet the minimum length requirement. You misspelled your new password or its verification. Your new password
can not be activated. It must be different from your old password and your login name.
FILES
Password file NIS directory
SEE ALSO
passwd(1), passwd(4), ypfiles(4), yppasswdd(8)
Network Administration
yppasswd(1)