Red Hat / Fedora :: Change Umask Value Permanently ?

Jun 16, 2009

How to change Umask value permanently for all user in Red hat Version

View 1 Replies


ADVERTISEMENT

Security :: Change Of Umask Values In Fedora 11

Feb 4, 2010

Recently I was going through some chmod manipulations and found the umask values to be 0002 by default in Fedora 11 distro. What I knew about the default values to be 022. I don't know whether this is a kernel modification in this distro or my system is in compromise(I doubt for the latter option, but not confirmed).

View 4 Replies View Related

Fedora :: Permanently Change Default Source?

Oct 17, 2010

my last Fedora installation, the pulseaudio source is wrong. The default sink is:

[code]...

How can I permanently change the Default source to be:

[code]...

When I change it on desktop login as regular user to the right thing, then log out or reboot, I have to change it again when I log back in again. This is with an Audigy2 card, and onboard audio chip. I switch between the two for various reasons.

View 2 Replies View Related

General :: Umask Change ?

Jun 7, 2011

I have logged in with root user

My systems Umask value was 0022.

Code:

So i decided to change it to 0077 and observe the system for some time. so i edited /etc/profile and added

Code:

at the end of file

rebooted the machine.

But the umask is still showing as 0022

After the first attempt is failed I tried changing it using below command.

Code:

Validated it.

Code:

rebooted the machine but the umask is still showing 0022

So at last i have to modify /etc/bashrc file and add umask 077 at the end of the file.

How would i make it in general for all(Even for non-root user) and not just for bash prompt.

View 4 Replies View Related

Security :: Have To Change Umask Value?

Mar 5, 2010

I want to set permissions to a folder as rwx-r-x-r-x in such a way that whenever a new file or folder is created under it, it will automatically inherit the parent folders default permissions.So,what I need to do know, do I have to change the umask value??

View 5 Replies View Related

General :: Umask And Permissions - Has Umask 007 Bad Side Effects?

Mar 16, 2011

My Debian system has by default umask permissions of 0022, which I never liked. One user can read all the files of another seems very insecure to me.

I am planing to set it to 007, so that user and group have rw but all others have none.

Are there any side effects to that? I have noticed from a trial I did where I was changing permissions on the filesystem that some system stuff in the OS does not work anymore, if "others" have no read permission anymore, so that is why I am asking.

And why are chmod / umask permissions sometimes stated as 4 digits? What is this "all" group in the end? Isn't that already covered by "others"?

View 1 Replies View Related

Software :: Change Umask Of User ?

Jan 7, 2010

I have a daemon running as a local user account on my red hat box. The problem is the daemon creates directories using a umask of 022. I need group write access to the directories the daemon is creating. I need the daemon to use a umask of 002. I've edited the daemons startup script in /etc/init.d I've changed the umask in the /etc/init.d/functions file. I've added the line "umask 002" in the user's ~/.bashrc and ~/.bash_profile files. I've also setup /etc/bashrc to assign all users a 002 umask (just for kicks)

View 3 Replies View Related

General :: Umask Change Not Taking Effect

Dec 28, 2009

I have 2 Oracle users that generate .tmp files under /var/tmp. By default, the files have the permissions 644. Now, a need has arisen whereby the files created by these users have to have the permission bits as 664. Obviously, I changed the UMASK value for these users from 022 to 02. But the files are still getting created with 644 as the permission.

I tried restarting the application as I read that a relogin is required for the UMASK change to take effect. Even that hasn't helped.

View 3 Replies View Related

Ubuntu :: Change The UMASK For Users Who Log In On A LTSP Terminal?

Jun 25, 2010

I'm setting up an application server for a small organization using Ubuntu 10.04 and LTSP. We built a machine with a quad core Athlon II, got a Gigabit swtich, and a couple Gigabit ethernet cards. I burned gPXE into a couple EPROMs and turned their old PIII and Duron systems into thin clients.

So far so good.

