Install gnome-shell on Ubuntu 11.10 (Oneiric Ocelot)

Try and install gnome if you don’t want to switch from it because of Unity.

Here are the steps:

1. Open shell and run

sudo apt-get install gnome-shell

2. Once the installation is complete, reboot.
3. Switch to the desired shell from the login window.
Note: If you encounter errors or failures during previous step for any dependent packages then you may want to update the packages by running

sudo apt-get -f install

 

Copy Printer configuration from on server to another

On server “A”

1.Open “sam ->Printers and Plotters->LP Spooler-> Save/Restore Spooler Configuration”
2.Go to “Actions”
3.Click on ‘Save Spooler Configuration’
4.Exit out of SAM
5.tar cvf /tmp/sam.tar /var/sam/lp
6.Transfer the sam.tar file to system B:/tmp.

On server “B”

1.tar xvf /tmp/sam.tar
2.You may need to change the permissions and ownership of these files. To do that run:
chmod -R 755 /var/sam/lp/* ; chown -R lp:bin /var/sam/lp/*
3.Open “sam ->Printers and Plotters->LP Spooler-> Save/Restore Spooler Configuration”
4.Go to “Actions”
5.Click on ‘Restore Spooler Configuration’
6.Don’t forget to restart the scheduler
7.Exit out of SAM

Recover HP-UX root password

If you lost the root password on system running HP-UX, perform the following steps:

Ask all other users to log off the workstation.
Type the command sync four times to clear the buffer cache.
If you have installed sudo, or if you have enabled a user other than root to reboot the machine, reboot your workstation.
If you can not reboot the machine, press the reset button to force a reboot. Don’t press the reset button unless you can’t get the machine to reboot any other way.
During the reboot, press the ESC key to interrupt the reboot.
This will bring you to the BOOT_ADMIN prompt. From here, boot to the ISL with the command boot scsi.X.0 isl where scsi.X.0 is the SCSI address of your internal disk drive. (To find that address, use the path command at the BOOT_ADMIN prompt.)
Now you are at the ISL prompt. Boot up into single user mode with the command hpux -is (or if you are still running 9.X use the command hpux -is boot disk(scsi.X;0)/hp-ux, where again scsi.X.0 is the SCSI address of your internal disk drive.)
After the machine has come up in single user mode, you can try to set the root password by running the passwd command. If the program will run, you can enter the new password now. Reboot again (command reboot) and you are done.
If the passwd program will not run in the single user mode, manually edit the /etc/passwd file (be careful!) and take out the root password (second field), leaving the 2 colons side by side.
Now, quickly reboot the machine (reboot) and log in as root. No password is required. Immediately run the passwd command and set a password for root.
It’s important to minimize the time between removing the root password from the /etc/passwd file and resetting the password with the passwd command.
During this time, your system is wide open.