Results 1 to 5 of 5
|
Enjoy an ad free experience by logging in. Not a member yet? Register.
|
|
-
09-16-2003 #1
- Join Date
- Sep 2003
- Posts
- 3
Multiple telnet connections changing their passwd.
Thanks..
-
09-16-2003 #2
- Join Date
- Jan 2003
- Location
- Lebanon, pa
- Posts
- 994
passwd doesn't actually update shadow or passwd. It creates a copy of it called nshadow and npasswd with the changes then renames them to shadow/passwd. Anyway it will return 5 if it cannot get a lock on the passwd or shadow file. The actual error in your logs should be someting like "can't lock password file" or "cant lock tcfs key db".
-
09-16-2003 #3
- Join Date
- Jan 2003
- Location
- Lebanon, pa
- Posts
- 994
I also suggest you use ssh instead of telnet so passwords are not sent in clear text.
-
09-17-2003 #4
- Join Date
- Sep 2003
- Posts
- 3
I wanted to use ssh but the the instructor wants telnet. There are no security issues with this server because thats all it does... I reghost it every term. I didn't see the errors "can't lock password file" or "cant lock tcfs key db" in my log, the instructor just wanted to know if all the students can change the password at the same time instead of going user by user, one at a time.
-
09-17-2003 #5
- Join Date
- Jan 2003
- Location
- Lebanon, pa
- Posts
- 994
Everyone cannot change their pass at the sametime since only 1 process can have a lock on the files. You don't need go 1 by 1 since the actual password change is very quick but yes I would see a problem with having 30 users all change their pass at once.