Now, I'm trying to set up a shared directory that two users in the same group can both read and write. Let's call it "/home/shared". I want to set UMASK to 007, so that by default, files are created readable and writable by user and group, with no permissions for anybody else. I changed a line in "/etc/profile" from "umask 022" to "umask 007". After rebooting the app server, the umask does appear to be 007 when you log in at the console. However, it doesn't seem to affect the terminals.

So I figured I needed to change it in "/opt/ltsp/i386/etc/profile". vi helped me out with that. Didn't make a difference in the terminals. Ok, I need to rebuild the image, so I did an "ltsp-update-image" and rebooted the terminal. umask is still 022. ???

I changed UMASK in "/opt/ltsp/i386/etc/login.defs" and rebuilt the image. No change. ??? I really don't understand why this isn't working.

How can I change the UMASK for users who log in on an LTSP terminal?

View 2 Replies View Related

Ubuntu :: Change Umask On Per User / Group Basis?

Mar 25, 2011

I've decided to move this question into a new thread since i haven't received an answer for 3 days. This question was originaly posted here: [URL]... I've already searched in google, however i wasn't able to find an answer that solves my problem... How can i change the umask on a per user basis so that each user can have its own umask to fit his needs? For example: I have four accounts on my system ex.

admin1 : admin,
admin2 : admin,
manager : stuff,
user : user,

-So now I want everything from the admin group to be by default set to 002 (so that every user that is in the admins group can have a full share (-rwx rwx r--) of everything that is created by the admins).

-Then the similar to the above managers shoud have 022 umask.

-And each of the regular users should have 002 or 022 or 077 it is up to the users choice.

I hope that i have provided enough info thorough the example.

View 4 Replies View Related

General :: Change Umask For Files Created In Ext2/ext3

Oct 28, 2009

I have ext3 partition mounted on /mnt/shared/ as follows

Code:

Permissions above are of the actual mounted fs.

Goal is to have all files created on the fs
1) to belong to group 'users'
2) to have this groups permissions set to rw (rwx for directories) so that all users who belong to group 'users' have full read/write access to data and everyone else to have only read access.

Now because of setgid bit (s) in group permissions every file created has group 'users' and additionally setgid bit is set for directories. Because every users umask by default (on my system) is set to 0022 all created files will have permissions 644 for ordinary files and 755 for directories.

Net result of above means that users A and B who both belong to group 'users' won't be able to modify files created by the other.

So how can I make files created on the fs to be created always with umask 0002 WITHOUT changing default umask for users that is used elsewhere (like in their home directory) ?

View 1 Replies View Related

General :: Umask And /usr/bin/umask ?

Apr 25, 2011

Not sure if this is the right place to ask this question. In Solaris we have umask (shell builtin) and /usr/bin/umask. However I could not find /usr/bin/umask in Linux.

I want to know the difference between both and how can we achieve the functionality of /usr/bin/umask in Linux as its not there...

View 6 Replies View Related

Ubuntu :: How To Change The Timezone Permanently

Jan 3, 2010

So, here's my problem. Every time I'm trying to change my timezone, it last until I'm restarting my comp again, it seems like it doesn't save the changes permanently.I'm using Ubuntu v9.10 installed through Wubi. My timezone is set currently via BIOS.

View 8 Replies View Related

General :: How To Change Permanently A Script

Apr 28, 2010

I play MAME in Ubuntu 9.10 and every time i boot my PC I calibrate my joystick with jscal. The correction values are stored in a script ( /etc/joystick.cal ) but when I reboot, the old values are written again in so I have either to repeat calibration or open the script and give the right correction values (which I have stored somewhere). So , what is the way to save my changes in this script permanently ?

View 6 Replies View Related

Ubuntu :: Change Resolution Permanently Of Second Monitor?

Apr 13, 2011

I use a laptop and Ubuntu 10.10 x86. Problem is I have a second monitor with 1280x1024 native resolution, and that resolution is not displayed in modes.So I solved my problem temporarily using this: Code:xrandr --newmode 1280x1024_60.00 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync

