General :: Change Group In Working Environment
Sep 8, 2010
I have files that are sourced when users are working on a project. The files set environment variables and cd to the correct working directory and automate a few other things for the end users.
One thing I have not been able to figure out is how to change the user to a different group. Files created in a project context should have the project GID instead of the users default GID. I tried the newgroup command but it starts a new shell and breaks the other automation.
Any ideas on how this can be setup?
View 2 Replies
ADVERTISEMENT
Oct 19, 2009
i want secondary users can able to change the files permissions of primary group?user MAC is having www as a primary and httpd as secondary group. But he want to change the file permissions (chmod) httpd group files. Is it possible or not? I think its not possible. If it`s possible then let me know how?
View 3 Replies
View Related
Jan 27, 2011
I have a set of files that have a group ID number where no group exists in the system with that number.
I want to recursively read the group IDs of all (including hidden) files in the current and sub-dirs, test each file's group ID, and if it equals the search GID number, I want to execute a chgrp command on that file.
Anyone have an admin script already made for this task?
View 5 Replies
View Related
Mar 16, 2010
I am using Centos 5.4 and I changed the group on /dev/lp0 to group from root. After I do this my program printing directly to /dev/lp0 works fine. But when I shutdown and reboot the system the group on /dev/lp0 has changed back to lp. Does anyone know how to keep the group changed to group after a reboot.
View 3 Replies
View Related
Aug 10, 2011
I have a shared, family computer which has USB drives attached to it. Multiple users can be logged in, that sort of thing. All of the users have been added to "Access external storage devices automatically", however I've noticed that when one user plugs in a USB device, the other users can't see it without unmounting/remounting. When a drive is mounted, it seems to mounted at:
drwx------ 5 jdoe jdoe 4096 2011-08-10 12:03 DriveName/
What I want to do is change the default mount group settings, to:
drwxrwx--- 5 jdoe family 4096 2011-08-10 12:03 DriveName/
I know I can do this through fstab, but as far as I know that forces you to name the drive/mount point and that's not what I'm looking for, what if a user adds a NEW usb device and wants it shared with the other users?
View 1 Replies
View Related
Sep 22, 2011
I often need to change a small part of long environment variable (especially, e.g., paths), and do it either by pasting the thing into an editor and changing it there, or the equivalent.
Is there some small convenience utility to edit environment variables with a cursor on the command line?
I suppose I could always whip one up, but am hoping there's already something that I'm just not aware of.
View 2 Replies
View Related
Jan 18, 2010
I am working for a web hosting company. We work in red hat linux environment and the employees at present are having their data stored in individual systems. We wish to have a centralized environment, so that users can log in to a server with their user names irrespective of the systems they will set. Also, this could facilitate easy backup. we have about 70 systems, 90% linux machines. The number will grow in future. I am good in NIS, but not at all with LDAP. Is it okay if I suggest NIS?
View 2 Replies
View Related
May 16, 2011
How can I use the ping command in a chroot environment?
$ ping 8.8.8.8
ping: icmp open socket: Operation not permitted
Currently I am using CentOs, but ideally there must be a solution that works in all chrooted environments.
View 2 Replies
View Related
Feb 8, 2011
I have a group (GROUP) with a number of users. I recently added a new user (NEW). NEW is able to read but not write group files, whereas all the other users in the group can read and write to the group files. The permissions for the group files indicate that all members of group should have write permission -rwxrwxr-x
/etc/group indicates that NEW is a member of GROUP
...
GROUP:x:501:GROUP,OLD,OLD2,OLD3,OLD4,....,NEW
[code]....
Don't know if it matters, but both OLD and NEW write to the GROUP files over an internet connection. why NEW can't write to GROUP files? Is there a maximum number of members in a group that I might have exceeded?
View 2 Replies
View Related
Mar 10, 2010
What's the centos-approved way to handle group environment configuration? Let's say there are users in, oh, 4 different groups. Let's use the usual suspects:
accounting
warehouse
admin
netadmin
and I want to set up environment variables and maybe some pathing that are specific to a given group. So that when 'joeblow', who is a member of group 'warehouse', logs in, the pathing and environment variables (and whatever else) that is needed for users in the 'warehouse' group is set up and configured.
What I was initially looking for was an /etc/groups.d, and in /etc/groups.d is
/etc/groups.d
accounting.sh
warehouse.sh
admin.sh
netadmin.sh
As part of the login process, the group memberships for the login username would be examined, and for each hit the respective /etc/groups.d/ script would be run. I'm not seeing anything like that, so I'm assuming centos uses some other mechanism, but I'm obviously not using the proper keyword mojo. Can someone point me to where this mechanism is described?
View 4 Replies
View Related
Aug 22, 2010
I need to create a group that has the same permissions as the users group. Can I have the new group be a member of the "users" group to inherit its permissions?
View 4 Replies
View Related
Mar 31, 2010
When I run an exe-File, I become the message: -bash: ./a.out: Keine Berechtigung (No rights)
I have all Rights on the Folder and on the file. I suppose that the problem is that my group "Benutzer" has no rights to execute files. Where can I change the rights of my group?
View 8 Replies
View Related
May 12, 2009
Originally Posted by slackuser67 In my case it was a permission thing. Logging in as root, sound worked, logging in as user didn't. I followed the adding myself to the audio group and that didn't do it either. But, adding myself to the video group did the trick. You wouldn't think that would work with getting video but no sound, but it did in my case. I'm having all the same problems, but I'm using DSL-N, and I can't figure out how to check or change the group permissions.
View 2 Replies
View Related
Jan 13, 2010
I've installed slax6 onto an ext3 partition and setup a users account, i've also just managed to mount some virtualbox shared folders which are working and i can access them fine. The problem is I cannot seem to give limited user accounts access to them. root can access them no problem! but right clicking and changing the permissions do nothing, because once I click apply, reopen the menu, the changes have reverted. I've tried chmod'ing them.. chmod o=rwx /mnt/folder I used 'o' because I can't seem to change the group permission for the folder. The shared folder I am mounting is formatted in NTFS and the other in ext3, I can't change the permissions of either.
View 5 Replies
View Related
Dec 31, 2009
I would like to make group changes on serial ports permanent. I can become root and use chgrp:
chgrp uucp /dev/ttyaa00
but it only lasts until reboot. I think I need to add this line to a startup file but not sure where. I want this to work in run level 3 and 5 (at least). I have a digi portserver and their realport software. The ports are /dev/ttyaa00 through /dev/ttyaa07 and are in group root on startup. I want them in uucp so any user in uucp can use them. This is for F10.
View 4 Replies
View Related
Nov 11, 2010
How do i chance the owner and group from multiple files at ones.
How to change the rights for all at ones i know!
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 11, 2010
How do i chance the owner and group from multiple files at ones.How to change the rights for all at ones i know!.
View 1 Replies
View Related
Apr 24, 2010
i got my fedora 12 cd today. only thing is, i got the KDE version instead of the gnome version, which i want for software compatibility reasons. if i install the KDE version, how do i go about uninstalling the KDE and switching over to gnome
View 7 Replies
View Related
Sep 22, 2010
I want to change my Java from OpenJDK into IBM JDK.
my IBM JDK is installed in /opt/ibm/java-i386-60
my default JDK is OPEN JDK (i don't know where it's installed)
my question is, how i can change my default Java form OPEN JDK into IBM JDK
View 1 Replies
View Related
Jan 12, 2010
Now I know this is an Ubuntu forum, but my question is really for Linux distros in general. An obvious newbie to linux, I was just wondering if I could change the default desktop environment that comes with distros: for example Ubuntu comes with GNOME. There is a way to change that to something like, for example, xfce or Openbox right? Or are these environments set for each distro?
View 1 Replies
View Related
Dec 17, 2015
I installed debian 8 on a usb drive using this guide. I used a debian 8.2 64-bit image with mate. It has all worked as I wanted it to. However recently I needed to change the PATH variable, and create another environment variable. I have not been able to do neither. What I have tryed (from google):
1. adding "export PATH=$PATH:/xxxx/" to etc/profile or to /home/user/.profile
2. adding ":/xxxx/" to a point in /etc/profile where the PATH variable is set
3. creating a script in /etc/profile.d which run "export PATH=$PATH:/xxxx/"
(where xxxx is the the location i want to add)
View 7 Replies
View Related
Feb 17, 2016
I am new to Linux and I just installed Debian Jessie about a week ago. I have been tweaking it and learning the command line and all that, but I also have been reading and studying about different aspects of Debian that I was unaware of before I installed it. Because of my reading, I think that I would like to change my desktop environment. When I installed Debian, I consciously chose the Cinnamon desktop because I felt that the simplicity would suit my needs, but I have recently read about KDE and I think that it has some features that I would be interested in. Is it possible to change my desktop environment now, even though I have already installed Debian? If so, how difficult is it?
On a very closely related question, I do have an extra 60 GB partition just sitting there with nothing on it. As an alternative to the above scenario of changing desktop environments before I know exactly which one I will like better, I can make another installation of Debian on my free partition and run both Cinnamon and KDE side-by-side for a little while until I learn which one suits my needs the best.
View 14 Replies
View Related
Oct 27, 2010
I would like to know how I can change my default desktop environement. I don't use gdm at all, I don't want to. I prefer startx (I boot into terminal mode). Also, I would like a global setting.
not ~/.xinitrc
For example in fedora the default desktop is setup in this file: /etc/sysconfig/desktop. So I can change the default desktop for all users just by modifying this file. How can this be done in ubuntu?
View 5 Replies
View Related
Jul 3, 2011
this is my first real problem that I can't solve my self.I've a test samba share called "Share" and I've created three users:
-mones
-fsu
-fsu2
[code]....
View 2 Replies
View Related
Jul 17, 2011
In my /var/www directory, I have everything set up with:
user: www-data
group: developers
directories: chmod 570
files: chmod 460
Everything seems fine. Users from the developers group can edit files and all, but now we began using the Git repository, and whenever a user edits a file (ie. Joe who is a developer,) file permissions get screwed again. Now they're:
user: Joe
group: Joe
directories: chmod 755
files: chmod 644
How can I fix this so permissions remain the same?
View 2 Replies
View Related
Jun 13, 2011
I installed the latest version off the download site yesterday, when first booting an error message came up that my hardware does not support the most recent desktop environment so I should switch to classic. After a bit of googling I found out how to do this.
The problem is that my hardware really doesn't support the current desktop environmet, I can't get the windows to appear, I just get black rectangles in the middle of the screen instead, so the GUI is inaccessable.
I am looking for instructions on changing the desktop environment from a command line (which I can boot to).
View 3 Replies
View Related
May 12, 2010
I had chosen automatic logon. Then updated to 10.04. During logout to change Desktop Environment/Session, I noticed that GDM login screen had an option for KDE session although I had not installed KDE. I got curious. So I tried it. System hangs. Restart does not help because somehow gdm proceeds to the KDE session although I did not choose it to be default session. So I had only CLI left.
I got over it by stopping gdm (/etc/init.d/gdm stop) and removing gdm and installing xdm. Anyway, what is the proper way? How to order desktop environment from CLI and/or where is the default desktop environment option written in a file?
View 2 Replies
View Related
Jul 27, 2011
I recently installed Ubuntu 11.04 and trying to learn the new Unity environment. Bibus is a reference manager which I used with great pleasure for sometime. It was perfect in terms of inserting and formating references to openoffice-writer.Now, with 11.04 Unity environment Bibus can insert references to Libreoffice-writer but can not change reference styles. Once I log out and re-enter with ubuntu-classic environment I see that Bibus is working perfectly in Gnome desktop of 11.04.In the Unity desktop I have to run Bibus as root to change styles and change reference formats.Why Bibus can not change styles and format references in Unity environment unless having root privileges?
View 2 Replies
View Related
Sep 9, 2010
i created a directory in my webserver as well as a group "webdevs" which I want to give write permissions to, and include my user so that i can edit.i used [addgroup webdevs] then [adduser MYUSER webdevs].then [sudo chown root:webdevs MYDIR]then [sudo chmod 774 MYDIR]when I try to cd to MYDIR under MYUSER, I get permission denied.
View 3 Replies
View Related