openSUSE Forums > Archives > SLS Archives > ARCHIVES - SuSE Linux > ARCHIVES - Network & Security > ARCHIVES - Security » Permissions On The Password Database May Be Too Restrictive

Go Back   openSUSE Forums > Archives > SLS Archives > ARCHIVES - SuSE Linux > ARCHIVES - Network & Security > ARCHIVES - Security
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - Security Want to know if you should really apply the latest kernel patch? Want to know how to configure your firewall? Discuss any Security related topics in here!

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 26-Feb-2007, 15:54
new2suse123
Guest
 
Posts: n/a
Default

I went and changed my regular user to be in the root group from users in Yast and now my root password which I still knows gives me a permissions error. I don't understand why now I cannot switch user to root, or login to anything that requires root privileges without being rejected from this error. Any help would be greatly appreciated, I just wanted to not have to enter the root password when working in a terminal, gedit or emacs. Though this really has crippled my machine and I'm locked out of everything. Thank you.
  #2 (permalink)  
Old 22-Apr-2008, 20:31
sled23
Guest
 
Posts: n/a
Default

The message "Permissions on the password database may be too restrictive." is produced by the pam_unix2 function pam_sm_authenticate() when the password field in /etc/passwd has the value "x" and there isn't an entry in /etc/shadow for the user being authenticated. The likely situation is that your system is configured to use shadow passwords, but that there isn't an entry for the affected user in /etc/shadow.

If you're using /etc/shadow, make sure that there are shadow entries for each user that is listed in /etc/passwd (/usr/sbin/pwconv can help here). If you are not using shadow (or only partially using shadow), ensure that the affected user has a valid password in /etc/passwd.
  #3 (permalink)  
Old 23-Apr-2008, 00:12
geoffro
Guest
 
Posts: n/a
Default

Quote:
I went and changed my regular user to be in the root group from users in Yast and now my root password which I still knows gives me a permissions error. ..
[/b]
You should NOT add root to a normal user. Remove it asap.
Users not having root permissions is one of the main reasons that Linux is so secure.

/Geoff
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2