martes, 2 de abril de 2013

Evitar que el usuario modifique fecha y hora en windows

Para hacer que el usuario no pueda modificar mas la hora hay que proceder de la siguiente mandera:

1. Ir a windows/system o windows/system32 y buscar el archivo timedate.cpl (es el que controla la fecha y hora del sistema).
2. Cuando lo encuentres renombra el fichero a timedate_old.cpl (o lo que quieras). Despues de hacer eso el usuario no deberia dejar cambiar ni la fecha ni la hora.
3. Para volver hacer que se modifique la hora solo tienes que volver a renombrar el archivo a su nombre original.



lunes, 1 de abril de 2013

How to reset your password in Ubuntu

There are many reasons you might want to reset a password:

  • Someone gave you a computer with Ubuntu installed on it but not the password for the user account.
  • You just installed Ubuntu and forgot what password you selected during the installation process.
  • You have too many passwords in your life and can't keep track of them all.
Well, this tutorial will help you reset your Ubuntu user account password, regardless of what reason you have for resetting it.

First, you have to reboot into recovery mode.

If you have a single-boot (Ubuntu is the only operating system on your computer), to get the boot menu to show, you have to hold down the Shift key during bootup. If it doesnt work try to reboot your computer, and then as soon as you see the GRUB Loading screen, make sure to hit the ESC key so that you can get to the menu.

If you have a dual-boot (Ubuntu is installed next to Windows, another Linux operating system, or Mac OS X; and you choose at boot time which operating system to boot into), the boot menu should appear without the need to hold down the Shift key.


From the boot menu, select recovery mode, which is usually the second boot option.


After you select recovery mode and wait for all the boot-up processes to finish, you'll be presented with a few options. In this case, you want the Drop to root shell prompt option so press the Down arrow to get to that option, and then press Enter to select it.

The root account is the ultimate administrator and can do anything to the Ubuntu installation (including erase it), so please be careful with what commands you enter in the root terminal.

In recent versions of Ubuntu, the filesystem is mounted as read-only, so you need to enter the follow command to get it to remount as read-write, which will allow you to make changes:

mount -o rw,remount /


If you have forgotten your username as well, type

ls /home
That's a lowercase L, by the way, not a capital i, in ls. You should then see a list of the users on your Ubuntu installation. In this case, I'm going to reset Susan Brownmiller's password.

To reset the password, type

passwd username
where username is the username you want to reset. In this case, I want to reset Susan's password, so I type
passwd susan

You'll then be prompted for a new password. When you type the password you will get no visual response acknowledging your typing. Your password is still being accepted. Just type the password and hit Enter when you're done. You'll be prompted to retype the password. Do so and hit Enter again.

Now the password should be reset. Type

exit
to return to the recovery menu.


After you get back to the recovery menu, select resume normal boot, and use Ubuntu as you normally would—only this time, you actually know the password!



miércoles, 27 de marzo de 2013

Quickly Enable Root Login in Ubuntu 12.10

To get started, press Ctrl – Alt – T on your keyboard to open the terminal. When it opens, run the commands below to create a root password.

sudo passwd root

 

It will ask for your user password and then por de root password twice. With those steps you changed the root password for one you know

Next, run the commands below to enable root login in Ubuntu 12.10

sudo sh -c 'echo "greeter-show-manual-login=true" >> /etc/lightdm/lightdm.conf'

 

 

Restart your computer and select Login on the Login Screen. Then type the root username and password.

 


Ejecutar archivo "run" en Ubuntu 12.10

Para ejecutar un archivo "run" en Ubuntu 12.10 (por lo general usado por drivers) se debe seguir estos pasos:

1. Mover el archivo a nuestra carpeta personal (/home/nombre_usuario)
2. Hacer clic derecho, propiedades e ir a la sección "Permisos"
3. En ella seleccionar la casilla "Permitir ejecutar el archivo como un programa"
4. Cerrar la ventana de propiedades
5. Hacer doble clic sobre el archivo (esto abrirá un cuadro de dialogo) y seleccionar "Ejecutar"

NOTA: Tener paciencia dado que puede demorar bastante en abrir (esto es porque descomprime ciertas cosas para su ejecución)

Listo!

How To Install Additional Drivers In Ubuntu 12.10


As soon as you install a fresh Ubuntu 12.10, you will miss one thing: Additional Drivers. Earlier you could simply search for it in Unity dash but unfortunately Ubuntu 12.10 has moved the Additional Drivers to Software Sources and this is why you cannot find it in Unity dash. So if you are looking to install additional drivers, here is what you need to do:

Go in Ubuntu Unity Dash and search for Software Sources:

Ubuntu-Software-Center-Unity-Dash

In the Software Center, go to the Additional Drivers tab:

Additional-Drivers-Ubuntu-12.10

Here you will find all the additional drivers available for your computer in Ubuntu 12.10.


jueves, 14 de marzo de 2013

Generate a new SID on Windows Server 2008 and Windows 7 (sysprep)

With the NewSID tool no longer supported by Microsoft for more recent versions of Windows, you may find yourself in a situation where you need to generate a new SID on a Windows Server 2008 or Windows 7 computer, and wonder which tool you need to use. I myself have run across an issue in the past in our development environment where duplicate SIDs caused a problem. Care needs to be taken when cloning Windows virtual machines, particularly if they will later be used as domain controllers.

In order to avoid any issues like this, the new preferred method to set a new SID on a Windows machine is to use Sysprep. Before running Sysprep, you may wish to verify the current SID on the sytem that you wish to modify. This can easily be done by running the psgetsid utility, which is part of the excellent Pstools developed by Mark Russinovich. The output of the psgetsid command can be seen below, showing the current machine SID:

Output of psgetsid before running Sysprep on Windows Server 2008 R2

 Next you can sysprep by running the following command:

C:\Windows\System32\Sysprep\sysprep.exe

Running Sysprep
 
On the Sysprep, screen make sure that you tick the 'Generalize' tick box as shown below:
 

Choose settings for the System Preparation Tool

 The Sysprep process will take a few minutes to run, and will automatically reboot the system if you chose to do so. On reboot, the following screen will be displayed. Click 'Next' to continue:

 

Click next to continue the Sysprep process

 After the sysprep process is complete, you can run psgetsid again to verify that a new SID has been generated for this computer:

Output of psgetsid after running Sysprep on Windows Server 2008 R2

martes, 5 de marzo de 2013

Background-Image “fullscreen” ajustable a Ventana con CSS3

Método para crear un efecto fullscreen de una imágen usada como fondo sin necesidad de utilizar javascript. Para ello solo vamos a utilizar CSS y su propiedad background-size: cover.

La propiedad "background-size: cover" nos permite escalar el tamaño de las imágenes de fondo (background), en lugar de el comportamiento predeterminado del mosaico de la imagenes.

* para su visualización correcta requiere o bien un navegador basado en Gecko, WebKit (Safari y Google Chrome, por ejemplo) y Opera.

html {
    background: url(bg.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

DEMO DESCARGAR



Cambiar tamaño de fuente al reducir la ventana (HTML / CSS)

Cambiar el tamaño del texto a medida que se reduce el tamaño de la ventana (HTML5 / CSS3)   . container { border : solid 1px blue ; ...