create_user.sh 851 B

123456789101112131415161718192021
  1. #!/bin/sh
  2. #
  3. # Copyright (c) 2016, 2024, 5 Mode
  4. # All rights reserved.
  5. #
  6. # This file is part of PHPBSDRelay.
  7. #
  8. # PHPBSDRelay is free software: you can redistribute it and/or modify
  9. # it under the terms of the GNU General Public License as published by
  10. # the Free Software Foundation, either version 3 of the License, or
  11. # (at your option) any later version.
  12. #
  13. # PHPBSDRelay is distributed in the hope that it will be useful,
  14. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. # GNU General Public License for more details.
  17. #
  18. # You should have received a copy of the GNU General Public License
  19. # along with PHPBSDRelay. If not, see <https://www.gnu.org/licenses/>.s
  20. useradd -g _PHPBSDRelay -u 555 -L daemon -s /sbin/nologin -d /var/www/PHPBSDRelay _PHPBSDRelay