[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Login possible only with root

2007/8/28, Finn-Arne Johansen <faj@bzz.no>:

> I guess that this is caused by missing homedirectory. The
> homedirectories are created by a cronjob that by default are set to run
> every 5 minutes. You could of course change that, and have it run every

You are right!!!
I undesrtoodit by my self wathcin the sys log and the kde message,the
I was going to write it on the mailing list and I sow your...damn!!!
Beh, I gained experience :)

Here's the pice of the log:
Aug 29 00:43:06 tjener kdm: :0[9102]: Can't update authorization file
in home dir /skole/tjener/home0/student1
Aug 29 00:43:06 tjener kdm: :0[9102]: Cannot chdir to student1's home
/skole/tjener/home0/student1: No such file or directory, using /
Aug 29 00:49:39 tjener kdm: :0[9041]: Can't update authorization file
in home dir /skole/tjener/home0/student1

and the kdm error:
Could not start kstartupconfig. Check your installation

I created the folder
  mkdir -p /skole/tjener/home0/student1
gave it to the user
   chown student1:students /skole/tjener/home0/student1

And the the login wored!!!!!

I waited a long time after the student1 creation. LWAT is not able to
write the folder.

> The reason for this is that lwat is actually running as www-data, who
> doesn't have the permissions to create a homedirectory for the user.
> lwat could of course assume that the password you gave also is the
> root-password, and try to create the users homedirectory. But maybe lwat

But am I the only one with that problem?
I think I should not and that it should be fixed.

I also found that LWAT is realy bad at givin messages. If you create
an user leaving empty the field "full name" it give and phperror that
is not easy to understund.

Anyway...I/we did it :) !!!!!


Reply to: