Solved

/etc/init.d/functions umask

Posted on 2007-11-18
5
1,582 Views
Last Modified: 2008-02-01
I have a production server which running currently. I given order to change the /etc/init.d/functions umask from 022 to 027.

1- after change it, how to restart it? because there is not restart function for '/etc/init.d/functions"

2- what will be effect after chagging it to 027? will previous application running inside the server will efected or file created after?

'thanks
0
Comment
Question by:operation1612
  • 2
  • 2
5 Comments
 
LVL 48

Expert Comment

by:Tintin
ID: 20310833
What are you trying to achieve?

The umask change will take affect the next time any rc script is run.
0
 

Author Comment

by:operation1612
ID: 20310868
i getting advice to not use 022. but change to 027. but the advice can't explain much.

so the functions file does not need to be restart or reload? means i the script will read by themself?

I raise this question because the security script said that my linux S02systats umask is not found. so when i refer to systats umask, it show me to the /etc/init.d/functions umask. please make me clear...thanks
0
 
LVL 48

Accepted Solution

by:
Tintin earned 50 total points
ID: 20310942
I really don't know if you're going to run into issues changing the umask from 022 to 027 (perhaps not).

/etc/init.d/functions is referenced by any rc script that has the following line:

. /etc/rc.d/init.d/functions

0
 

Author Comment

by:operation1612
ID: 20310994
thank you...i clear with your comment
0
 
LVL 2

Expert Comment

by:jculkincys
ID: 25151795
Can you give me a concrete example of what would change?

Ex x file will no longer have world read and execute privs
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question