On Thu, 21 Feb 2002, Ken Nowack wrote: > Hi all, > > I'm having to reinstall my system due to operator > error. oops. Anyway, I have an intact /home directory > that has important files on it I would like to leave > intact during the install. So I simply chose to not > format that partition and went through the install as > usual. When it came up, I transfered backup copies to > /etc of group, passwd, shadow, and gshadow so that I > wouldn't have to remake all the groups and everything > else by hand. Now, I can't log into my system as any > user, it gives me a permission denied error (ie bashrc > - access denied) Hence, none of my other services work > correctly either since nothing authenticates like it > should. I went through user drake and removed myself > as a user and readded myself just to see if that would > fix it but it didn't.
It sounds like you don't have the correct permissions on your home directory or the files in it. Did you look at *all* the file permissions, including the hidden files? As root, do: ls -la /home/name_of_user If you see numbers in the username field then this means that the owner of the file doesn't match what's in /etc/passwd. When you readded yourself, did you specify the old user id using the -u flag to useradd?
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
