LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-04-2008, 03:25 AM   #1
kapil.kshirsagar
LQ Newbie
 
Registered: Jul 2007
Posts: 12

Rep: Reputation: 0
Question Changing password for various users with same UID


Hi All,

I have build an NIS server on RHEL 5, this database contains some users with same UID, now when i try to change password for xyz user i get prompt to change password for the another associated user.

For Example : If I have test1 & test2 with same uid 500

when i give yppasswdd test1
this will show me
changing passwd for test2

Is there any way to resolve this.

Thanks,
Kaps
 
Old 07-04-2008, 04:06 AM   #2
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
UIDs must be consistent across all systems. Your configuration is currently broken. You need to make the same username have the same UID everywhere. That is the entire point of NIS. One master.

Without this consistency, over NFS, user joe=500 will have access right to the files and directories of user sally=500 on another system.

Last edited by Mr. C.; 07-04-2008 at 04:07 AM.
 
Old 07-04-2008, 04:15 AM   #3
kapil.kshirsagar
LQ Newbie
 
Registered: Jul 2007
Posts: 12

Original Poster
Rep: Reputation: 0
I want that my all users with same UID can span across the files, as for testing purpose each user has another username attached with same uid. I am facing while changing the problem which I have mentioned above.
 
Old 07-04-2008, 04:36 AM   #4
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
Yes, you are faced with changing all the overlapping username/uids. Get a list of all of them, see which UIDs have two or more user names mapping to a single UID, and create new UIDs for all but one of those users.

Last edited by Mr. C.; 07-04-2008 at 04:38 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing the UID of a Physical Volume to a specific UID jambraun Linux - Newbie 2 02-09-2006 02:34 PM
How to disable password changing permissions to normal users ? toraghun Linux - Newbie 14 11-17-2005 10:17 AM
changing permissions and the UID... viper91681 Solaris / OpenSolaris 3 03-11-2004 09:47 AM
changing uid, gid zeke1955 Linux - General 4 01-09-2004 11:53 PM
2 users 1 UID? cli_man Linux - General 4 06-07-2003 06:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration