On Thu, Aug 02, 2001 at 11:24:27AM -0500, doug wrote:
> Can anyone point me in the direction of some good documentation for
> permissions in linux? I have been logging in as a user account I created and
> have been having some problems not being able to do things that require root
> access (some things I need to log off and back on as root to do, "su" isn't
> enough), I ended up making my regular account "root" level this morning (by
> setting the number to 0 in /etc/passwd), which probably wasn't the wisest
> thing to do, and at this point I think I may start doing more harm than
> good.

root sometimes needs it's environment (that adds */sbin) so you might want
to use "su -" and see what happens.

You might go to a different terminal and login as root.

> Consequently the some things I am talking about are things like editing
> files in my own "home" directory (I installed kylix and wrote a small
> program that I compiled as my normal user saved in my local directory. Of
> course I need to be in as root to run it:->)

You messed up your home dir.

Login as root. Change back the user id in /etc/passwd.

Then
	"cd /home"
	"chown -R <user-name>.<user-name> <user-name>"

Logout from root, login as <user-name> and it should work.

>                                               Even as a normal user I should
> be able to uninstall things I have added, edit my own files etc... shouldn't
> I?

Definitely.

florin

-- 

"If it's not broken, is because you are not fixing it enough."

41A9 2BDE 8E11 F1C5 87A6  03EE 34B3 E075 3B90 DFE4