Conversation
Notices
-
Is #sed required for ssh login in any sane system?
-
@musicman that sounds insane
-
Yeah, that was my thought...
"First I moved the sed file from /bin to the tmp folder and restarted the instance. After this, I could not login - only access via vSphere console was possible. Move back the file, login was possible."
maybe the sed is misnamed?
-
@musicman maybe has to do with the nologin mechanism. If the admin has placed /etc/nologin users cannot log in. Maybe sed is needed for that
-
This is was I was thinking was maybe somehow sane, but it seems like the opposite would be true, but maybe if nologin set it just bombs out completely because it can't check. I wasn't able to find anything with a quick Internet search though.
-
@musicman I'd replace /bin/sed with a script
#!/bin/sh
(echo SED called; date; set) >>/tmp/sed.debug
…
+ restart and check the file