CentOS 5 :: Centos-approved Way To Handle Group Environment Configuration?

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


ADVERTISEMENT

CentOS 5 :: Unable To Handle Kernel Paging Request?

Apr 8, 2009

I am trying to install CentOS 5.3 on a computer where I successfully installed Windows XP.

Booting from the DVD I got the following error:

[<c0458f3c>] serial8250_init+0x6d/0xe4
[<c041abd4>] init+0x25/0x69
[<c041f46b>] ret_from_fork+0x1eb/0x73c
[<c04597eb>] init+0x181/0x19b

[Code]....

View 11 Replies View Related

CentOS 5 :: What Does Rsyslog (using Yum) Install And How To Handle Conflicts With Syslog

Aug 21, 2009

I am thinking about installing rsyslog using yum, but I only want to try it out first and don't want to create conflicts and problems that will be hard to revert. When I ask yum on CentOS 5 about rsyslog, I get this (note much older version - it's too bad that even the latest STABLE rsyslog isn't in the repository):

[Code]....

View 3 Replies View Related

CentOS 5 Server :: BUG: Unable To Handle Kernel Paging Request At Ffff8140320234b8

Apr 30, 2009

Here's the text from the serial console before I rebooted:

BUG: unable to handle kernel paging request at ffff8140320234b8
IP: [<ffffffff802b0a13>] dentry_iput+0x26/0x9d
PGD 8063 PUD 0

[code]....

My root server is using CentOS release 5.2 (Final), kernel 2.6.26.5-rootserver-20080917a, SMP, 64-bit This Oops happened yesterday and before that it happened on March 14th of this year, and before that on January 31st of this year, so a repeating pattern. On the January 31st Oops, I just rebooted. On the March 14th Oops, I reformatted the two swap partitions as follows: mkswap -c /dev/sda2; mkswap -c /dev/sdb2 On this last Oops, I turned off the swap for 24-hours, then decided to turn it on again after doing the above mkswap again. During the previous uptime, I had dumpcap packet capture running, but this last reboot, I'm not going to run it.

View 1 Replies View Related

CentOS 5 :: What Is The Use Of /etc/passwd- & /etc/group - Backups

Sep 26, 2010

A junior question: What is the use of /etc/passwd- & /etc/group-? Backups? I delete them, and they will come out again.

View 2 Replies View Related

CentOS 5 :: Run 5.3 In ESXi 3.5 Environment?

Jul 13, 2009

We are having some problems in running CentOS 5.3 in our ESXi 3.5 environment. The virtual machine is running perfectly under VMWare Player, but when I converted it to ESXi using VMWare vCenter Converter 4.0.0, the CentOS often goes into a panic right at the start of stops when setting up the hostname.

View 1 Replies View Related

General :: CentOS Chmod Overiding Set-group-ID?

Jun 13, 2011

I'm used to setting up SGID on a directory

chmod -R g+s example and then
chmdo -R 750 example

And have the directory and all sub-directories preserve the set-group-ID. On CentOS SGID gets overridden by the second command.The OS is CentOS release 5.6 (Final)In theory, and like it says on this page, "if commands like chmod routinely cleared these bits on directories, the mechanisms would be less convenient..." and it's exactly whats happening. chmod -R 750 is effectivelly removing the SGID.How can I make g+s permanent?

View 1 Replies View Related

General :: Group Permissions For Subfolders Only (CentOS)

Apr 19, 2010

Is there a way to allow other members of my group to access subfolders under my home directory, but not my home directory itself?I'm using CentOS 5.4

View 3 Replies View Related

CentOS 5 :: Centralized Logins And Group Management?

Jul 23, 2009

I have to set up a box which can manage all the logins in our company and has the feature to manage every possible permission with as much comfort as possible. We are using Linux and AIX therefore my Boss is willing to switch from our Windows DC to a Linux DC. And here lies the problem, I don't really know what is needed to set the Box up to manage the Unix, Samba and LDAP accounts with one tool maybe?

I would like to know which Software exactly is needed and how to manage to get the thing to work together with a security aspect. I configured a Samba DC with LDAP, Kerberos and TLS but it looks like I overdid it because Kerberos is not able to manage the things we need in a manner that the other Admins in my Company would get things done in a short time.

Therefore I would like to get listed all the Software needed and maybe some How Tos how to get thing working, because I am losing my nerves on this matter.
In the last 3 weeks I have set up several test boxes but every time something doesn't work. My biggest Problem is to get Samba and LDAP to work together with TLS or another security scenario.

View 2 Replies View Related

CentOS 5 :: Boot - Volume Group Not Found

Oct 5, 2010

Before creating this topic I googled a lot and found lots of forum topics and blog posts with similar problem. But that did not help me to fix it. So, I decided to describe it here. I have a virtual machine with CentOS 5.5 and it was working like a charm. But then I turned it off to make a backup copy of this virtual machine and after that it has a boot problem. If I just turn it on, it shows the following error message:

