General :: Apply Umask Settings To An Account That Doesn't Log In?

Aug 4, 2011

On my Ubuntu 11.04x64 server, I have service accounts running which do not log in and do not have home directories. These service accounts are responsible for running processes which are invoked as services.When these services created new files, I need them to be created with the permissions 664 (UMASK 002).I edited the /etc/profile umask setting to reflect this. I see that now my user account creates files which reflect this new umask setting, but the service accounts do not when I manually created files using their accounts (sudo -u serviceaccount touch newfile).

View 1 Replies


ADVERTISEMENT

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

General :: Change The Default Chmod Settings For Account?

Feb 28, 2011

I work in a shared computing environment and the default setting is r-x for group and others; it's upto the users to change this. I can chmod and change the permissions for all the files. However any new files created all have the default permissions. Is there anyway to change that so that I don't have to chmod everytime or run chmod as a cronjob?

View 1 Replies View Related

General :: Saving User Account Settings When Reinstalling?

Jul 30, 2010

When I reinstall my distro (MEPIS, for the last 2.5 years), making my new user account preserve all the old account's settings has always been a difficult and very messy process, especially if I have installed a new copy on another partition. (I'm doing that soon, so I have this copy as a backup until I have everything the way I want it on the new copy.) Most of my stuff gets saved, but not everything. The biggest problem is that, even if I select "preserve data in /home" in the MEPIS installer, my keyboard shortcuts become unusable (not completely erased) under odd circumstances. They're still listed in file /home/josh/kde/share/config/khotkeysrc, but they still can't be used, and I have to open hhotkeysrc and manually delete them and then reenter them in the menu editor (the K menu, by the way, gets completely overwritten).

I can't just overwrite the entire new user account with the old one; I've tried, and something goes wrong so that the new account can't be opened (probably because some important files are inaccessible--I can't tell which ones they become inaccessible).Anyway, is there a program that can preserve all the user account settings neatly for a new installation of the distro? I am supposing there is a program or at least a method, because I never hear others complaining about this problem. I probably don't know something I should know.

View 4 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

Fedora :: Apply Bootloader Configuration Settings?

Jan 27, 2011

It looks like the F14 Bootloader Configuration GUI is missing "OK" button.

So far the only way to configure the F14 Bootloader is by editing /boot/grub/grub.conf.

View 5 Replies View Related

Red Hat / Fedora :: Re-apply Chmod +r Doesn't Works - Permission Denied ?

Dec 23, 2010

I've a pb on a directory...Same pb with others users... fsck -y says fs is clean...Re-apply chmod +r doesn't works...Data are on local HD (not SAN)

View 1 Replies View Related

Red Hat / Fedora :: Network Manual Settings - Why "apply" Greyed Out?

Mar 21, 2010

I have this old eMachines on which I've been running RedHat for about 7 years. It is kernel 2.4 and I wanted to upgrade to a newer kernel so I can run a newer version of some server software I use.

I was debating whether to upgrade to Fedora 12 or Ubuntu, and some other person recommended, "definitely Fedora" so here I am.

The CD-ROM downloaded fine. I was able to boot and install Fedora fine. But I'm stuck at the network settings.

None of the screens *quite* match what is in the quick or detailed installation guide at the Fedora site.

The main problem I have is I'm trying to manually set a couple of fixed IP addresses. I am in "Editing System eth0" now. If I switch the method from "Automatic" to "Manual" the Apply button turns greyed out, and stays that way even after I enter the address, netmask, gateway (router address I assume?) and a DNS server address.

View 7 Replies View Related

Software :: Logrotate.conf Settings Global / Apply To What Is In Logrotate.d/

Jan 18, 2011

Is the logrotate.conf settings global/apply to what is in logrotate.d/? I have olddir /var/log/old_logs in logrotate.conf but logrotate is not placing old rsyslogs in /var/log/old_logs for logrotate.d/rsyslog

View 5 Replies View Related

Debian :: Graphics Resolution In Tty1->tty6 - Doesn't Apply To The Terminal After The Computer Has Booted Up

Jun 23, 2010

I'm using squeeze. I wanted to know how you could determine from the command line in tty1 (or tty2 through tty6) what the resolution was that text was being displayed at. Is there a way? I know that in grub, you're supposed to be able to go to the command line and type vbeinfo. I tried this and got some information, but somehow I think it doesn't always apply to the terminal after the computer has booted up.

