06-19-2008
also check that the sendmail program has its suid flag, so chmod u+s for /path/to/sendmail to fix this problem.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I have written a shell script function, this function reads a encrypted a file and does some processing. I want to give execute permissions to others but I don't want to give read access to the shell script function. Since the shell script function know how to open the encrypted file so that's why... (6 Replies)
Discussion started by: sanjay92
6 Replies
2. Shell Programming and Scripting
Hello all -
I have two systems.
1) Linux box running Redhat 8.0
2) Tru64 box running V4.0f
From the Linux box I am remotely mounting a directory (nfs mount) that resides on the Tru64 machine.
The directory that is nfs mounted contains two subdirectories:
my_dir1
my_dir2
I want... (3 Replies)
Discussion started by: Heron
3 Replies
3. UNIX for Advanced & Expert Users
User - sysopr need to convert the output file from Oracle UTL_FILE_DIR using dos2unix command.
However, the file owner and the group is belongs to oracle with dba group as follows:
-rw-r--r-- 1 oradw dba 22049864 May 23 15:37 transmission*.csv
What are the possible methods to... (2 Replies)
Discussion started by: KhawHL
2 Replies
4. UNIX for Dummies Questions & Answers
Hi,
When I listed one directory in Sun, it showed that :
-rwsr-xr-x 1 root bsmbin 78004 Oct 21 2004 bsmprsm
I don't know meaning of the character "s" in "rws" above. I have searched in Sun admin documents but no result. Would you please explain it ? :)
Thank you so much. (1 Reply)
Discussion started by: msg098
1 Replies
5. Cybersecurity
Hello,
i need some help/advice on how to solve a particular problem.
these are the users:
|name | group |
---------- ---------------
|boss | department1 |
|assistant | department1 |
|employee | department1 |
|spy | department2 |
this is the... (0 Replies)
Discussion started by: elzalem
0 Replies
6. Web Development
I'm just getting my feet wet with web development, so hopefully this is a simple thing I'm overlooking, but so far I'm stumped.
I have a php script that calls Ruby via exec(). This works fine in my test environment, but when I moved it to my production environment I run into a permissions... (7 Replies)
Discussion started by: dantes990
7 Replies
7. Ubuntu
Hi Friends,
I want to create one user on my server in such a way that when he logged in by ssh on server,he can able to access ONLY /var/www/drupal-6.2 this directory. Please tell me how should i do that. (4 Replies)
Discussion started by: paragnehete
4 Replies
8. UNIX for Dummies Questions & Answers
I accidently deleted the queue directory and now i'm receiving this error when I try to send email with sendmail.
:~# mailq
MSP Queue status...
/var/spool/mqueue-client (1 request)
-----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient-----------
s495xA7J002673 ... (1 Reply)
Discussion started by: galford
1 Replies
9. Shell Programming and Scripting
Hello All
I have a file with rw-rw-r permission
I need to mv the file into different directory (dir has rwx-rwx-rwx permission)
with an others permission
The application which is moving the file falls in other group
I am getting the error
mv cannot renamed permission denied
... (12 Replies)
Discussion started by: Pratik4891
12 Replies
10. HP-UX
Hi,
Could you please tell me the OS command to grant as similar to below permission?
rwxrwxr-x
OS -- HP-UX
Regards,
Maddy (8 Replies)
Discussion started by: Maddy123
8 Replies
LEARN ABOUT OPENSOLARIS
check-permissions
check-permissions(1M) System Administration Commands check-permissions(1M)
NAME
check-permissions - check permissions on mail rerouting files
SYNOPSIS
/usr/sbin/check-permissions [login]
DESCRIPTION
The check-permissions script is intended as a migration aid for sendmail(1M). It checks the /etc/mail/sendmail.cf file for all configured
alias files, and checks the alias files for :include: files. It also checks for certain .forward files. For each file that check-permis-
sions checks, it verifies that none of the parent directories are group- or world-writable. If any directories are overly permissive, it is
reported. Otherwise it reports that no unsafe directories were found.
As to which .forward files are checked, it depends on the arguments included on the command line. If no argument is given, the current
user's home directory is checked for the presence of a .forward file. If any arguments are given, they are assumed to be valid logins, and
the home directory of each one is checked.
If the special argument ALL is given, the passwd entry in the /etc/nsswitch.conf file is checked, and all password entries that can be
obtained through the switch file are checked. In large domains, this can be time-consuming.
OPERANDS
The following operands are supported:
login Where login is a valid user name, checks the home directory for login.
ALL Checks the home directory of all users.
FILES
/etc/mail/sendmail.cf Defines environment for sendmail
/etc/mail/aliases Ascii mail aliases file
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWsndmu |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO
getent(1M), sendmail(1M), aliases(4), attributes(5)
SunOS 5.11 10 Nov 2003 check-permissions(1M)