02-06-2011
You can look into the UNIX crypt command that will password protect your
file, but it only uses on password.
crypt key < clear.file > encrypted.file
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I need to password protect a particular file on one of my websites. Is it possible to password protect the entire directory? Or can I only password protect one file.
How do I do this? Does it have to do with the .HTACCESS file on my unix server?
Please Help!
~ :confused: ~ (2 Replies)
Discussion started by: iriemember
2 Replies
2. Shell Programming and Scripting
Good day
I would like to know if at all possible how to secure scripts. Assume ksh in AIx. Is there a way that I can avoid users from reading it other than chmod ?
Thx
J (2 Replies)
Discussion started by: jhansrod
2 Replies
3. Solaris
Hi all,
Just out of interest does anyone know how to password protect directories in Solaris? I have had a google search but just got a load of info about how to do it for webservers and apache, it needs to be Operating System level. Had a look on the Sun site as well but couldn't find... (1 Reply)
Discussion started by: B14speedfreak
1 Replies
4. UNIX for Dummies Questions & Answers
Hello, I am hoping someone maybe able to help me.
I have set up an Apache web server on my sun server with user accounts in the main htdocs directory. My question is how to stop these users searching up the directory tree when they ftp/telnet to the server. Also is it possible to restrict the... (2 Replies)
Discussion started by: rooneyl
2 Replies
5. UNIX for Advanced & Expert Users
I am trying to setup a computer where only the database can read/write to a partition. Basically, all other entities should fail. One thing I was thinking about was making the database own the partition itself (is this even possible?) but the problem is if someone can masquerade as the database... (4 Replies)
Discussion started by: Legend986
4 Replies
6. UNIX for Dummies Questions & Answers
Hi,
Is there a way to password protect a dir in linux ??
I need to protect the tmp folder of a JBoss server instance running on Linux RedHat os.
I cannot change permissions cause, the root password is shared and a number of people login via that.
also if possible can i restrict the root... (2 Replies)
Discussion started by: akshay61286
2 Replies
7. UNIX for Dummies Questions & Answers
Hi
We send *.csv with sensitive data to our customers. Our customers open those files with Excel.
A new requirement is that we password protect those CSV files.
I thought to pack them with ZIP and assign a password to the archive.
But Solaris 10 can't encrypt ZIP files.
$ zip -P... (12 Replies)
Discussion started by: slashdotweenie
12 Replies
8. Shell Programming and Scripting
Hi,
I want to make Excel files password protected present in my Unix directory. I have a application which will basically invoke a shell script with a parameter passed. The purpose of shell script would be to pop up a box to enter password. This password will be validated against database entry... (1 Reply)
Discussion started by: anil029
1 Replies
9. AIX
Hello AIX experts,
How can I protect my backups using password?
I'm waiting any solution.
Thanks (2 Replies)
Discussion started by: Mohannad
2 Replies
10. Shell Programming and Scripting
Hi Guys,
I am generating a csv file using a shell script in Unix. Please can you guys advise if I can also password protect the file.
Best Regards,
Shaz (5 Replies)
Discussion started by: Shazin
5 Replies
dxchpwd(1X) dxchpwd(1X)
NAME
dxchpwd - Create or change password program
SYNOPSIS
dxchpwd
dxchpwd -r | -l
dxchpwd [-r | -l] -q
dxchpwd [-r | -l] -u username
OPTIONS
If dxchpwd is invoked without any options, it is assumed that the current user's password is to be changed. The following options are also
accepted: Tells dxchpwd that the password change is to be done for a Local user. This can be combined with the -u and -q options. Tells
dxchpwd that the password change is to be done for a NIS user. This can only be done from a NIS master and can be combined with the -u and
-q options. Tells dxchpwd to query the user for the user name of the account whose password is to be changed. Tells dxchpwd to change
this user's password.
DESCRIPTION
The dxchpwd command lets you change your password. When you invoke the dxchpwd command, the program prompts you for the old password and
then for the new password. Next, the program asks you for the new password again, to verify that you have typed it correctly. Note that
the passwords are not displayed on the screen.
Your new password must meet the length requirements specified by the authorization database for the user whose password is being changed.
If your system is running with enhanced security, you may have to choose a password from a list of randomly generated passwords or you may
be prohibited from changing your password until its minimum lifetime has expired, as specified in the authorization database.
EXAMPLES
The following example requests that the password be changed for user smith: dxchpwd -u smith
FILES
Password file Protected Password Database dxchpwd executable
SEE ALSO
X(1X), xdm(1X), passwd(1)
dxchpwd(1X)