View 2 Replies View Related

Ubuntu :: User Account Settings And Permissions?

May 8, 2011

I'd like to set up my PC so that it has one "master account" for system settings, desktop appearance, etc. And then I'd like other user accounts that read these settings so if I change the settings on the master account, those accounts follow the new settings but cannot change them. But at the same time, these accounts cannot be allowed to read to master account's personal files (documents, music, etc.) Each account would be restricted to its own home directory, as expected.

Is there any way to set something like this up or am I dreaming of the impossible?

View 1 Replies View Related

Ubuntu :: Evolution Lost Account Settings

Aug 8, 2011

my computer recently ran out of disk space, and for whatever reason (presumably bad coding!) that caused Evolution to freak out and deny all knowledge of my email account.Fortunately, all the email is still in present in ~/.evolution/mail/imap/me@foo.com but I have no idea how to make Evolution realise that and let me load it again.

View 1 Replies View Related

Ubuntu Multimedia :: "apply" Button Grayed Out "nvidia X Server Settings?

Apr 8, 2011

Still pretty new to this, from what i have read, the more info i give the better, I am running ubuntu 11.04 with KDE installed via the terminal. I was trying to get my TV to work as another display, I don't know what I have done, after my earlier problems I have learnt to back up and restore my xorg.conf file but with no luck, I now can't change any settings as the title says the apply button is grayed out and when i try and save it to the xorg.conf file and restart the xserver it says that "Your current changes to the X server display configuration may no longer be applied due to changes made to the running X server.

You may either reload the current X server settings and lose any configuration setup in this page, or select "Cancel" and save your changes to the X configuration file (requires restarting X to take effect.)

If you select "Cancel", you will only be allowed to apply settings once you have reset the configuration.Your current changes to the X server display configuration may no longer be applied due to changes made to the running X server. You may either reload the current X server settings and lose any configuration setup in this page, or select "Cancel" and save your changes to the X configuration file (requires restarting X to take effect.)

If you select "Cancel", you will only be allowed to apply settings once you have reset the configuration. Your current changes to the X server display configuration may no longer be applied due to changes made to the running X server. You may either reload the current X server settings and lose any configuration setup in this page, or select "Cancel" and save your changes to the X configuration file (requires restarting X to take effect.)

If you select "Cancel", you will only be allowed to apply settings once you have reset the configuration."

when I booted last i got terminal with this showing, for the first time,

Xlib: extension "RANDR" missing on display ":0".
(orca:1984): Wnck-WARNING **: Property _NET_WM_NAME contained invalid UTF-8
My xorg.conf is
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 270.29 (buildd@roseapple) Fri Feb 25 14:43:24 UTC 2011
Section "ServerLayout"

[Code]...

View 5 Replies View Related

Ubuntu One :: Cannot Find Way To Modify Account Settings For Client Software

Mar 14, 2010

When I first installed Karmic, I created a dummy Ubuntu1 account to play around with and have long since forgotten everything about it. Now I am attempting to setup a real account and I cannot find a way to modify the account settings for the client software. Is there a way or do I have to purge it?

View 6 Replies View Related

Ubuntu :: How To Export Thunderbird Account Settings To Windows Computer

Jun 12, 2010

I've finally got all my accounts the way I like them in Thunderbird. I'm using IMAP and so don't have to move the emails, but how do I migrate my account settings to my other computers? The other machines are running WinXP.

View 4 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

General :: Changing Default UMASK Value?

Jan 15, 2010

I am attempting to modify the default umask value under all accounts on my linux system to 002. This will hopefully allow both the account and the account's group access to the created files.

I have modified it within /etc/bashrc, however it seems to be making no difference on this default value. The files I create through "File Browser" all have the access rights set to 600.

Is there any error here, as all evidence I can find on the internet points to the bashrc file.

View 1 Replies View Related

General :: Get Umask For All Users Using Script?

Feb 16, 2010

I am writing a bash script for auditing a Linux System. One of the points to capture is the umask of the users in the system.
Though a 'umask' command executed by the respective user gives this value, i am not sure how to get this in a script, which would be run with root credentials. This my be pretty easy, but i am not sure how root can find this for say 'user-x' (except say peeking into /etc/bashrc).

umask doesn't seem to accept username argument like the 'id' command does...

View 5 Replies View Related

General :: Set Default Umask For Users?

Jan 4, 2010

I think the following code is trying to change the settings inside the file:

CISum=077
sed -e "s/002/$CISum/" -e "s/022/$CISum/" /etc/bashrc-preCIS > /etc/bashrc
sed -e "s/002/$CISum/" -e "s/022/$CISum/" /etc/csh.cshrc-preCIS > /etc/csh.cshrc

[code].....

But, what if i only want to check what the settings are inside the file, but does not want any changes to the file.

View 1 Replies View Related

General :: Umask Value In Machine Usually It Shows 0002 - What Is First 0 For

Nov 26, 2009

When I see the umask value in a linux machine usually it shows 0002. I understand last three digits (002 in 0002) what is first 0 for?

View 2 Replies View Related

General :: Set Umask To 0000 For A Special User?

Jan 25, 2010

Please see below:

vim ~/.bashrc
umask=0000(bottom line)
source ~/.bashrc

But when I relogin, default umask was still 0022. How could I do ?

View 1 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

General :: Set Umask For Process Running Root User?

Nov 23, 2009

I am trying to set the umask for a process(orkaudio) which is running as the root user.This program creates dir and files and I need the umask to be 022. I have edited my /etc/bashrc -- and when i type in umask i get 0022 --- Not sure how to go about getting this resolved...

View 1 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 :: Setting User Mountpoint Permissions In Fstab Without Uid / Umask

Jan 30, 2010

I'm struggling to understand an aspect of mounting and mountpoints with /etc/fstab. There is a large number of sites and threads that make recommendations using things like uid, gid, umask, and other options. These methods, however, which I've used, are file-system specific, useful only for filesystems such as (V)FAT and NTFS that allow them.My current situation is that I am mounting partition /dev/sdb5 in, let's call it /media/myMount. My goals:Mount this partition automatically upon boot using /etc/fstab...The partition should be fully accessible only to a specific user or group.What I've done is create the mount point in /media:

If user michapma were to carry out the mount, I believe it would work; however, I want the mount to happen automatically during boot. So, how can I achieve my user (or group) permission goals for this and any other such partitions using fstab?The manpage for mount has been helpful, but after reading many tutorials and forum threads, the only way I know how to do it is to have the user do the mounting or rely on the file-system specific options.

View 2 Replies View Related

General :: Concept Of Umask - Default File And Directory Permissions

Apr 14, 2010

I am using Red Hat Linux 4 .There are some few questions in my mind related to umask. I want to know that is the default file and directory permissions ?

- When we use umask (022) command in terminal. and create a new file then the permissions applied for new file is for that session and when the system will reboot linux will take automatically its default permission from etc/bashrc or /etc/profile ?
- Can we make our own umask or the professional way is to follow 022 only ?
- What is the benefit of umask in Linux?

View 2 Replies View Related

Ubuntu :: Ssh Doesn't Work When Log Into Other Account

Jan 12, 2010

ssh works fine on root but when i log into my other account, the ssh doesn't work, it just times out when i putty it. I used this to try and start it from terminal in my reg acc, and then as the su.

sudo /etc/init.d/ssh start
After that didn't work i did this
sudo apt-get remove openssh-server
sudo apt-get install openssh-server
sudo /etc/init.d/ssh start

and still nothing. I have no clue why it only works on root and no other accounts.

View 9 Replies View Related

Ubuntu :: Gwibber Doesn't Let Add Any Account On 10.4 LTS?

May 20, 2011

I just added the ppa for gwibber stable and I installed the Gwibber 3.0.0.1 because the default gwibber on ubuntu 10.4.2 LTS doesn't let me add twitter account. Now, after launching the application,

View 6 Replies View Related

Ubuntu :: Empathy Doesn't Connect To MSN Account

Oct 21, 2010

Empathy used to work perfectly, it would connect to my account well. Now, for some reason, it just stays connecting with the little rolling circle thing next to the status. My account works on Pidgin though.. What could this be?

View 2 Replies View Related

Ubuntu :: Empathy Doesn't Work / How To Set Up Account

Jan 30, 2011

Im trying to set empathy up with my msn account. I have added the account but it just seems to lag and take a very long time to do nothing! I haven't been able to connect to my msn account yet. Can someone walk me through how to set up my account?

View 3 Replies View Related







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