/home partition

Place to discuss Slackware

/home partition

Postby shuiend » Tue Feb 03, 2004 10:08 pm

I just reinstalled slackware. I had my /home partion separate in the old one and when i installed it set up to use the partion for the new /home When i went to log in with my normal user kde gave me errors about not having permission for some folders. So i loged into root and realized that the owners for all directories and files was 1001 or root. So how do i change those back to my normal user?
shuiend
scripter
scripter
 
Posts: 91
Joined: Mon Apr 28, 2003 8:05 pm

Postby Void Main » Tue Feb 03, 2004 10:28 pm

# chown -R shuiend:shuiend /home/shuiend
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby shuiend » Wed Feb 04, 2004 5:33 am

Thanks alot for that tip.
shuiend
scripter
scripter
 
Posts: 91
Joined: Mon Apr 28, 2003 8:05 pm

Postby Calum » Fri Feb 06, 2004 4:21 pm

redundant i am sure but this happens because different distributions use different numbers when assigning user id numbers to user names (you can check out and change these in /etc/passwd), slack begins i think at 1000 while a lot of other systems start at 500 or some other number by default.
User avatar
Calum
guru
guru
 
Posts: 1343
Joined: Fri Jan 10, 2003 11:32 am
Location: Bonny Scotland

Postby Void Main » Fri Feb 06, 2004 4:34 pm

But even so, if you don't add the users in the same order they will be different between like distros. So as you say, you can modify the /etc/password file (or specify a user number in the useradd command). This also effects NFS connections if the user numbers are different. Thought you might be interested since you asked about setting up NFS shares in another thread.
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA


Return to Slackware

Who is online

Users browsing this forum: No registered users and 0 guests