Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create users_sync.sh #78

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
set shell to false
  • Loading branch information
EvilOlaf authored Jun 12, 2024
commit ad3abd822be0e6785a72a11857da7bc1946b17b6
2 changes: 1 addition & 1 deletion utils/users_sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ for i in $ORGMEMBERS; do

# create local user and directory
echo "$i - no local directory found. Creating..."
if ! useradd -m -s /bin/bash -G "$SFTPGROUP" -d "$USERPATH"/"$i" "$i"
if ! useradd -m -s /bin/false -G "$SFTPGROUP" -d "$USERPATH"/"$i" "$i"
then
echo "$i's directory could not be created for whatever reason"
exit 1
Expand Down
Loading