Linux shell restricting access
November 14th, 2007Block shell access for user vivek (vivek user account must exits):
Example: # usermod -s /usr/sbin/nologin vivek
Resource: http://www.cyberciti.biz/tips/howto-linux-shell-restricting-access.html
"The only way of finding the limits of the possible is by going beyond them into the impossible." -
Arthur C. Clarke
Block shell access for user vivek (vivek user account must exits):
Example: # usermod -s /usr/sbin/nologin vivek
Resource: http://www.cyberciti.biz/tips/howto-linux-shell-restricting-access.html
Command: lsof -p processID
Example: lsof -p 4048
More info, source: http://forum.ensim.com/showthread.php?t=18798
In Office 2003 you can run the Save My Settings Wizard to save your profiles or restore previously saved profiles.
The Save My Settings Wizard is typically installed with Office.
Click Start > All Programs > Microsoft Office > Microsoft Office Tools
(If the Save My Settings Wizard does not appear on the Microsoft Office Tools menu, the wizard is not installed.)
Save Settings
The Save the settings from this machine option instructs the wizard to capture your Office configuration settings from the Office programs that you have installed.
To save your settings, follow these steps:
1. Quit all Office programs.
2. Click Start, point to All Programs, point to Microsoft Office, and then point to Microsoft Office Tools.
3. Click Microsoft Office 2003 Save My Settings Wizard.
4. In the Save My Settings Wizard, click Next.
5. Click Save the settings from this machine, and then click Next.
6. Type the location where you want to save the file, and then click Finish.
—
Restore Your Previously Saved Settings
The Restore Your Previously Saved Settings option instructs the wizard to restore your Office configuration settings from the .ops file that you specify.
To restore your settings, follow these steps:
1. Quit all Office programs.
2. Click Start, point to All Programs, point to Microsoft Office Tools, and then click Save My Settings Wizard.
3. In the Save My Settings Wizard, click Next.
4. Click Restore previously saved settings to this machine, and then click Next.
5. In the File to Restore Settings From box, type the path of the location of your .ops file, and then click Finish.
NOTE: When you transfer email accounts, your passwords are not transfered, so you will need to add the passwords one-by-one.
You will need to export the rules from source machine and import to destination machine.
EXPORT
Go to
IMPORT
Go to
wget
Example: wget http://wilmer.gaast.net/downloads/axel-1.0b.tar.gz
cd /usr/tom
chown -R tom:group *
All of the commands below assume that you are within the same directory that the compressed file is in.
Type ls {enter} to be sure
How to unzip a .tar.gz/.tgz file?
To extract .tar.gz or .tgz files, run the following command in a terminal:
tar -zxvf file.tar.gz (or file.tgz)
This will normally create a new directory based on the filename. If you want to extract a filename called file.tar (without the .gz) simply run:
tar -xvf file.tar
For more information, in a terminal, type man tar
http://www.linuxhelp.net/newbies/#unzip