Activating logical volumes Volume group "VolGroup00" not found Trying to resume from /dev/VolGroup00/LogVol01 Unable to access resume device (/dev/VolGroup00/LogVol01) ... Kernel panic ...! During the reboot I can see 3 kernels and if I select the 2nd one the virtual machine starts fine, it founds the volume group etc. (But there is also a problem - it can not connect the network adapters.) So, it is not possible to boot it with the newest kernel (2.6.18-194.17.1.el5), but it is possible with an older one (2.6.18-194.11...)

I looked into GRUB's menu.lst and it seems to be fine. I also tried #mkinitrd /boot/initrd-2.6.18-92.el5.img 2.6.18-92.el5 no luck! Yes, I can insert DVD .iso and boot from it in "linux rescue" mode.

View 18 Replies View Related

CentOS 5 :: Remove A Volume Group / Array?

Nov 16, 2010

I'm trying to do a disk upgrade on some servers. They are using LVM with DRBD on top and each LVM volume contains a Xen image. I have already created identical volumes on another volume group, copied the data and pointed DRBD to the new source (Which seems to have worked).

What I am unsure of is how to safely remove the disks. The disks are an Areca Raid 1 array and support hotswap. Can I just pull them out of the machine or is some sort of command needed to tell LVM or the kernel to disconnect from the physical array device? Is removing the raid array from the Areca management GUI first a good idea?

View 3 Replies View Related

CentOS 5 :: Setup Dev Environment With Samba?

Mar 11, 2010

I have setup samba and shared /var/www/html on a shared folder so that i can access the folder directly via my IDE, however i cannor write file in there, is there any better way of doing it ?

View 1 Replies View Related

CentOS 5 Networking :: Can't Join Multicast Socket Group?

Nov 3, 2009

I have a PC connected by ethernet to a Galil motion controller card.I recently installed Centos 5.The Galil software for communicating with the card is reporting that it can't join a multicast socket group.The software used to work with another version of Linux.

View 6 Replies View Related

CentOS 5 :: LDAP - Directory Server Group Rights?

Mar 24, 2010

I've installed Directory Server (LDAP). The setup has been done according to the tutorials online. Able to access the interface as well. So far so good. The issue I have is with permissions. I can assign file permissions to a user created in the Directory Server ( user not created on the local server). But the same can't be done for a group - alteast the way I currently see it. How could i assign file system rights to a group created in the directory server.

View 5 Replies View Related

CentOS 5 Server :: Allow Only Specific LDAP Group Access?

Apr 26, 2010

I've several servers (windows+linux) that authenticate to an LDAP server. There is one machine that I would like to allow only certain groups from LDAP server to have access and I am not sure where to start.

If that cannot be done, is it possible to disable LDAP root user to access these machines?

View 4 Replies View Related

CentOS 5 :: Samba - Netlogon - Script - Folder Map Only One Group

Feb 1, 2011

I have to create a script that will run only for a specific group. It is a very simple script, so to map the folder, it happens that only that group will be mapped folder. Look what I've done:

[Code]...

Corded that way, but can not be this way, the folder must be mapped to only one group, i have to do scripts for other users, groups, and a script for everyone.

View 1 Replies View Related

CentOS 5 :: Can't Install GNOME Desktop Environment

Jan 4, 2010

I try to install GNOME Desktop Environment with that command yum groupupdate "GNOME Desktop Environment".

View 3 Replies View Related

CentOS 5 :: Migrate VM In A Non Shared Storage Environment?

Jun 15, 2010

I have a server running CentOS 5.5 with KVM capabilities. I need to migrate all the VMs to another server with the exact same hardware specs. The problem is it is running on individual harddisks, not shared storage. What is the best way to migrate to minimise downtime?

View 4 Replies View Related

CentOS 5 :: Desktop Environment Missing - GDM Is Failing

Jun 26, 2010

I am running CentOS-5x as guest OS in VMware workstation environment. Till, yesterday everything was fine... Today, when i start up I don't see the Desktop coming up, may be the GDM is failing in some way ( guess though). Xserver is working, coz I could see xclock/xyes are loading, also i have checked /etc/inittab, runlevel is set to 5. I did not see any entry in /etc/sysconfig/desktop, thus it shows DESKTOP="" I tried to change it to DESKTOP="GNOME", but it has not worked.

View 1 Replies View Related

CentOS 5 :: How Many Isos Out Of 7 Shall Download To Have A Functional Environment

Aug 14, 2010

How many isos out of 7 shall i download to have a functional environment?

[url]

View 1 Replies View Related

CentOS 5 Server :: Set MySQL Environment Variable?

Sep 17, 2010

I have successfully installed XAMPP on CentOS. I can access PHPMyadmin from my browser. So my mySQL installation is OK. I need to set Environment Variable. I am confused about the path directory.

For an example in windows the path was:

%MYSQL_HOME% -------> C:xamppmysql

