02-16-2006
A umask of 022 is quite fine. It is safe (no world/group write) and yet not too restrictive.
10 More Discussions You Might Find Interesting
1. Linux
We are trying to run a program on a Red Hat ES3 machine that works fine under root user but not as any other user. I believe its getting denied access to the USB ports (which this program needs), Does anyone know how i can open up access to the USB ports on a machine to all users.
Thanks,
Frank (0 Replies)
Discussion started by: frankkahle
0 Replies
2. UNIX for Dummies Questions & Answers
Hiya... I've got a script on AIX 4.2 that sends an email, with an attachment, that has always worked happily in the past and has chosen today to stop working. It now throws up an error "/tmp/Rs13492: The file access permissions do not allow the specified action"
The /tmp/RsXXXXX file name... (2 Replies)
Discussion started by: phaedrus
2 Replies
3. Solaris
one of the business users is ftping files into unix box using user name ftp_user, where as i am using infa_user to login into same unix box. When i am trying to access those or copy over those files from upload directory it says permission denied.
Though i know the password of ftp_user to... (4 Replies)
Discussion started by: Ariean
4 Replies
4. UNIX for Advanced & Expert Users
one of the business users is ftping files into unix box using user name ftp_user, where as i am using infa_user to login into same unix box. When i am trying to access those or copy over those files from upload directory it says permission denied.
Though i know the password of... (4 Replies)
Discussion started by: Ariean
4 Replies
5. UNIX for Dummies Questions & Answers
Hi everyone,
I am using mac os x 10.6, and I just copied over a project from a machine with 10.5... And I noticed my ls color is very funky in this directory... I found that my permissions are all messed up, and am wondering if there is a way to recursively fix permissions?
This is how they... (3 Replies)
Discussion started by: patrick99e99
3 Replies
6. HP-UX
Hi everybody,
following is the scenario;
OS HP UX 11.23
two users:
# id bodi
uid=109(bodi) gid=20(users) groups=1(other),2(bin),3(sys),106(oinstall)
# id ossmed
uid=121(ossmed) gid=20(users)
umask
077
directory name /home/mydir
directory permissions drwxrwxrwx
requirement: to... (3 Replies)
Discussion started by: ajays
3 Replies
7. Shell Programming and Scripting
I have a cron on a Linux server that isn't executing properly.
CRON (with specific info replaced):
MAILTO=emailaddress@server.com
*/2 * * * * python /data/site/cron.py
OUTPUT:
python: can't open file '/data/site/cron.py
': No such file or directoryAdditional info
- The python path is... (3 Replies)
Discussion started by: theHire
3 Replies
8. Shell Programming and Scripting
Hi Experts,
I have one ftp user which will FTP the files to two subdirectories of some other user.
Say i have one user "xyz" . It FTP's the file to the directory of "abc" user. I have added xyz user in abc group.
-rw-r--r-- 1 xyz abc 0 Jul 26 10:05 mo
-rw-r--r-- 1 xyz abc ... (1 Reply)
Discussion started by: sugarcane
1 Replies
9. Shell Programming and Scripting
Hi,
I have a shell script which calls oracle procedure.
Procedure creates a file using oracle utl_file and places file on unix server at loaction /tmp.
The file permission is getting set to 640 (Owner=oracle, group=dba)
I need it to be 644 by default. (So others can read it.)
The umask... (4 Replies)
Discussion started by: krishna_gnv
4 Replies
10. Solaris
Hello,
I'm having an issue with a directory that is used to forward Windows logs. I have a user account on Windows servers that uses SCP to put logs on my Solaris 10 server. A appliance called LogLogic then takes the logs from my server and stores them. I need to have have group read so the... (8 Replies)
Discussion started by: bitlord
8 Replies
LEARN ABOUT CENTOS
radrelay
RADRELAY(8) FreeRADIUS Daemon RADRELAY(8)
NAME
radrelay -- Deprecated command.
DESCRIPTION
The functions of radrelay have been added to radiusd. One benefit is that one instance of radiusd can read multiple detail files, among
others.
The rlm_sql_log module does something similar, but for SQL queries. See it's man page for details.
REPLICATION FOR BACKUPS
Many sites run multiple radius servers; at least one primary and one backup server. When the primary goes down, most NASes detect that and
switch to the backup server.
That will cause your accounting packets to go the the backup server - and some NASes don't even switch back to the primary server when it
comes back up.
The result is that accounting records are missed, and/or the administrator must jump through hoops in order to combine the different detail
files from multiple servers. It also means that the session database ("radutmp", used for radwho and simultaneous use detection) gets out
of sync.
We solve this issue by "relaying" packets from one server to another, so they both have the same set of accounting data.
See raddb/sites-available/buffered-sql for more information.
BUFFERING FOR HIGH-LOAD SERVERS
If the RADIUS server suddenly receives a many accounting packets, there may be insufficient CPU power to process them all in a timely man-
ner. This problem is especially noticable when the accounting packets are going to a back-end database.
Similarly, you may have one database that tracks "live" sessions, and another that tracks historical accounting data. In that case,
accessing the first database is fast, as it is small. Accessing the second database many be slower, as it may contain multiple gigabytes
of data. In addition, writing to the first database in a timely manner is important, while data may be written to the second database with
a few minutes delay, without any harm being done.
See raddb/sites-available/copy-to-home-server for more information.
SEE ALSO
radiusd(8), rlm_sql_log(5)
AUTHOR
The FreeRADIUS Server Project
23 October 2007 RADRELAY(8)