OpenSUSE Install :: Where To Set Umask For User
Oct 27, 2010
after installing openSuSE 11.3 i was thinking a bit about security. I read, it's a good idea to set umask of users to 077 . I'm unsure now, where to do this, cause there are different locations offered in the web:
/etc/login.defs
$HOME/.profile
/etc/profile - umask would be valid for root too.
And for my understanding:
- Is it wise to set root to umask 077 too or could this lead to negative effects on my system.
- Is it even senseless to umask the normal user to 077 if there is just one desktop-user using my system (myself ).
View 9 Replies
ADVERTISEMENT
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
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
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
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
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
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
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
Feb 16, 2010
what is the correct way/procedure to re-create a user home directory. For instance, on a Mac/Windows machine, i would just rename the existing user profile [home dir], and then just log back in as the user - job done. On OpenSuse/Linux, it seems it does not work that way..?! When i try to rename my home folder to say me.old via root, and log back in as me, i get all kinds of errors. Opensuse does create a new home dir, but it appears not properly.
View 9 Replies
View Related
Jan 2, 2010
When trying to install 11.2 from DVD, the user information I entered at the beginning of the install gets lost. I get to the Automatic Configuration step at the end of the install where the computer needs to reboot, and it asks for my user ID and password (it shouldn't do that). It won't accept the user I created (always says login failed), but it will accept root. That really doesn't matter, because the Automatic Configuration step has done anything, and I have a busted install. I've tried the install 4 or 5 times, but it is always the same problem. I eventually reinstalled 11.1 without any problem (though I did have to click Use Entire Disk on the partition section so it would delete the ext4 partitions created by the 11.2 install and create ext3 partitions).
View 3 Replies
View Related
Sep 11, 2010
I have installed Suse on my Windows Vista 64bit machine a couple of times, but the last time I did it - after a disk change - presented some unanticipated problems. Prior to install, Windows Disk Management (whose output I was unable to paste into this question) showed that my disks were laid out as follows:
[Code].....
Disk 0 is a Seagate ATA drive, while Disk 1 is a Western Digital Ext HDD Usb Device. Looking back, I think I should have carved out a partition after M before installing Suse, but I was uncertain whether to make it a logical one or a primary, and in the past the installation has taken the 25 or so gig it needed from the last defined partition on disk 0. This time, however, it went after disk 1, and reformatted the entire drive, deleting about 300 gig of user data, including my system backup. What really suprised me is that it took up the entire drive: 2 gig for the swapfile, then a 20 gig partition, and all the rest for the third partition.
This is not what I would have expected. I especially would not have expected the installation to re-format user data. In any case, I did not want Suse on disk 1, so I reformatted the drive and then used my Partition Manager to rebuild the boot Mbr. So now, I am able to boot into windows, do not have Suse on my machine, but have lost critical data. My disks are now back to the way they were when I started (see above), except that drive F is now all free space, except for my latest backup. My question is how do I ensure, when I reinstall Suse, that it will choose disk0 for the installation and will not overlay any of the data that I have on that drive.
View 8 Replies
View Related
Jul 3, 2009
No idea why this happens but on a couple of systems I'm unable to boot into single user, either as runlevel S or runlevel 1. This is true for the Failsafe image and the regular system image alike.
The major symptom is that it seems the initrd image is started and then the system hangs when it tries to transfer control to the inittab.
I am able to boot into the system with runlevel 2 or higher. I am also able to boot into the single-user rescue DVD image.
how to add the rescue DVD boot image to my secondary IDE drive so that I have a guaranteed way into the system?
View 4 Replies
View Related
Jan 27, 2010
I don't want people to use my machine without my presence since I have a lot of cookies and files stored on this machine. So I hope each time the system starts it shows login window and asks for account/pwd. How can I do it?
View 8 Replies
View Related
Apr 12, 2010
I need to start VirtualBox on my server at boot time as "virtual" user, not root.
* What is the command line to do so? Virtual box command is "VBoxManage startvm xxx" but for "virtual" user?
* I think of setting this line in /etc/init.d/boot.local, but I wonder if this is not too early in the boot process?
of course I need all this to be done on non-interactive way, automatically (from the command line, I do it easily), including passwds
View 4 Replies
View Related
May 10, 2010
I have installed OpenSUSE a few months ago and worked fine. But from yesterday i can't login with root user. I received the message:
Login: root
Invalid user name
I have no question for password neither.
View 9 Replies
View Related
Jul 23, 2010
I have a dual boot system with OpenSUSE 11.3 and Windows XP. I would like to have OpenSUSE mount the windows drives (C,D,E) only when one particular user logs in, and not be accessible for the other users. I have tried playing with the fstab options (do not mount at startup + user can mount, creating a new user group 'mounters' and replacing the 'users' in th the fstab line with 'mounters' etc.) but this is not doing what I want.
View 7 Replies
View Related
Nov 25, 2010
Installed 11.3 for 2 users. PC Asus motherboard. /home partition ext3 from 11.1. When one of the users hibernates (to disk) and the other resumes with a change user click the system sometimes ! does not know what to do. It askes for the password but both passwords (both users) are rejected, however the last time the system resumed with 2 active mousearrows and I think both users were activated. Unable to use the mouseclick because both arrows were active. Is this a known 11.3 unstable bug or is it in my system?
View 4 Replies
View Related
Dec 5, 2010
Here are the facts and problem :Can see ALL the root files "/" of Ubuntu mounted partition in openSuSe 11.3But CANNOT see ALL the files inside the user "human" folder in the mounted Ubuntu partitionCan only see these files inside the user "human" in the mounted Ubuntu partition
Code:
linux-ictb:/srv/www # ll -a /Ubuntu/home/human/
total 12
[code]....
View 9 Replies
View Related
Jan 20, 2011
i am trying to create some user with only numbers and i cant....
Opensuse tell me that i need that the user start with a letter or "_"...
How can i create the user!! i need
View 9 Replies
View Related
Aug 13, 2009
How can I enable "Auto Login" for root user?In " Yast --> Security And Users --> User And Group Management --> Expert options --> Login Settings " is just my own user and there's no root user to choose.
View 9 Replies
View Related
Dec 5, 2009
I am having a problem with some users who get locked out after more than 3 failed attempts at login. This is exactly what I want to see - they will eventually remember those stronger passwords (maybe?) - but how do I re-enable their access? I haven't tried this on a live box but I can easily recreate the situation via vnc to the server in question and I assume the result would be the same. I like the policy that leads to this but I do need to let them back in - eventually. Where is the blacklist kept and how do I edit/reset it?
View 3 Replies
View Related
Dec 14, 2009
Sometimes my user list is empty on start-up. When it happens the buttons beneath the empty list (shutdown, suspend and restart), are not responding. As a work-around I login to the first terminal as root to restart the machine and usually my normal user account appears back on the list. This morning the reboot work-around didn't work any more..
View 4 Replies
View Related
Dec 25, 2009
I'm using Gnome as my desktop in openSuSE 11.2. How do I set my login so that all users are not shown?
View 3 Replies
View Related
Feb 1, 2010
this is a strange one. running 11.2 pae 32 bit kernel with all the most recent updates and gnome. This is a fresh install. I built the machine, and then installed all my repositories and software, and used the machine for about 2 days, and now when I log in it hangs on logging into gnome. it's strange because the wireless notification about available wireless networks is in the top left corner of the screen, and nothing else happens. I can log in as root.I also had this issue before I formatted the machine (that's why I formatted)
View 9 Replies
View Related
Apr 15, 2010
I'm looking for a user-friendly way to change the password of a user that is *not* currently logged into the machine. We have a machine that is used by a number of users with a low level of tech savvy. The machine gets logged in as a generic user which works for most purposes, but due to a management requirement, we need Firefox to be run under an account set up for the individual user. I've gotten that bit to work fine, but what I can't figure out is a friendly (GUI) way to allow users to change their own password while the machine is logged in as the generic user. I would like to use gnome-passwd, but I've been unable to figure out how to get it to run for a user other than the logged-in generic user.
View 7 Replies
View Related
May 22, 2010
This is the first time I am using forum. I am using SUSE 11.0 I dont know which settings I made but for one of the user I am not able to see the blue bar which has minimize, maximize, close bar.
I tried to replace .bashrc other related files by creating new user but the problem still exists.
Kindly help me to know what are the user profile related files and what might be the cause for this.
View 9 Replies
View Related
Jul 1, 2010
I have a problem with GUI under SuSE. As root I can enter but as normal user I can't. So the splash occurs I put user name and password but the system try to enter and later it comes back. I try from CLI, I make startx from command line, the same situation. Sometime the system informs me about a error (a temporary file from /tmp(.X0~ )I must remove, I did but next time it tells me that it can't load one module (it gives me a number).
View 9 Replies
View Related
Jan 30, 2011
I was logged in, but had not used the computer for about 48 hours. When I 'woke' the system, I could see that Thunderbird and Firefox were active, just as I had left them. I moved the mouse, the screen went black and the mouse pointer was visible (and could move). The system stayed like this for about 2 minutes, then wend down completely. I cut power, booted and got the login screen. Each time I put in my password, it looks as if it is loading but then just goes right back to the login screen. I have no problem logging in as root.
View 9 Replies
View Related
Mar 22, 2011
Yast->Users and Group Administration->set filter: system users.I get a very long list, including an account called "nobody".
View 3 Replies
View Related
Jun 3, 2011
I have installed OpenSUSE and could able to join to Windows 2008 domain but I am not able to login to SUSE system using domain ID. It is showing "Unable to authenticate user."
View 2 Replies
View Related