What will be the path for CentOS $MYSQL_HOME? Under LAMPP folder I did not see the "mysql" folder

View 1 Replies View Related

CentOS 5 Server :: Avoid Adding Users To Group Like Wheel?

Jan 7, 2011

i just want to prevent from now on from all users maybe even root from adding other users to groups like wheel for example. I also want to know how can I prevent from all users to create new groups or add users to new one.real

View 2 Replies View Related

CentOS 5 Networking :: Wireless Configuration For Centos 5.3 \ Shows The Wireless Name But It Doesnt Connect To It?

Apr 24, 2009

I have recently installed CentOS 5.3 in my system. I needed some help with the wireless configuration. Actually i have configured it and it shows the wireless name but it doesnt connect to it. in solving the issue.In the /var/log/messages , the following error appears :

Apr 24 20:46:51 localhost NetworkManager: <info> Activation (wlan0) starting connection 'OMWLAM'
Apr 24 20:46:51 localhost NetworkManager: <info> (wlan0): device state change: 3 -> 4

[code]....

View 1 Replies View Related

General :: Installing A Desktop Environment On A Centos 5.5 Server To Run VNC ?

Apr 27, 2011

I've done the following:

But when I connect via, VNC I get a minimalist screen and console.

I ran "startx" and got this:

I need to get a real desktop environment running on this box.

Centos 5.5.

View 3 Replies View Related

Server :: Ubuntu Versus Centos In A Large Web Environment

Mar 8, 2010

I have been a RPM-based distribution guy for a long time (redhat,centos,suse). We have a large shared and dedicated web environment that is starting to require more and more linux. I am in a position to switch gears and move to ubuntu if it makes sense. Things that are important to me are:

1. ease of deployment (both servers and websites themselves)
2. patch management
3. documentation

View 2 Replies View Related

CentOS 5 :: Create A High Availability Environment Between Two Machines?

Jul 9, 2009

Is there a way to create a high availability environment between two CentOS machines? I don't mean just the HTTP service or just one other thing. I need the entire server synced in real time ready to take over if the next goes down.

View 3 Replies View Related

CentOS 5 :: Compiling Glib PKG_CONFIG_PATH Environment Error

Feb 23, 2010

In my CentOS5.4 I need to install gtk+-2.12.2, it demands glib-2.22.3, and system has only glib-2.13.5

I download and install glib-2.22.3 with command ./configure --prefix=/opt/glib-2.22.3 && make && make install

Downloaded gtk+-2.12.2 and compiling like ./configure --prefix=/opt/gtk+-2.12.2 --with-glib=/opt/glib-2.22.3
gives error:

I made $ export PKG_CONFIG_PATH=/opt/glib-2.22.3/bin:$PKG_CONFIG_PATH

And please specify if here I have to write /opt/glib-2.22.3/bin or /opt/glib-2.22.3?

And echo $PKG_CONFIG_PATH - I see my lib in $PKG_CONFIG_PATH

But still the same error.

View 2 Replies View Related

CentOS 5 :: Java Environment Variables Setup With Newest JDK

Jun 4, 2010

OS: Centos 5.5_x86
I've searched quite a bit for how to set up Java environment variables with the newest java JDK. I installed java using the following commands:
yum groupinstall "java development" (I need it for the application I am trying to run)
yum install "java"
I have them both installed however I can't seem to get java to function. The application I am trying to run requires that I set java environment variables any solutions?

View 1 Replies View Related

CentOS 5 Server :: What Is The Maximum Number Of Logical Volumes In A Volume Group

May 15, 2009

what the maximum number of logical volumes is for a volume group in LVM ? Is there any known performance hit for creating a large number of small logical volumes vs a small number of large volumes ?

View 1 Replies View Related

CentOS 5 Server :: Cannot Setup Diskless Environment With Host (3.9 Kernel)

Feb 11, 2010

My problem is that I can't setup a diskless environment with CentOS 5.4 (server) and CentOS 3.9 (hosts). On the host, I've recompiled the CentOS 3.9 kernel, with these mods:
- added kernel level IP autoconfiguration;
- added NFS file system support;
- added Root file system on NFS;
- added e1000 driver (the host has a gigabit network card);

Then, I have followed the guide at this link: [URL]
But in my dhcpd.conf I'he put other parameters:
ddns-update-style interim;
allow bootp;
allow booting;

subnet 192.168.195.0 netmask 255.255.255.0 {
range192.168.195.70 192.168.195.90;
option routers192.168.195.254;
option subnet-mask255.255.255.0;
option domain-name"lnf.infn.it";
option domain-name-servers192.168.195.254;
option time-offset-18000; # Eastern Standard Time
default-lease-time21600;
max-lease-time43200;
filename"linux-install/pxelinux.0";
next-server192.168.195.254;
}

host dante79 {
option host-name"dante79";
hardware ethernet00:20:38:01:C3:7C;
fixed-address192.168.195.79;
}

View 8 Replies View Related







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