root@gateway:~# adduser rundeck sudo
Adding user `rundeck' to group `sudo' ...
Adding user rundeck to group sudo
Done.
root@gateway:~# id rundeck
uid=126(rundeck) gid=136(rundeck) groups=136(rundeck),27(sudo)
root@gateway:~# visudo
#Adding so rundeck user does NOT require a password to execute a sudo command
rundeck ALL=(ALL) NOPASSWD:ALL
/bin/bash
viernes, 24 de julio de 2015
viernes, 6 de junio de 2014
Seeing apt-get changelogs for to-be-upgraded packages
sudo apt-get install apt-listchanges
sudo dpkg-reconfigure apt-listchanges
The setup file created is /etc/apt/listchanges.conf
.
[apt]
frontend=text
email_address=root
confirm=1
save_seen=/var/lib/apt/listchanges.db
which=changelogs
sudo apt-get upgrade → After Y should check the changelogs.
-------------------------------------------------------------------------
apticron - Simple tool to mail about pending package updateshttp://packages.debian.org/squeeze/apticron
http://www.cyberciti.biz/faq/apt-get-apticron-send-email-upgrades-available/
lunes, 2 de junio de 2014
This a good practice.
Made a script with the following commands
#!/bin/bash
sudo fdisk -l
chmod 755 test
username ~$ ./test
[sudo] password for username:
Trick edit visudo -f /etc/sudoers
# See sudoers(5) for more information on "#include" directives:
developer ALL=(ALL) NOPASSWD: /sbin/fdisk
username ~$ ./test
---------------------------------------------------------------------
#!/bin/bash
su -c "fdisk -l"
---------------------------------------------------------------------
/etc/sudoers en sus ubuntu. para que al tipear sudo [zanata] no pida password.
# Allow members of group sudo to execute any command
%zanata ALL=(ALL) NOPASSWD: ALL
Made a script with the following commands
#!/bin/bash
sudo fdisk -l
chmod 755 test
username ~$ ./test
[sudo] password for username:
Trick edit visudo -f /etc/sudoers
# See sudoers(5) for more information on "#include" directives:
developer ALL=(ALL) NOPASSWD: /sbin/fdisk
username ~$ ./test
---------------------------------------------------------------------
#!/bin/bash
su -c "fdisk -l"
---------------------------------------------------------------------
/etc/sudoers en sus ubuntu. para que al tipear sudo [zanata] no pida password.
# Allow members of group sudo to execute any command
%zanata ALL=(ALL) NOPASSWD: ALL
jueves, 29 de mayo de 2014
7 Linux hwclock Command Examples to Set Hardware Clock Date Time
http://www.thegeekstuff.com/2013/08/hwclock-examples/
Chef Notes
Recipes and cookbooks
Cookbooks are another area in which Chef terminology gets flaky if in a different way. You may become confused about the difference between recipes and cookbooks.Cookbooks are collections of recipes.
http://www.javahotchocolate.com/notes/chef-quick.html
Common Errors Chef
Your system clock has drifted from the actual time by more than 15
minutes. This can be fixed by syncing your clock with an NTP server.
You'll need to rerun chef-client after synching NTP.
https://wiki.opscode.com/display/chef/Common+Errors
http://www.javahotchocolate.com/notes/chef-quick.html
http://www.javahotchocolate.com/notes/ntp.html
https://help.ubuntu.com/10.04/serverguide/NTP.html
https://wiki.opscode.com/display/chef/Common+Errors
http://www.javahotchocolate.com/notes/chef-quick.html
http://www.javahotchocolate.com/notes/ntp.html
https://help.ubuntu.com/10.04/serverguide/NTP.html
miércoles, 2 de abril de 2014
Kernel 3.4 2014-03-31
- Nouveau tendrá nuevo soporte para GPU’s recientes
- Numerosas mejoras de rendimiento gráfico en los drivers Intel, a su vez se incluye el soporte para el audio Broadwell
- Grandes cambios en los drivers gráficos VMware SVGA2
- Soporte para Tegra PRIME de NVIDIA
- Numerosas mejoras en los drivers libres de AMD Radeon, incluyendo el funcionamiento pleno de RadeonSI UVD
- Soporte para el co-procesamiento criptografico de AMD
- Se incluye un Boost genérico para la CPU
- Mejoras en el rendimiento para el sistema de archivo flash F2FS
- Se incluyen nuevas características y mejoras en el sistema de archivo Btrfs
- Soporte para Xen PVH
- Se añade la función SCHED_DEADLINE
- Se actualizan BCache y blk-mq
- Soporte para los mas recientes núcleos de procesadores llamados MIPS
- Soporte para Xtensa SMP
- Se añade la nueva característica de redes llamada TCP Auto Corking
Suscribirse a:
Entradas (Atom)