General :: Encrypt A Shell Script?

Aug 23, 2010

is there any good way to encrypt a bash script to make no one view its contents & so cant edit it

View 14 Replies


ADVERTISEMENT

General :: Crypt() Perl Function To Encrypt Password In Shell Scripts Or Encrypt Passwords?

Jan 8, 2010

I Have shell script like this

Code:
#!/usr/bin/expect
set password "XXXXXXXX"

[code]...

View 13 Replies View Related

Security :: How To Encrypt Shell Scripts

Apr 1, 2010

We have some script files on our linux servers. For security purpose our requirement is to keep these files encrypted . I mean when we open the files it will looks like as for example i am showing you one encripted file of iur server. how can i do this.

one encrypted files from our server:-

[utibaadm@AIRTELVTUD2_UVAS01server_monitoring]$cat SOUTH_DTH_MONITOR.sh
#!/bin/sh
skip=14
tmpdir=`/bin/mktemp -d ${TMPDIR:-/tmp}/gzexe.XXXXXXXXXX` || exit 1
prog="${tmpdir}/`echo "$0" | sed 's|^.*/||'`"

[Code].....

View 3 Replies View Related

General :: Encrypt The Sessions In Red Hat 4.2

Feb 15, 2010

How to encrypt the sessions in red hat 4.2.

View 4 Replies View Related

General :: How To Encrypt A Single File

Sep 14, 2010

I need to temporarily store a file containing sensitive data in a public server, in a secure way. I think that encrypting the whole file would be much more secure than creating a passworded .zip encrypted file, because they could be subject of brute force attacks. Attacking a whole file of unknow format is harder, I think. I thought of something like the command:

Code:
$ programidontknow --encrypt mysensitive.file --output-file mumblerumble.file
then the program asks interactively for a password)
$ ls
mysensitive.file mumblerumble.file

So I get one file that may look like junk. I tried to search how to do it with GnuPG. But it seems that GnuPG needs much configuration I dont want to do. I simply want to type the password one time to get the file. It doesnt need to retain any configuration for what I want to do. In similar scenario, I would want to do this on a machine/account that is not mine.

View 7 Replies View Related

General :: Command - Encrypt A File Or Directory?

Feb 23, 2011

What 's the most popular command to do such things in terminal in linux?

View 4 Replies View Related

General :: Encrypt And Decrypt Password In Profile?

Jul 27, 2011

How do i encrypt & decrypt password in a file for security reason ? is there any shell scripts available to do the same?

OS : aix 5.3

View 3 Replies View Related

General :: Encrypt An Existing Partition While Preserving Its Data?

Nov 30, 2010

If I have a partition like /dev/hd1 that is unencrypted and want it to be encrypted, but want to keep everything currently in that partition, how can I do that?

View 2 Replies View Related

General :: Program To Encrypt Folders That Works In Windows

Jan 18, 2011

I'm using a crypt solution called DriveCrypt(for windows). But now I need a solution that does the same that DriveCrypt does but must to work in both Windows and Linux.Somebody know some software that works in Linux and Windows to encrypt folders?

View 2 Replies View Related

General :: Encrypt System Folders Without A Desktop Environment?

Jul 8, 2010

i have a centos 5.4 without desktop environment. i can only access certain system settings via browser (and of course console). i would like to encrypt some folders. but these folders are used by the system. can i encrypt them? will the system still be able to access these folders? if yes, how can i encrypt only through console or is there something web based software for this?

View 12 Replies View Related

General :: SSH Uses A Keypair To Encrypt Traffic Between The Host And Client

Dec 1, 2010

SSH uses a keypair to encrypt traffic between the host and client. Which key is stored by the client ?

View 2 Replies View Related

General :: $HOME/.bashrc Disabled When User Shell Is 'rbash' (restricted Shell)?

Jun 15, 2011

MACHINE: HP Proliant DL260G5OS: SLES 11 SP1kernel: Linux xserver 2.6.32.12-0.7-default #1 SMP 2010-05-20 11:14:20 +0200 x86_64 x86_64 x86_64 GNU/LinuxIt is used as remote xserver in a LAN.I have configured /usr/lib/restricted/bin/.rbashrc with some environment variables but when the users logon in the system finally is executed $HOME/.bashrc and some environment vars are overwritten.

View 2 Replies View Related

General :: Encrypt Using OpenPGP Certain Outgoing Emails On My Linux Server?

Aug 20, 2010

I am looking to be able to encrypt using OpenPGP certain outgoing emails on my linux server. Currently I have GPG setup with a public key, however encryption outgoing emails prooved to be harded.After a bit of research I have found GNU Anubis which acts as a middlemad between the MUA and the MTA, by encrypting emails before they reach my MTA (Sendmail)However I am having a bit of problem with the configuration of bind and remote-mta, as specified by anubis.I have the sendmail service running on port 25 and I want to leave it there, but I have configured my php.ini SMTP port to 24. So it runs through port 24 first and anubis then forwards the emails via remote-mta to port 25Here are my anubis configs:

bind localhost:24
local-mta /path/to/my/sendmail
remote-mta localhost:25

With all those set, I can't seem to get the basic modication of emails to work. (trying to change a certain subject to something else, just to see that anubis is working). However emails are still working with port 24 as the SMTP port.

View 1 Replies View Related

General :: How Can I Make Debian Encrypt And Decrypt My Home Folder

Jul 25, 2010

How can I make Debian encrypt and decrypt my home folder when I log in/out like Ubuntu does?

View 1 Replies View Related

General :: Encrypt Full Partition Instead Of Creating A File And Encrypting It?

Jan 8, 2010

