LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-26-2004, 11:06 PM   #1
skvasistha
LQ Newbie
 
Registered: Nov 2004
Location: india
Posts: 14

Rep: Reputation: 0
problem in user creation


hi all!
i have created users using
useradd -d /home/students/2001/cs101 -p ''
the directory cs101 was already there for some other user that has been deleted.
now after creating this user whwn i tried to log in
kde is unable to start.
it shows some pop up error messages like.........
--check that dcopserver program is running.
--no write access to $home(/home/2001/cs101)
however there is no problem in logging in to root.
pl help.
 
Old 11-27-2004, 02:24 AM   #2
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
Quote:
the directory cs101 was already there for some other user that has been deleted.
Thats probably the problem. The new user doesn't have ownership of the directory /home/students/2001/cs101. You can do this as root to fix:

chown <user>:<user> /home/students/2001/cs101
 
Old 11-27-2004, 06:50 AM   #3
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Shouldn't that be
chown -R $USER:$GROUP /home/students/2001/cs101
Or perhaps it would be better to delete the old students files and start with defaults?
rm -rf /home/students/2001/cs101
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
User Creation in solaris siddhartha.das Solaris / OpenSolaris 3 03-05-2005 02:14 PM
Webmin and User creation droz578 Linux - Security 1 01-13-2005 04:43 AM
Automatic user creation Skorpio Linux - Networking 3 09-25-2003 11:45 AM
GUI for new user creation coolamit78 Linux - Software 6 09-06-2003 05:36 PM
Samba user creation bripage Linux - General 2 07-26-2002 03:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:00 PM.

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