mirror of
				https://github.com/drwetter/testssl.sh.git
				synced 2025-10-31 05:45:26 +01:00 
			
		
		
		
	| @@ -26,7 +26,8 @@ FROM scratch | |||||||
| ARG INSTALL_ROOT | ARG INSTALL_ROOT | ||||||
| COPY --link --from=builder ${INSTALL_ROOT} / | COPY --link --from=builder ${INSTALL_ROOT} / | ||||||
| # Create user + (home with SGID set): | # Create user + (home with SGID set): | ||||||
| RUN  echo 'testssl:x:1000:1000::/home/testssl:/bin/bash' >> /etc/passwd \ | RUN  ln -s /usr/bin/busybox /usr/bin/tar \ | ||||||
|  |   && echo 'testssl:x:1000:1000::/home/testssl:/bin/bash' >> /etc/passwd \ | ||||||
|   && echo 'testssl:x:1000:' >> /etc/group \ |   && echo 'testssl:x:1000:' >> /etc/group \ | ||||||
|   && echo 'testssl:!::0:::::' >> /etc/shadow \ |   && echo 'testssl:!::0:::::' >> /etc/shadow \ | ||||||
|   && install --mode 2755 --owner testssl --group testssl --directory /home/testssl \ |   && install --mode 2755 --owner testssl --group testssl --directory /home/testssl \ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Dirk Wetter
					Dirk Wetter