GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Chris Siebenmann (cks@mastodon.social)'s status on Sunday, 23-Jun-2024 01:12:17 JST Chris Siebenmann Chris Siebenmann
    in reply to
    • awb

    @awb I can't think of a POSIX utility for this. I wouldn't be surprised if the omission was deliberate; is there anything in POSIX that requires there to be more than one user? (Who has some arbitrary but constant UID.)

    That would be a perverse Unix, but the folklore I heard was that POSIX was deliberately designed so that non-Unixes could conform, for US government contracting reasons. (And I believe some non-Unixes once were POSIX certified.)

    In conversation about 11 months ago from mastodon.social permalink
    • Haelwenn /элвэн/ :triskell: likes this.
    • Embed this notice
      awb (awb@mastodon.sdf.org)'s status on Sunday, 23-Jun-2024 01:12:20 JST awb awb
      in reply to

      Just for reference again here with public visibility. POSIX.1-2017 says:

      "User Database

      There are no references in POSIX.1-2017 to a "passwd file" or a "group file", and there is no requirement that the group or passwd databases be kept in files containing editable text."

      #posix

      In conversation about 11 months ago permalink
    • Embed this notice
      awb (awb@mastodon.sdf.org)'s status on Sunday, 23-Jun-2024 01:12:21 JST awb awb

      Question for fellow Shell experts: Is there a POSIX-portable utility to find another user's home directory? I am looking for an alternative to ~user in scripts.

      #shell #posix #linux #unix

      In conversation about 11 months ago permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.