I want to encrypt Full partition instead of creating a file and encrypting it, and also want to move this disk to another server. do i need some files also (that hold keys) with my self on new server. i am using FC11.

View 2 Replies View Related

General :: Write A Shell Script Instead Of Shell Function?

Apr 27, 2011

I would like know when it is necessary or advisable to write a shell script instead of shell function ?

View 3 Replies View Related

General :: Open A New Shell From A Shell And Switch Between Them?

Jan 18, 2011

I am wondering if I can open a shell or new terminal thing from within the terminal in a unix/linux enviroment. Particularly a commandline only one where there is no GUI. Is this doable? how do I do it?

View 3 Replies View Related

OpenSUSE :: Encrypt A CD ROM Just As Would A Disk

Feb 16, 2011

I was asked today if it was possible to encrypt a CDROM just as you would a disk - and I drew a blank. The question came up discussing a database we maintain with a lot of the organizations financial info plus ersonal membership data. Can I create and mount an encrypted CD? What are the performance effects? Is it a viable one to two year archive medium? The plan is to store period off-site backups and I can't get a grasp on the feasibility.

View 7 Replies View Related

Ubuntu :: No Option To Encrypt After PGP Key-gen / Need That

Feb 22, 2010

I would like the ability to right-click on a file and encrypt it, but after genning the PGP key pair in seahorse that option doesn't exist on the pop-up menu.

View 6 Replies View Related

Ubuntu :: Encrypt USBkey In 10.04?

Jul 10, 2010

Is there an easy way to encrypt a usbkey in 10.04?

Do not mind getting my hands dirty in a terminal

View 1 Replies View Related

Networking :: How Does Ssh Encrypt Connections

Feb 27, 2010

I'm a bit confused about how ssh encrypts connections. I've read a few articles on ssh and they talk about 'keys pairs' (that is public and private keys) on the server and client computers. However, ssh doesn't seem to use these keys for encryption. What are the keys it uses? This question occurred to me when I was trying to make a remote login to an Ubuntu machine. From a remote login perspective, I haven't generated keys on my client machine and haven't enabled key based logins in ssh. (I use the default password based login). If there aren't any keys on my client, then how does encryption work?

View 9 Replies View Related

Ubuntu :: GPG Encrypt As Plain Text?

Jan 16, 2010

With the gpg command I used to encrypt files so they saved as plain text (the encrypted files were viewable in a plain text editor though were a encrypted nightmare)

I just forget the option in the gpg command to do this and I can't find it in a hurry either in the man file

View 6 Replies View Related

Ubuntu Security :: Backup And Encrypt Using GPG

Jan 20, 2010

I'm currently writing a simple script which uses luckyBackup to backup my /home directory to /tmp. I then want to tar it, encrypt it with gpg and move it onto a usb stick. My question is that suppose my hard disk died and I needed to restore from this USB backup, would I still be able to decrypt the file given that I would have lost gpg keys etc when the disk died? (I would still know the passphrase though). Should I be backing up gpg files separately?

View 9 Replies View Related

Ubuntu :: Un-encrypt LVM/home Directory?

Feb 19, 2010

if these are set to be encrypted on installation how would I go about changing that?

View 2 Replies View Related

Ubuntu Security :: How To Encrypt Emails

Mar 14, 2010

Im using gmail with https always turned on but what programs can i use to easily encrypt emails? Is pretty good privacy easy to use?

View 9 Replies View Related

Ubuntu Installation :: Use The Alternate So Can Encrypt The Hd?

Apr 17, 2010

have been trying for many hours to install Ubuntu 9.10, on a system that already had 9.10 installed on it at one point (so I know it should work!) I am using an alternate install, from a USB thumb drive. I use the alternate so I can encrypt the hd. Everything goes smoothly until I am to select extra packages to be installed. The only package I select is the ubuntu-desktop, and around 80% progress, or so, it fails. I then try and complete the base install, and then login to the command prompt and install there:

sudo apt-get install ubuntu-desktopIt then requests the Ubuntu disc, which of course I don't have. It has a landline internet connection. Do I need to configure something to tell it to look to the mirrors to find the desktop? Or, should it have been included in my iso image originally

View 1 Replies View Related

Ubuntu :: Encrypt The File List Too?

May 19, 2010

I use this line to line to archive and password protect my files (with zero compression):7z a -p -t7z -mx0 ~/Documents.7z ~/Documents In the attached picture, I notice there is a check box to 'Encrypt the file list too' via the GUI 7z method. How could I add this option to the above 7z line?

Also I think rar allows you to 'Encrypt the file list too'. Could someone also give me a rar line similar to 7z a -p -t7z -mx0 ~/Documents.7z ~/Documents but that has the 'Encrypt the file list too' feature added?

View 3 Replies View Related

Ubuntu :: Possible To Encrypt Entire Device

Jun 28, 2010

I just bought a new Kingston DataTravler G2 16GB usb drive and was wondering if it was possible to encrypt the entire device.As in, it would require a password before even seeing any files. If possible I'd like something that works on all OS's but if not any suggestions would be great.

View 3 Replies View Related

Ubuntu :: How To Encrypt A Single File In 10.04

Jul 5, 2010

How do I go about encrypting a file in Ubuntu 10.04?

View 9 Replies View Related

Ubuntu Security :: Lock Or Encrypt An Ext Hdd?

Jul 27, 2010

I have a ext hdd..seagate go. And my 14 yr old son likes to get into it without asking me; of course i dont care when he asks but i don't really want him to get in there and erase anything. I am about to leave for training for 18 weeks with the military. Is there a way i can "secure" the drive for the amount of time that I can't take it with me?

View 8 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved