5 Replies Latest reply on Dec 16, 2016 9:42 AM by Bill Robinson

    User account with ssh public key?

      We are migrating from a traditional managed Linux environment towards managing with BSA. Now I want to create a blpackage containing all user accounts for a specific team. Every user has a ssh public key which is used for authentication. So I want the blpackage to not only create the users, but also to install the ssh public key.

      • If I put in an "add" action for the file $HOME/.ssh/authorized_keys (with public key as content), what would happen if the file already exists?
      • Is there a known config file grammar for authorized_keys files?
      • Or is there a better way to install the public key (making sure that re-running the package would not re-install the already installed key)

      Open for discussion