Solved

/etc/init.d/functions umask

Posted on 2007-11-18
5
1,570 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
thank you...i clear with your comment
0
 
LVL 2

Expert Comment

by:jculkincys
Comment Utility
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now