xrandr --addmode VGA1 1280x1024_60.00 The 1280x1024 mode appears and I do "apply" -> all OK. And then I press "make default" (where I get a pop screen confirmation warning me that will be the default config after reboot) - nice! Problem is: "make default" don't work! And I have to add a new mode after each login.

View 3 Replies View Related

Slackware :: Clocks Won't Remain Set - How To Change It Permanently

May 18, 2010

I had to reinstall Windows recently, which reset my clock under Linux. No problem, I set the clock, and then set the hardware clock to the system clock. Rebooted under Windows, and both were fine. After rebooting into Slack, it is again a few hours off. How can I change this permanently?

View 6 Replies View Related

OpenSUSE Hardware :: How To Change Screen Resolution Permanently In 11.3

Jul 21, 2010

I upgraded my opensuse from 11.2 to 11.3, but after it, I have several problem with it.

Firstly: My graphic card is intel hd4500 and motherboard chip's is intel G41. After upgrading, I understood suse 11.3 didn't have sax2. at a result. I have problem with graphic card driver and consequently can't change screen resolution, therefore after each restart, my resolution automatically fix to 1600x1200 but I would like to set it in 1280x1024? What can I do to change it permanently?

Secondly: I installed vmware workstation 6.5 and after it, I see a message that say vmware need to Kernel Header 2.6.34-12- desktop. I install kernel-syms, kernel-source, gcc and make but doesn't run yet. What happen for it?

View 9 Replies View Related

Ubuntu Networking :: Change Eth1 Mac Address Permanently 9.10?

Jan 22, 2010

how can I change eth1 mac address permanently in an easy way?

View 1 Replies View Related

Debian :: Permanently Change Locale From POSIX To En_GB?

Apr 3, 2010

All my LC environment variables are currently set to POSIX at boot, though I can't find the startup script that does this. I've grepped through /etc/rcS.d and /etc/rc2.d but no luck. In /etc/default/locale, LANG is set to en_GB.UTF-8, which is my preferred locale. But this doesn't stop all the LC's being set to POSIX. Consequently, my dates follow the American convention, which I find hard to read.

I tried resetting with update-locale LC_TIME=en_GB.UTF-8. This changed all the locales to en_GB but only for the session. When I rebooted, everything went back to POSIX. The only change is that en_GB.utf-8 is now in the /etc/default/locale file as the value of LC_TIME as well as LANG.

View 2 Replies View Related

General :: Any Way To Permanently Change Terminal Font Size

Jul 10, 2011

I installed Ubuntu on my Netbook. I like it to use the Terminals. I don't mean the "GUI-Terminal-Emulators", I mean those I can open with "Alt+FX". There the font size is to big, so I changed it with "dpkg-reconfigure console-setup". It worked, but after restart the font were "reseted" and big. Is there a way to permanently change the font size?

View 4 Replies View Related

Software :: Permanently Change Background Color Of Vi Editor?

Jul 12, 2010

How can I permanently change the background color of vi editor so that every time I open a document the editor has my default background color?

View 2 Replies View Related

OpenSUSE Hardware :: Permanently Change Printer Margins In CUPS?

Feb 16, 2009

With the printer I am using, the text always extends part of the way into the margins, resulting in it getting cut off. Is there any way to change the margins for a printer?

View 7 Replies View Related

General :: Ubuntu - Change Swap Disk Priority Permanently?

Aug 8, 2010

I'm using two swap disks. Changing the order they are in in /etc/fstab and using "pri" in fstab doesn't have any effect. This is what it looks like /etc/fstab

#swap on other disk
UUID=90a1550c-84d6-4bde-8bc1-7c15292980f1 none swap sw,pri=-1 0 0
#swap on same disk
UUID=13b70e65-f1c3-4728-920f-9e92467d1df0 none swap sw,pri=-2 0 0

[Code]...

Its opposite of what it is in fstab, and changes to fstab have no effect.

View 1 Replies View Related

Ubuntu :: Change The Default Format Of Openoffice Files Permanently?

Apr 2, 2011

i want to change the default format of open office files permanently. Like if i save a file it saves as .odt i want to change it to .doc

View 4 Replies View Related

