CentOS 5 :: Installed Groups Removing Certain Items
Feb 2, 2010
I just installed CentOS 5.4 using the Server option. Most of our systems are currently Novell SLES but I am trying to experiment a little and see if we can't switch to CentOS. Forum support here is awesome! Hopefully, someday soon I'll be able to lend a hand on the forums and help out new users as well. Anyways, back to my original post. Once I installed CentOS I run yum grouplist and get the following:
[Code].....
I am a bit confused. The Installed Groups represent what is installed? If so, how do I remove items like DNS Name Server, Dialup Networking Support, etc. Also, what is the easiest way to remove or view these items with and without a gui?
When i reinstalled Ubuntu i reinstall it on top of an existing not working ubuntu so now in the boot menu i still have 2.6.35-6-generic menu items but i can't find 2.6.35-6-generic anywhere how can i fix it?
Have recently installed 10.10 and have several other OS' installed, as well as other NTFS (non-OS) partitions. After a couple of updates, my boot menu shows about 8 entries, whereas I should only have about 4... How is this fixed in Grub2?
Have installed Startup Manager, and there seems to be no option here...
For some reason (unknown to me) my Ubuntu Software Center will no longer do installs, I keep getting a pop up window with the message: Items cannot be installed or removed until the package catalog is repaired. Do you want to repair it now?
If I click Repair and then input in my password I get a another pop-up window which says: Package operation failed The installation or removal of a software package failed.
And then the first pop-up pops up again and the whole process repeats for a while, until I hit cancel enough times that I get another pop-up window which says: The package system is broken. Check if you are using third party repositories. If so disable them, since they are a common source of problems. Furthermore run the command in a Terminal: apt-get install -f
The details say this: The following packages have unmet dependencies: jonas-5.2: Depends: java5-jdk but it is not installed Depends: upstart-job but it is a virtual package
When I run that command in a terminal I get: dlazov@ubuntu:~$ apt-get install -f E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
I also tried the following but not sure what exactly it means or how to fix or repair any of this: dlazov@ubuntu:~$ gsettings set com.canonical.Unity.Panel systray-whitelist "['all']" dlazov@ubuntu:~$ sudo apt-get install compizconfig-settings-manager [sudo] password for dlazov: Reading package lists... Done Building dependency tree Reading state information... Done compizconfig-settings-manager is already the newest version. You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies: jonas-5.2 : Depends: sun-java6-jdk but it is not going to be installed or java5-jdk but it is not installable E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). dlazov@ubuntu:~$
I saw in the error log a command to type in I tried that but got this: dlazov@ubuntu:~$ dpkg-reconfigure debconf /usr/sbin/dpkg-reconfigure must be run as root dlazov@ubuntu:~$ I never created a root user during installation and I have no idea on how to login as root. ?
I installed F14, then dropped in my passwd, group, and shadow from F9 w/o backing up what F14 had done. So now I get some messages about missing users like rtkit and missing groups.
Is there an easy way to find out what default users and groups F14 would have installed?
I installed grub from the extras directory on the Slackware DVD in the hope that it would 'find' all my linux systems and XP. (LILO would not find them.)It sort of found then, in that they seem to be listed in the grub menu at start up, but only the 'title Windows XP on (/dev/sda1)' and 'title Linux on (/dev/sda7)' actually launch.
Recently I have installed DockbarX and Cardapio. After installation they are supposed to be found in the Add to Panel items, but both of them are not there.I can run them directly without any problem. Is there anything else I should do manually? I have tried pkill gnome-panel to restart the panel as well.
I already know of a work around to fix this problem, but I guess my question is why is this not working as expected? I am using a Windows Server 2008 R2 Active Directory for authentication.
I have run auth-client-config for the ldap profile and pam-auth-update. When running getent passwd, I get a list of both the local users and the users in the active directory (with populated information in the Unix schema extension). When running getent group I get a list of both the local groups and the groups in the active directory (with populated information in the Unix schema extension).
Interestingly enough, though, when I run su DOMAINUSER, after the prompt for the password I get an authentication error. In /var/log/auth.log I can see an entry with pam_ldap: missing "host" in file "/etc/ldap.conf". The SRV records in the DNS servers resolve correctly. I've checked this with nslookup and I have seen the records within my zone file. Obviously if the ldap.conf file is working with getent and the ldap server is resolving from the SRV records, it is working fine.
The interesting part is that the Windows Server 2008 R2 AD machine shows in the event viewer that there was a successful authentication, yet the Ubuntu box says no. When I add the host within the ldap.conf file, everything works...getent and the actual authentication, either initial login or su.
I am currently trying to set up a Samba domain server. In the Samba-HOWTO-Collection I found an example file.(Point 3.3.3.1) In the explanations of the example below, the author says I need to map UNIX Groups to NT Groups. He writes a shell-script of how one could do it, but when I copy it and then execute it, I get the error:
Bad option: rid=512 Bad option: rid=513 Bad option: rid=514
The other groups do get mapped, just the Domain Admins, Domain Users and Domain Guests dont. This is the shell from the HOWTO:
#!/bin/bash #### Shell-Skript f ̈r sp ̈tere Verwendung aufbewahren net groupmap modify ntgroup="Domain Admins" unixgroup=ntadmins rid=512 net groupmap modify ntgroup="Domain Users" unixgroup=users rid=513 net groupmap modify ntgroup="Domain Guests" unixgroup=nobody rid=514
So i am at the stage of about to install the basic system and am using a derivation of the package management provided by Matthias S. Benkmann. To this end I am using his useradd and groupadd scripts to update the files:
/etc/passwd /etc/group
My issue is that when I run the commands(created as part of temporary system when installing coreutils):
Code:
/tools/bin/su linux #then as user /tools/bin/groups
(here linux is the name of the user) This only returns the user being in the group named after user but not the additional group of 'install' Also, prior to logging in as user, if I use this command as root:
Code:
/tools/bin/groups linux
linux install This then returns that the user is in the correct groups. Lines from relevant files look like:
I have centos 5.4 installed (2.6.18-128.2.1.el5 #1 SMP Tue Jul 14 06:36:37 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux), and I am using WHM/Cpanel to manage my server. I am looking for a GUI utility, so I can graphically manage users/groups.
I attempted to install Adobe Photoshop Elements 9 under Wine and it failed. Then I read a thread that offered some tweaks. But now when I try to install all that it offers to do is UNinstall. I thought I could UNinstall and then reinstall, but no...It fails to UNinstall too...just as it failed to install. So I'm wondering how to remove this (the command line way) from the system. I tried "yum remove wine" and when I put wine back, like a phantom, the same problem was there. I tried removing the entire .wine directory in my home folder...same problem.
I was looking into using control groups to limit the memory usage of each user on my CentOS system. I was told that this required me to recompile the kernel to have cgroup support. Is this true? Or is there a kernel module that will allow cgroups to work for users and groups on the system without kernel re-compile? Or, is there another way to limit the users memory usage? I have tried ulimit and it doesn't seem to work right.
I ask since this setup will be on a VPS system, that means to re-compile the kernel I need to use Xen instead of OpenVZ. Plus I have never in my life re-compiled the kernel, least of all with different modules ha ha ha so I would have to pay my NOC to do it. So if I don't HAVE to recompile the kernel to get cgroup support.
Hoping for some verification before I proceed.An alt kernel was installed side by side with the current mainstream kernel during an experimental NIC driver install. Unfortunately, since the experiment failed I would now like to remove all traces of the alt kernel since it was given a version ahead of the current main version and I would like to avoid all possibilities of contention should a future kernel upgrade use the experimental alt kernel's version number.
I had added a repo from this site: [URL]...now, i have removed the repo as i dont want to use the software anymore, but how do i make sure that i have removed everything on my pc installed from that repo?
I had added a repo from this site: [URL]now, i have removed the repo as i dont want to use the software anymore, but how do i make sure that i have removed everything on my pc installed from that repo?
I have Burg installed and it's great! But like what GRUB does, I don't like the timeout thing (having only 10 seconds to decide). I actually want to get rid of the 10 seconds and make it infinite seconds during startup, mainly because I usually turn on my laptop and turn away to do something else. so how do I get rid of the time? I haven't been able to find any related results in Google or here in the forums.
I have a Samba File Server that can authenticate users in my Windows AD to log into the server. Anyways, I have a good amount of Windows Admins on staff but our org wants to cut budget so our first "slash" as it were is cutting down the actual Windows based File Servers.So my question is, now that I have this test server up and authenticating for logins using Windbind....is there a way I can get system-config-samba to "see" winbind users and groups so that file servers can still be "point and click" for my Windows Admins?
I'm working on a kickstart install to automate a lot of monotony doing installs. When i use the kickstart install i get an error on boot saying "File based locking initialization failed" "no volume groups found". Then it proceeds to boot up with no issues and appears to work just fine. Below is the section of my ks.cfg for creating the partitions: %include /tmp/partition.cfg is included where the partition info usually occurs. The user is prompted in the pre script for how large they would like the partitions to be and then the script below creates the included file with partition info
I have setup a Centos5.5 VMWare guest with Samba and Winbind for Active Directory integration, using GUI tools. Authentication works flawlessly, with automatic home directory creation. What I want to achieve now is using local UNIX groups to controll access to shared folders, to avoid bothering AD administrators with groups management. This is my smb.conf global section:
'finance' is a local UNIX group where I added user 'COGITANSalberto' (I also tried with 'alberto') as a secondary group (primary group is 'domain users' and it cannot be changed). I am sure the user is added, because it is listed in 'getent group'. If I specify user COGITANSalberto in valid users it works, i.e. only that use can access the share, the others get a NT_STATUS_ACCESS_DENIED error. But if I use +finance, access is denied to everybody, and this is the log:
[2010/09/11 14:12:37, 10] smbd/share_access.c:user_ok_token(211) User COGITANSalberto not in 'valid users' [2010/09/11 14:12:37, 2] smbd/service.c:make_connection_snum(617) user 'COGITANSalberto' (from session setup) not permitted to access this share (finance)
[code]....
It seems like winbind cannot recognize finance as a local group. For the same reason, I guess, 'force group = finance' does not work either (files are created with 'domain users' group ownership). My /etc/nsswitch.conf:
If I wanted to update Apache manually, instead of having Yum update it, how would I remove apache from Yum's database? What else would be involved if I download Apache source; and then configured, built, and installed it?
We have a centos 5 instance running as a virtual machine on vsphere 4.0, which has a number of virtual disks presented to it. We need to remove these virtual disks from the system without rebooting it, but have had no luck searching VMware's KB or the internet for solutions to the issue. It seems we can strip the disk of all it's partition information, then remove it from the system in VMware, but /var/log/messages still reports scsi errors when running fdisk against the said disk. There is also a folder with the deleted disk's name (e.g. /sys/block/sdp), after the disk has been removed and the host bus has been rescanned. Is it even possible to completely remove disks from linux without a reboot?
On a Debian system, I installed Adobe Acrobat Reader using the Linux binary (AdbeRdr9.4.2-1_i486linux_enu.bin) downloaded from Adobe's website. I realized there's a way to install it from a Debian package as opposed to Adobe's binary (and be able to keep up better with security updates), so I want to remove Adobe's version and install the Debian package. What's the right way to uninstall Reader when it was installed this way?
On my home test 5.5 VM, after converting to ext4, moving items to the trashcan in Gnome results in nothing showing in the desktop Trashcan. Looks like a bug in gnome-vfs' support (or lack of it) for ext4, or have I got some other more subtle corruption going on? It's of little importance to me as I'm rarely in the GUI, but it would be nice to see confirmation or otherwise.
I am using OpenSUSE 11 on my Intel Dual core. But, now i want to move to Centos5 and planing to remove SUSE and installing Centos5. But to be frank, i don't have any source to take the backup of my data. So, can i install only CentOS by removing SUSE without any data lose. Any procedure? If yes, then let me know the step by step guide so that i can go with Centos ASAP.