LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   problems with gnome when I change a user's user ID (https://www.linuxquestions.org/questions/slackware-14/problems-with-gnome-when-i-change-a-users-user-id-268456/)

phil.d.g 12-20-2004 12:16 PM

problems with gnome when I change a user's user ID
 
Hi,

I need to change the user and group id of one of my users. I have tried
Code:

usermod -u 500 -g 99 user
, which seems to work, the permissions of the user's home folder and everything have changed, but when that user tries to log in gome-settings-deamon complains about invalid configuration and comes up with a fault in gnome_segv. At this point I need to restart X to get any further. Does gnome store its configuration files outside the user's home directory if so where are they located, or how else may I overcome this problem

thanks

ringwraith 12-20-2004 01:12 PM

You might try to chown the directory.
man chown

phil.d.g 12-20-2004 01:19 PM

I assume you mean the home dir of the user in question? If so I have
Code:

ls -na
to check the owner of all the files and they have been changed to suit the user's new ID like I said in my first post

phil.d.g 12-20-2004 01:37 PM

right, found the problem - some permissions on files and folders in the /tmp dir

now for the dumb question - I am safe in deleting all the files in /tmp every once in a while aren't I, after all the folder is called tmp

J.W. 12-20-2004 09:52 PM

Yes, you can delete files from /tmp safely. -- J.W.

phil.d.g 12-21-2004 03:51 AM

cheers


All times are GMT -5. The time now is 03:43 PM.