<commit_before>#!/bin/bash
# Script para agregar un usuario al sistema
if [ $(id -u) -eq 0 ]; then
	username="ansibleUser"
	password="<PASSWORD>"

	egrep "^$username" /etc/passwd >/dev/null

	if [ $? -eq 0 ]; then
		echo "$username ya existe!"
		exit 1
	else
		pass=$(perl -e 'print crypt($ARGV[0], "password")' $password)
		useradd -m -p $pass $username
		echo "ansibleUser ALL=(ALL) ALL" | cat >> /etc/sudoers 
fi
else
	exit 2
fi <commit_msg>Mod añadeUsuario.sh<commit_after>#!/bin/bash
# Script para agregar un usuario al sistema
if [ $(id -u) -eq 0 ]; then
	username="ansibleUser"
	password="<PASSWORD>"

	egrep "^$username" /etc/passwd >/dev/null

	if [ $? -eq 0 ]; then
		echo "$username ya existe!"
		exit 1
	else
		pass=$(perl -e 'print crypt($ARGV[0], "password")' $password)
		useradd -m -p $pass $username
		echo "ansibleUser ALL=(ALL) NOPASSWD: ALL" | cat >> /etc/sudoers 
fi
else
	exit 2
fi 
{'fraction_non_alphanumeric': 0.16371681415929204, 'fraction_numerical': 0.011061946902654867, 'mean_word_length': 3.7135416666666665, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1304942', 'n_tokens_mistral': 377, 'n_tokens_neox': 346, 'n_words': 108}