mirror of
				https://github.com/neingeist/docker-mod-openssh-server-tweaks.git
				synced 2025-11-04 03:14:24 +01:00 
			
		
		
		
	✨ TWEAK_USERS_GID
This commit is contained in:
		
							parent
							
								
									10ef3975d1
								
							
						
					
					
						commit
						a1e710380e
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -11,4 +11,9 @@ if [ -n "$TWEAK_USER_HOME" ]; then
 | 
			
		|||
    usermod --home "$TWEAK_USER_HOME" "$USER_NAME"
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
if [ -n "$TWEAK_USERS_GID" ]; then
 | 
			
		||||
    echo "Setting gid of group users to $TWEAK_USERS_GID"
 | 
			
		||||
    groupmod -g "$TWEAK_USERS_GID" users
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
echo "[openssh-server-tweaks] done"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue