Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

1
  • 2
    On debian 12/bookworm default newuser shell is /bin/sh->dash and /etc/profile lines 28-31 are: for i in /etc/profile.d/*.sh; do if [ -r $i ]; then . $i fi done. Note $i unquoted. Thus if something creates an entry in profile.d like tty foo this will execute [ -r tty foo ] and cause the error. Commented Aug 25 at 1:09