Sponsored Content
Top Forums Shell Programming and Scripting give permission to read a file Post 302281480 by kenshinhimura on Thursday 29th of January 2009 02:18:32 AM
Old 01-29-2009
give permission to read a file

I want to give tester only the account tester to view the file /var/mail/root nobody else but him and of course the owner root w/o changing the permisions of /var/mail/root -rw-------.

[tester@adminserver ~]$ cat /var/mail/root
cat: /var/mail/root: Permission denied
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

read permission but cant ls -l it.

ok what is the signifigance of the -l that wont let you list the contents of a directory you clearly have access to list files. what am i missing /tmp$ls -l hold hold/file1: Permission denied total 0 /tmp$ls hold file1 /tmp$ls -l dr-x---r-- 2 root other 179 Apr 23... (6 Replies)
Discussion started by: Optimus_P
6 Replies

2. UNIX for Dummies Questions & Answers

How to give permission for a specified user

Hi All, How can i give permission for a specific user ( eg. admin ) ? I tried with chmod admin+r prog.sh which doesnt work. Is there any way i can specify a user's name and give the permission? Thanks in advance. Saneesh Joseph. (1 Reply)
Discussion started by: saneeshjose
1 Replies

3. UNIX for Dummies Questions & Answers

Read Permission

How can view the list of only those files & directories which have read permission..! (9 Replies)
Discussion started by: vineetrocks2005
9 Replies

4. UNIX for Dummies Questions & Answers

Permission file questions--Please read!!!

1. I have an executable file that I have granted the users full permission "777" for it to work. I don't want the user to read this file! How can I prevent a user to read it? Thanks (4 Replies)
Discussion started by: bobo
4 Replies

5. Solaris

give user permission on specific directory in solaris

dear all does any one give any user write permission using access control list or another way to solve this problem (1 Reply)
Discussion started by: murad.jaber
1 Replies

6. UNIX for Advanced & Expert Users

HOw do i give a user cronjob edit/settings permission?

Hi, In a Unix Server when i 'su' to my name and type in crontab it says " You are not authorised......". Pls suggest what to do? How do i give myself permission so that I can schedule a cron. (2 Replies)
Discussion started by: debu
2 Replies

7. UNIX for Dummies Questions & Answers

CHMOD....read only permission

After creating a user account...how do i verify if theres only read access on the account. If not read access would i enter chmod a-xw "username"? (2 Replies)
Discussion started by: bigben1220
2 Replies

8. Solaris

How to give full permission to a directory?

Hi, I have enabled the Apache webserver on my machime. Apache root directory is /etc/apache2 and the user in which the web server is configured is webservd,I guess. I have another user called perf. Under perf user there is /export/home/perf/v9 directory. I want to give the OS user of... (3 Replies)
Discussion started by: bikas89
3 Replies

9. UNIX for Beginners Questions & Answers

How to give permissions to read write but not delete the file?

i want to give users the ability to create write and read files in other user directory , but not to have option to delete the file after created ( sticky bit not going to work here ... ) for example : i have user : manager with directory repository i have user : worker1 that need to write... (4 Replies)
Discussion started by: umen
4 Replies

10. UNIX for Beginners Questions & Answers

How do I give permission for the kill command?

<?php $comando = "kill -9 3104"; $output = shell_exec($comando); ?> I am running this web page, but it does not execute the command, in the log file it looks like this: sh: 1: kill: Operation not permitted How do I give permission to execute the command? (1 Reply)
Discussion started by: Rodrigo_Bueno
1 Replies
IN.IDENTTESTD(8)						 Library functions						  IN.IDENTTESTD(8)

NAME
in.identtestd - a small daemon that can be used to test Ident servers SYNOPSIS
in.identtestd DESCRIPTION
in.identtestd is a small daemon (to be started from inetd) that does an ident lookup on you if you telnet into it. Can be used to verify that your Ident server is working correctly. The source code can be found in the debian libident source package, as ident-tester.c. EXAMPLE
A typical entry in /etc/inetd.conf would be: 9999 stream tcp nowait root /usr/sbin/in.identtestd in.identtestd With the above entry in place and active, execute "telnet hostname 9999" from either this system, or another system. It should show some- thing like: Trying hostname... Connected to hostname. Escape character is '^]'. Welcome to the IDENT server tester, version 1.9 (Linked with libident 0.22 Debian) Connecting to Ident server at 192.168.1.1... Querying for lport 1109, fport 9999.... Reading response data... Userid response is: Lport........ 1109 Fport........ 9999 Opsys........ UNIX Charset...... <not specified> Identifier... paul Connection closed by foreign host. AUTHOR
Peter Eriksson <pen@lysator.liu.se> Manpage written for debian by Paul Slootman <paul@debian.org>. SEE ALSO
ident(3), identd(8), tcpd(8) 3rd Berkeley Distribution IN.IDENTTESTD(8)
All times are GMT -4. The time now is 08:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy