Re: illegal option

From: Anton Shepelev <anton.txt_at_gmail.com>
Date: Sat, 20 Jul 2024 10:59:09 UTC
LuMiWa:

> I am running FreeBSD 14.1-RELEASE p2 now and if I use "su"
> I get"
> set: Illegal option -o posix
> and log me in.  On the previous releases of FreeBSD I
> didn't have a "problem" and I am using KSH shell for user
> all the time.

Yet it does seem related to your using KSH:

   https://forums.freebsd.org/threads/41683/#post-231500

In that post, the author writes:

   Don't mind the error message up there, that's because I'm
   lazy and edited .profile in my home directory to include
   some specific settings for ksh.

You can try asking them for the details.