Fedora :: Umask, Chown, Chgrp And Other Commands?

Feb 7, 2010

ok so im working on homework and im not understanding what my teacher is wanting me to do and i dont have time to email him seeing as he might not read it until tomorrow. so ill copy and paste and if anyone can better explain it,

2) Use the umask command to change your file creation mask such that,by default for new files and directories you create, no permissions are taken away from the 'user' (owner), write permissions are taken away from the 'group' (group owner), and all permissions (read, write and execute) are taken away from 'other'. Take a screenshot of your terminal window showing the results of this step.

3) Use the touch command to create a new file called testfile. Use the ls command to display the contents of your current directory in long mode. Take a screenshot of your terminal window showing the results of this step. Ensure that the directory listing for testfile is completely visible in your screenshot.

4) Use the chown command to change the user associated with testfile (the owner) to cint201. Take a screenshot of your terminal window showing the results of this step.

5) Use the chgrp command to change the the group associated with testfile (the group owner) to users. Take a screenshot of your terminal window showing the results of this step.

6) Use the chmod command to change the permissions for testfile such that the 'user' (owner) permissions are set to read, write and execute, the 'group' (group owner) permission are set to read and execute, the 'other' permissions are set to grant neither read, write nor execute, and finally set the SUID bit for the file. Take a screenshot of your terminal window showing the results of this step.

7) Use the ls command to display the contents of your current directory in long mode. Take a screenshot of your terminal window showing the results of this step. Ensure that the directory listing for testfile is completely visible in your screenshot.

View 8 Replies View Related

Debian Installation :: "permanently" Change The Mount Point?

Feb 11, 2011

I recently installed Squeeze and it was simple and is running great. I have a usb fat32 drive that shares data on 3 partitions with winxp. None are listed in fstab. They all are mounted in /media.2 partitions, Video and Music, are shown in gparted as mounted by their volume labels, which is what I want; eg /media/MUSIC. The DATA volume is mounted by its' uuid. This is how it is displayed on my desktop. The other 2 volumes display the way I want: MUSIC and VIDEO. I have changed the mount point in /media to the label name:/media/DATA but it returns to its' uuid after reboot. How can I change it to display the label name? It works fine, but I have a need to "tidy up" my desktop.

View 5 Replies View Related

Fedora :: How To Permanently Disable Selinux

Jul 14, 2009

I came across the following method of how to permanently disabling selinux and it's notifications. Although changing enforcement from the gui into permissive mode does most of the job, the notifications still pop-up when some applications are started.

So to disable it do the following:

open terminal as root and execute:

Quote:

And then change the SELINUX line to SELINUX=disabled

Quote:

This is it. Now reboot the system and selinux will never bother you again.

If you are not a Fedora user and you are using this forum just because we are cooler here then you will not find the /etc/selinux/config as in the fedora releases. What you need to do is to edit the kernel boot line and add selinux=0 at the end:

Quote:

Reboot the system

View 14 Replies View Related

Fedora :: Permanently Enabling Repos ?

Feb 4, 2010

I have various repos in my yum.repos.d including rawhide, google, and various others which I can enable on specific yum commands with --enablerepo=reponame.

Question is, how come these aren't enabled by default? When I do a yum repolist they don't show up, which effectively leaves orphan programs.

I can see why you might not want rawhide enabled by default for obvious update reasons, but I might want others to be enabled by default, like google for one.

So how is the default repo anabling/disabling controlled?

View 2 Replies View Related

Fedora :: Permanently Getting Rid Of Unneeded Updates?

Oct 2, 2010

the "Japanese character set input library" keeps showing up on the list of updates. I have no need for japanese character input and have cleaned extraneous languages off the system with bleachbit. how can i make it so this update does not appear anymore?

View 2 Replies View Related

Red Hat / Fedora :: Boot To Terminal - Get Rid Of The GUI Permanently?

Mar 13, 2011

I installed Fedora 14 with the KDE desktop. Can I make Fedora boot to a terminal rather than the GUI? I would want to boot to the terminal just 1 time so I don't want to get rid of the GUI permanently.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved