General discussion

Locked

Linux newb locked out of /home/username

By CharlieSpencer ·
When I log on to my Red Hat 9 box I get:

"Please contact your system administrator to resolve the following problem:
Could not open or create the file "/home/spenceca/.gconf-test-locking-file"; this indicates that there may be a problem with your configuration, as many programs will need to create files in your home directory. The error was "Permission denied" (emo = 13)"

Apparently I've locked myself out of my home directory. The last command I entered UNsuccessfully was

"smbmount //server/share /home/username"

I got the error"

"smbmnt must be installed suid root for direct user mounts (500,500)"

I follow instructions at http://tinyurl.com/naseq and ran

chmod u+s /usr/bin/smbmnt /usr/bin/smbumount

as su. I was then able to run the smbmount command. These were the only commands I entered since my previous login. My next objective was to read the /etc/fstab file, but I couldn't view it in the GUI. I rebooted and got the "Permission denied" error above.

Anybody know what I did wrong this time?

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by larryhyman In reply to Linux newb locked out of ...

Sorry, I don't know much about Red Hat, but are you able to fix this problem when you log in as root? Also, as an extreme, what happens when you log in as root and delete the user and then recreate it?

Collapse -

by CharlieSpencer In reply to

I can log on as root, but deleting the user won't teach me what I did wrong or learn what not to do to keep it from happening again.

If anyone is interested, I received solutions at http://tinyurl.com/nr6fu

Collapse -

by CharlieSpencer In reply to Linux newb locked out of ...

This question was closed by the author

Back to Linux Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums