LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-20-2004, 12:16 PM   #1
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,272

Rep: Reputation: 154Reputation: 154
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
 
Old 12-20-2004, 01:12 PM   #2
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
You might try to chown the directory.
man chown
 
Old 12-20-2004, 01:19 PM   #3
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,272

Original Poster
Rep: Reputation: 154Reputation: 154
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

Last edited by phil.d.g; 12-20-2004 at 01:22 PM.
 
Old 12-20-2004, 01:37 PM   #4
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,272

Original Poster
Rep: Reputation: 154Reputation: 154
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
 
Old 12-20-2004, 09:52 PM   #5
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Yes, you can delete files from /tmp safely. -- J.W.
 
Old 12-21-2004, 03:51 AM   #6
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,272

Original Poster
Rep: Reputation: 154Reputation: 154
cheers
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I change a user's primary group? Akhran Linux - Newbie 4 03-19-2010 08:54 PM
How can I change a user's uid and gid? homesp Debian 2 05-31-2005 02:39 PM
change a user's gid eastj1974 Linux - Newbie 3 12-09-2003 04:40 PM
how to change a user's Home directory n1wil Linux - General 8 08-24-2002 03:22 PM
Why do user's passwords change? J_Szucs *BSD 7 07-09-2002 03:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration