Solved

/etc/init.d/functions umask

Posted on 2007-11-18
5
1,575 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
linux apache localhost dev laptop 5 48
Error installing extension Linux 4 58
nagios monitor 3 42
linux installs 6 48
Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
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,…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

910 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

19 Experts available now in Live!

Get 1:1 Help Now