secure appending file to secret directory without password


 
Thread Tools Search this Thread
Special Forums Cybersecurity secure appending file to secret directory without password
# 1  
Old 06-14-2010
secure appending file to secret directory without password

Good evening,
I am new to linux. I have such a problem: there are my and my boss's account. I create a file and want to "append" it to his specific directory, I don't want to have any other rights(like write),passwords, I don't want to see content of the directory. Even anybody can append to this dir. Change and delete may only my boss.

I don't want something complicated like cvs, however I want this to be secure and quick.

Is it easy to do it in Linux? BTW, let's imagine it's one machine with 2 users.

Thanks in advance.

G2

---------- Post updated 06-14-10 at 08:19 AM ---------- Previous update was 06-13-10 at 01:25 PM ----------

This probably won't do

chmod o=wx DIR

I don't want to be able to change the file
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Cybersecurity

Best, secure way to ssh without needed password?

Hi, Wondering if anyone could suggest the best way to complete this. I have a remote server that hosts a forum what i want to finish configuring my monitoring via Nagios. now because my home network uses a Dynamic IP nagios fails to work once the IP changes. Another way to run the checks... (1 Reply)
Discussion started by: springs2
1 Replies

2. Shell Programming and Scripting

Appending code in a directory recursively based on a certain criteria

i am stuck with this strange problem..... maybe you can help. i have one master_file which has two column username and id_number separated by , somewhat like : cat master_file : sample,1234567 javacode,4567891 companion,23456719 adamsandler,1237681 tomcruise,56328910 bradpitt,901236781... (9 Replies)
Discussion started by: mukulverma2408
9 Replies

3. Shell Programming and Scripting

Appending all files that are in a directory

Hi, This might be a question that has an easy solution but im new to unix. I have a project where I have to append files that are in a directory and then read those files out. can anyone help me this this problem??? thanks in advance, TDS (1 Reply)
Discussion started by: TDS
1 Replies

4. Shell Programming and Scripting

Appending a string to all files in a directory

Hi, I will have to append a common string at the beginning of each and every line to all files in the same directory. How do i do this? (1 Reply)
Discussion started by: ragavhere
1 Replies

5. AIX

How to use SSH Secure File Transfer tool from windows to AIX without password?

If I use SSh Secure File Transfer tool on Windows, I want to transfer file from windows to AIX without password, how to do it? (6 Replies)
Discussion started by: rainbow_bean
6 Replies

6. Solaris

password less login from openssh to SSH Secure Shell 3.0.1 Sun solaris 7

Hi, I would like to login from a Sun server running ssh: Sun_SSH_1.1, SSH protocols 1.5/2.0, OpenSSL 0x0090704f to ssh: SSH Secure Shell 3.0.1 on sparc-sun-solaris2.6 How can I achieve this? Thanks a million in advance (1 Reply)
Discussion started by: newbewie
1 Replies

7. Shell Programming and Scripting

Entering secret password

Hello All, I am trying to write a script when executed, asks you for the password, and confirm password; it should save to a file and also entered password should not be in clear text on the console - should be as **** Can somebody give me direction in writing this in shell? Thanks Chiru (4 Replies)
Discussion started by: chiru_h
4 Replies
Login or Register to Ask a Question
newkey(1M)																newkey(1M)

NAME
newkey - create a new Diffie-Hellman key pair in the publickey database SYNOPSIS
[ [ DESCRIPTION
establishes new public keys for users and machines on the network. These keys are needed when using secure RPC or secure NFS service. prompts for a password for the given username or hostname and then creates a new public/secret Diffie-Hellman 192 bit key pair for the user or host. The secret key is encrypted with the given password. The key pair can be stored in the file, the NIS map, or entries in the LDAP directory. consults the entry in the name service switch configuration file (see nsswitch.conf(4)) to determine which naming service is used to store the secure RPC keys. If the entry specifies a unique name service, will add the key in the specified name service. However, if there are multiple name services listed, cannot decide which source to update and will display an error message. The user is required to specify the source explicitly with the option. In the case of NIS, should be run by the superuser on the master NIS server for that domain. In the case of LDAP, should be run by the superuser on a machine that has permission to update the entries in the LDAP directory. Options Create a new public/secret key pair for the privileged user at the given hostname. Prompts for a password for the given hostname. Create a new public/secret key pair for the given username. Prompts for a password for the given username. Update the database in the specified source: (for NIS), or (LDAP). Other sources may be available in the future. WARNINGS
HP-UX 11i Version 2 is the last HP-UX release on which NIS+ is supported. LDAP is the recommended replacement for NIS+. HP fully supports the industry standard naming services based on LDAP. AUTHOR
was developed by Sun Microsystems, Inc. SEE ALSO
chkey(1), keylogin(1), nsswitch.conf(4), publickey(4). newkey(1M)