Dear Free Folks,
Recently, I was checking Freebsd in search of something light-weight for my use case, when I’ve encountered with this.
Observation : When we ssh into a default freebsd installation with a sudo privileged user and try to shut it down , on host system monitor window(tty) it ask to put "Enter full pathname of shell or RETURN for /bin/sh: ". If we press ENTER there, we are “root” without password.
More observation: This doesn’t happen on reboot, not even on ‘shutdown -r’.
My best guess: The best help I found on “man rescue”. Why it goes into rescue mode? May be server should not go down without master’s permission.
Prevention: During installation we can choose “Enable console password prompt” from system security hardening options.
PS: I haven’t added any system logs because you can re-create it on freebsd 13. My whole interaction with freebsd is less than three months and we are going to celebrate 30th birthday of our big baby. I don’t believe it’s a bug. Most probably, am getting something wrong. So dear geeks, roast me.
Recently, I was checking Freebsd in search of something light-weight for my use case, when I’ve encountered with this.
Observation : When we ssh into a default freebsd installation with a sudo privileged user and try to shut it down , on host system monitor window(tty) it ask to put "Enter full pathname of shell or RETURN for /bin/sh: ". If we press ENTER there, we are “root” without password.
More observation: This doesn’t happen on reboot, not even on ‘shutdown -r’.
My best guess: The best help I found on “man rescue”. Why it goes into rescue mode? May be server should not go down without master’s permission.
Prevention: During installation we can choose “Enable console password prompt” from system security hardening options.
PS: I haven’t added any system logs because you can re-create it on freebsd 13. My whole interaction with freebsd is less than three months and we are going to celebrate 30th birthday of our big baby. I don’t believe it’s a bug. Most probably, am getting something wrong. So dear geeks, roast me.