General :: Password/shadow Or Group/gshadow Mismatch - Error "user Database Cannot Be Read"
Aug 6, 2010
I'm running RHEL 5. When using the GUI System>Administration>Users and Groups, I get the error: The user database cannot be read. This problem is most likely caused by a mismatch between /etc/passwd and /etc/shadow or /etc/group and /etc/gshadow. The program will exit now.
Some research showed that I need to use vipw and vigr respectively to find an inconsistency between these two sets, which I did - to make it easy I copied each from [vipw | vigr] to an excel file and did =exact(%1, %2). There are no inconsistencies.
I recently mashed the passwd, shadow, gshadow, group files in my Fedora 12 installation. I was dumb and didn't take a copy of the originals and all I have is the originals from a Fedora 11 installation.
Unless your distro has taken care of it Centos 5.5, you'll need to create a user with a password and read/write privileges for program database. You can do this using the MySQL command line client if you are familiar with it. Well I am not familiar with it, so I wam wondering how to do it. As well when I run
mysql - p program </usr/share/program/mysql.sql>
It asks for a password. how do i find out this password.
I want to know, how does changes happened in the encrypted password in /etc/shadow file , when user changing password . because user doesnot have access on that file
I am trying to write a remote access module. Is there any function in linux where I can give string (password entered by user) and compare it with the actual user password stored in /etc/shadow. Since the password is stored encrypted in /etc/shadow I cannot parse and compare. So I want some method to compare if my user entered the correct password..Is there any function for that..
I had my server going pretty good. Two sites being hosted. Wilmingtoncoc and Mikealrhughes. Last night we had Thunderstorms and Tornadoes come through. While I was out Tornado chasing. We lost power here for an instant and back on. When I came in the server was off. So I booted it back up. The mikealrhughes site is still working good. The Wilmingtoncoc site is giving me a Database read error, it is a WordPress site. Also I can't log into the Server using SSH. Where do I start to repair the problem? Do I reinstall SSH if so what is the command I use? Then how do I solve the WordPRess Database problem? Also when I try and issue a command from the Server with sudo in front of it I get an error message that says - sudo: must be setuid root - whatever that means. I couldn't find that in any of the books I have.
This is weird, today I updated my system and while trying to visudo from single user mode got
"cannot read /etc/shadow: Permission denied"
which kept me from doing anything until I switched to file permissions of 400 on shadow, then back. Is this being experienced by anyone else or just me? /etc/security/limits.conf doesn't seem like it wants to change in enforcing mode either and I can't find any alerts to provide clues on the situation.
My bose ask me to convert a CentOS system password like "LMPQSMTE0nHlQ" to postfix MySQL MD5 Hased password, I find CentOS seems has 2 kinds of password form, one is shorter and the other is very long like"$1$C2MSk16n$WT5JWnzYH7XpCCjsiE2bd1", however I find postfix is exactly the later long one, so does any one know how to convert the short form to the later one
This situation after a mains power failure took server down.Log oonto server with root, go to Admin > users and get this message:" The user database cannot be read. This problem is most likely caused by mismatch between /etx/password and /etc/shadow or /etc/group and /etc/gshadow. The program will exit now."
I am writing a simple application that will run as user foo (i.e. Ubuntu user foo).However, the application will connect to my database as (database user foobar). IIRC, database users have nothing to do with Linux system users - but I just need to clarify that.So can an app launched to run as user 'foo', connect to a database as user 'foobar'?
I was creating an OpenGL+GLUT+Perl Simulator, and I got this error on starting it:
Error: API mismatch: the NVIDIA kernel module has version 195.36.15, but this NVIDIA driver component has version 195.36.24. make sure that the kernel module and all NVIDIA driver components have the same version. The app still works fine, but I have no clue what to do about this.
Today i was going through some of security guides written on linux .Under shadow file security following points were mentioned.1)The encrypted password stored under /etc/shadow file should have more than 14-25 characters.2)Usernames in shadow file must satisfy to all the same rules as usernames in /etc/passwd.3)password for application Username should display * if username is not locked.4)If a user is locked it should be displayed as ! as the first character in second field of shadow file.
Confusion for point 1 and 2:Now i m confused as why the encrypted password should be more than 14-25 characters.Also what rules to satisfy How to check it?Confusion for point 3 and 4:There are lot of users with * as second field i guess they are not locked but according to 4th point there are lot of users with ! as first characters.How would i check whether they are actually locked or not.I m posting the output of /etc/shadow and /etc/passwd files for the account.
I need to manually convert an string ( like with echo ) to a DES crypt format to be inserted inside a /etc/shadow file, does anybody knows how can I do that?
Maybe there are some little tool that could handle that operation, well.. I don't know, hope someone can give me a hint on that.
The normal user is now in the sudoers group. How can i allow it to install programs using it's own password rather than having to know the super-secret Root-Users password?
I would like to grep all values other than encrypted password from /etc/shadow fileFor example,each line consists of 8 fields separated with :/The only thing that I want not to print out is the contents between first : and second : (encrypted password)
I built the indexes, but when I search I get this: Top-Level Documentation Application Manuals
openSUSE Documentation (en) Htdig error: Unable to read word database file '/home/philip/.kde4/share/apps/khelpcenter/index//opensuse-manuals_en.words.db'
[code]...
the UNIX manual pages work, the Application Manuals show nothing, and the openSUSE Documentation shows the same error. This is the same no matter what I search for.
I'd like to add essentially an anonymous user, which does not require a password. Second I think it's probably a good idea to only give this user very limited permissions, is there a way I can restrict the commands that they can run to a list (i.e. they should be able to run scp, ls, cd, maybe a few more, but not much)?
after installing thunderbird my computer was unable to load linux (fedora 13) while loading it reaches the blue screen with logo and halts. it didnt respond to any button. then i went to a single user by Ctrl+Alt+F1 because im a total newbie and thinking that video driver is missing, i installed nvidia using yum! but the problem remains. now entering startx gives:
API mismatch: the nvidia kernel module has version 195.36.24, but this nvidia driver component has version 260.19.12. there is always this error: no display specified/etc/X11/xorg.cof file has Driver "nvidia" in the Section "Device", but it is supposed to be "nv", because it was so previously. manually editing this doesnt help.
1). is it possible to "unyum" what i did and get back the driver i used to have? 2). how can i get the display working? 3). were there any known to you cases when thunderbird could mess up display drivers?
We are aware that unix has three sets of permission such as owner, group and others. I have a requirement to have a read-only access to a folder and sub-folders and the group that currently holds can't be used. Because it has write privileges. I would rather not prefer to use others, because it opens to each user in the system.have read-only access for another group?
How can I create a user group that restricts Internet privileges to only members in the group, then I will assigns certain applications to join the group for access to the Internet.
For example, I want only group net to have access to the Internet. Group net is then connected to:
Code:
So far, I am using the gnome group policy manager that is standard with ubuntu but Its not working. It is possible that im misdirected and that I should use a firewall instead?
What I want to be able to do, is have create a group, for example called "group1" and set its default permissions to read & write, instead of the usual just read.
So when I add a user into "group1" they automatically have read & write access to all files & directories which is in "group1".
Oh & I use crunchbang 10 (statler) for my desktops & Ubuntu 11.04 for my NFS/print/SSH/etc/etc server
I have a file the owner is root:root ( mode is 644 ), I want to release read & write permission to a non root user ( eg. admin_usr ), I tried to create a specific group ( eg. ADM ) and release it to root user and admin_usr ( by adding this users to ADM in /etc/group ) , but it is not work, if preserve the file mode to 644 , is it ok? how to do it if I want to have read & write permission in my case ?
I have been using CentOS 5. for around 3 months. It was all fine and was having a pleasant experience using CentOS. Today when i turned on my computer and booted CentOS i am having the below error: Grub comes up, allows me to select CentOS 5.4 kernel image. and displays RedHat Nash version: and then the below error occurs:
I got this error message when installing Fedora 11 by an installlation DVD (download from [URL]) Unable to read group information from repositories. This is a problem with the generation of your install tree. This error message appeared after the step that the installer asked me to choose where to install boot loader and configure the GRUB boot menu. The error message came with two button: [Retry] and [Exit installer].
I am trying to dual boot Vista and F10 and I have 2 different 400GB hard drives to do it on. On the first HD, I have Vista installed but when I try to install F10 on the second, I get this error message:
Quote: Error: Unable to read group information from repositories. this is a problem with the generation of your install tree. I've looked it up and found some forums but none answer how to "fix" it (if it is indeed something that you fix).
I'm doing a Kickstart install of Fedora 11 with a DVD ISO as the installation source and the ks.cfg file in the root folder of the DVD. The error message I get is: "Unable to read group information from repositories. This is a problem with the generation of your install tree."
I've been having enormous problems with pam authentication. I use opensuse 11.1, postfix 2.5.5, dovecot 1.1.7. , ssl, dovecot-sasl. Everything works fine within local network, but I can't log in from outside (using outlook express 6). Output of dovecot -n: