Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* NIS--Still can not login
@ 1995-09-01  4:00 Songsri Tangsripairoj - CC
  0 siblings, 0 replies; 3+ messages in thread
From: Songsri Tangsripairoj - CC @ 1995-09-01  4:00 UTC (permalink / raw)


Dear Everyone,

	I still have the problem that user can not Login.
	In my domain, I success in set a master NIS server running DG/UX and I 
am now setting a slave NIS server running DEC OSF1 v3.2. My local user 
can not login to the DEC. It seems that when user login, the DEC read the 
local /etc/passwd only but do not read yp although I set the parameter in 
file /etc/svc.conf "passwd=local, yp.
	I also secsetup my system to be ENHANCED mode which generates 
protected password database in /tcb/files/auth/*. In the Security Manual 
of DEC, I describe that changing NIS password will not propogate to the 
protected password database. 
	This problem is very important for me because if it is not solve 
my users will can not login to use the services.
	Please give the solutions how can I solve this problem.

Thank you

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     Songsri   Tangsripairoj            !       Tel(Off) : (662) 247-0333
Mahidol University Computing Center     !          (Fax) : (622) 246-7308
Faculty of Science, Mahidol University  ! email : ccsts@mahidol.ac.th
Rama 6 Rd., Bangkok 10400, Thailand     !       
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: NIS--Still can not login
       [not found] <9509131705.AA04571@perutz.salk.edu>
@ 1995-09-14  4:00 ` Songsri Tangsripairoj - CC
  1995-09-14  4:00   ` PAUL D. CHAPIN
  0 siblings, 1 reply; 3+ messages in thread
From: Songsri Tangsripairoj - CC @ 1995-09-14  4:00 UTC (permalink / raw)



	Surely I plus "+" at the last line of /etc/passwd. I can use 
ypcat passwd.byname and it retreive all user record. That mean I setup 
NIS correctly.
	You told that you do not use ENHANCED MODE SECURITY and you have 
not problem with NIS. It may be possible. I read DEC Security's Manual it 
describes that if I enhance the security, it will create authority files 
for every users in /tcb/files/auth/a...z which contain user info and 
passwd entry as well. Some users have the same password as 
/etc/passwd but some have "NotLogin" in the passwd entry. I don't 
why it occured. If I directly go to edit /tcb/files/auth/a...z 
for user who have "NotLogin" to be empty or no password. The 
first time that user login, the system will let him to choose new 
password. 
	Moreover if the user change password in /etc/passwd, it will not 
propagate to /tcb/files/auth/a...z . Therefore, the password for each 
user is not consistent to other host which are share NIS one another.
 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     Songsri   Tangsripairoj            !       Tel(Off) : (662) 247-0333
Mahidol University Computing Center     !          (Fax) : (622) 246-7308
Faculty of Science, Mahidol University  ! email : ccsts@mahidol.ac.th
Rama 6 Rd., Bangkok 10400, Thailand     !       
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

On Wed, 13 Sep 1995, Matthew Bowen Harrington wrote:

> Maybe the last line of your /etc/passwd file is not correct.  Do you
> have the plusses (+) there to tell the computer to use the NIS
> database?  
> 
> Also, perhaps your problem has to do with Enhanced Security.  I do not
> use it and have no problems with NIS.
> 
> 
> mh
> 
> --
> Matt Harrington                      matt@sbl.salk.edu
> The Salk Institute                   http://sbl.salk.edu/~matt
> San Diego, CA
>   
> 



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: NIS--Still can not login
  1995-09-14  4:00 ` Songsri Tangsripairoj - CC
@ 1995-09-14  4:00   ` PAUL D. CHAPIN
  0 siblings, 0 replies; 3+ messages in thread
From: PAUL D. CHAPIN @ 1995-09-14  4:00 UTC (permalink / raw)


If you're using both NIS and enhanced security, the protect password
info for NIS users is not in /tcb/files/auth anymore, but combined
into one file, /var/yp/src/prpasswd, from which, if you do "make
prpasswd" in the /var/yp directory, the relevent database files are
created in /var/yp/NIS-DOMAIN-NAME.  It's important that you remove
all the files in /tcb/files/auth for everybody covered by NIS.  You
have problems if somebody is in both prpasswd and the /tcb/files/auth
files.  To remove redundant local files, DEC suggested the following
script.

#!/usr/bin/ksh -ph
ypcat -k prpasswd | cut -d' ' -f1 | while read user ; do
    let="${user%${user#?}}"
    file="/tcb/files/auth/$let/$user"
    [ -f "$file" ] && rm -f "$file"
done

Assuming that I didn't make a typing error, this script goes through
the prpasswd file, checks to see if there is a file in /tcb/files/auth
for the same user, and removes it if there is.

--
Paul Chapin
A) Unix Systems Manager
B) User Services Coordinator
C) Information Coordinator
D) All of the above
Amherst College




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1995-09-14  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-09-01  4:00 NIS--Still can not login Songsri Tangsripairoj - CC
     [not found] <9509131705.AA04571@perutz.salk.edu>
1995-09-14  4:00 ` Songsri Tangsripairoj - CC
1995-09-14  4:00   ` PAUL D. CHAPIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox