Last active
August 29, 2015 14:04
-
-
Save miltonlab/67b88b9aac250e1cb034 to your computer and use it in GitHub Desktop.
Gnu / Linux scripts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# --------------------------------------------------- | |
# Update LinuxMint to v17 | |
# --------------------------------------------------- | |
sudo sed -i 's/raring/trusty/' /etc/apt/sources.list | |
sudo sed -i 's/olivia/qiana/' /etc/apt/sources.list | |
sudo sed -i 's/raring/trusty/' /etc/apt/sources.list.d/official-package-repositories.list | |
sudo sed -i 's/olivia/qiana/' /etc/apt/sources.list.d/official-package-repositories.list | |
sudo apt-get update | |
sudo apt-get dist-upgrade | |
sudo apt-get upgrade | |
sudo reboot | |
# --------------------------------------------------- | |
# Return a especific version (on time) on git repositori | |
# --------------------------------------------------- | |
git reset --hard 2b3b1c3230ac0aaa58a22664c278b910b1611191 | |
# --------------------------------------------------- | |
# Samba server configuracion ok | |
# --------------------------------------------------- | |
# Posible solution for gui client filemanager autentication | |
sudo apt-get install auth-client-config | |
#1. Specify Guest acces YES in Security Defaults | |
#3. Specify 'User level' in Security at 'Windows Networking Options' | |
#4. Specify a Workgroup and a Server name in FileShareDefaults | |
#5. Create a system user with "adduser" command | |
#6. Agregate as samba user with "smbpasswd" -a command | |
#7. Specify 'valid users' and 'write list' or 'valid groups' and 'Read/write group' to control access and edition in resource | |
# Very important: The shared resource must have owner or group shared at system level (with write permissions) to edit correctly. | |
# Interesting link: https://www.gestudio.com/blog/view/configurando_samba_a_fondo | |
# --------------------------------------------------- | |
# Samba 4 Domain LDAP configuracion | |
# --------------------------------------------------- | |
samba-tool domain provision --use-rfc2307 --interactive |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment