Re: Adding user to dual boot laptop

2012-10-13 Thread Gary Roach

On 10/12/2012 09:34 AM, Joe wrote:

On Fri, 12 Oct 2012 15:03:04 + (UTC)
Curtcu...@free.fr  wrote:

   

On 2012-10-11, Gary Roachgary719_li...@verizon.net  wrote:
 

On 10/11/2012 11:32 AM, Curt wrote:
   

On 2012-10-10, Gary Roachgary719_li...@verizon.net   wrote:

 

3. Permissions, owners and structure for files passwd, shadow and
group are exactly the same as my entries.


   

How about user home directory and other user file permissions
(which shouldn't belong to root)?



 

That has been checked out and is all OK. The alt F2 to kdesu did
allow
   

Have you told us the tool with which you created the new user?  It's
not clear to me the canonical way of doing it, actually, googling
around. But appears to be (as root):

adduser wife

 

On Debian, yes. It calls useradd, which is available in most/all
Linuxes.

   

After which you must add the new user to the appropriate groups (or is
that done automatically)?

 

It does add quite a few, but not necessarily all of interest. I believe
it does add the audio group, failure of which is the cause of some
problems with lack of sound. Exactly what is does is configurable.

   
Actually, I used adduser and then manually checked the entries in 
passwd, shadow and group. I made some minor adjustments to the entries. 
I have done this before and had no problem. The process is fairly 
straight forward.


Gary R.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/507907f8.9030...@verizon.net



Re: Adding user to dual boot laptop

2012-10-13 Thread tv.deb...@googlemail.com

On 13/10/2012 08:19, Gary Roach wrote:

On 10/12/2012 09:34 AM, Joe wrote:

On Fri, 12 Oct 2012 15:03:04 + (UTC)
Curtcu...@free.fr wrote:


On 2012-10-11, Gary Roachgary719_li...@verizon.net wrote:

On 10/11/2012 11:32 AM, Curt wrote:

On 2012-10-10, Gary Roachgary719_li...@verizon.net wrote:


3. Permissions, owners and structure for files passwd, shadow and
group are exactly the same as my entries.



How about user home directory and other user file permissions
(which shouldn't belong to root)?




That has been checked out and is all OK. The alt F2 to kdesu did
allow

Have you told us the tool with which you created the new user? It's
not clear to me the canonical way of doing it, actually, googling
around. But appears to be (as root):

adduser wife


On Debian, yes. It calls useradd, which is available in most/all
Linuxes.


After which you must add the new user to the appropriate groups (or is
that done automatically)?


It does add quite a few, but not necessarily all of interest. I believe
it does add the audio group, failure of which is the cause of some
problems with lack of sound. Exactly what is does is configurable.


Actually, I used adduser and then manually checked the entries in
passwd, shadow and group. I made some minor adjustments to the entries.
I have done this before and had no problem. The process is fairly
straight forward.

Gary R.




Could it be that editing the files (as root) changed ownership ?
/etc/shadow and /etc/shadow.org need to belong to user root but group 
shadow.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/50791b33.1010...@googlemail.com



Re: Adding user to dual boot laptop

2012-10-12 Thread Curt
On 2012-10-11, Gary Roach gary719_li...@verizon.net wrote:
 On 10/11/2012 11:32 AM, Curt wrote:
 On 2012-10-10, Gary Roachgary719_li...@verizon.net  wrote:

 3. Permissions, owners and structure for files passwd, shadow and group
 are exactly the same as my entries.

  
 How about user home directory and other user file permissions (which
 shouldn't belong to root)?



 That has been checked out and is all OK. The alt F2 to kdesu did allow 

Have you told us the tool with which you created the new user?  It's not
clear to me the canonical way of doing it, actually, googling around.
But appears to be (as root):

adduser wife

After which you must add the new user to the appropriate groups (or is
that done automatically)?

What procedure did you use, out of curiosity?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/slrnk7gca8.35d.cu...@einstein.electron.org



Re: Adding user to dual boot laptop

2012-10-12 Thread Joe
On Fri, 12 Oct 2012 15:03:04 + (UTC)
Curt cu...@free.fr wrote:

 On 2012-10-11, Gary Roach gary719_li...@verizon.net wrote:
  On 10/11/2012 11:32 AM, Curt wrote:
  On 2012-10-10, Gary Roachgary719_li...@verizon.net  wrote:
 
  3. Permissions, owners and structure for files passwd, shadow and
  group are exactly the same as my entries.
 
   
  How about user home directory and other user file permissions
  (which shouldn't belong to root)?
 
 
 
  That has been checked out and is all OK. The alt F2 to kdesu did
  allow 
 
 Have you told us the tool with which you created the new user?  It's
 not clear to me the canonical way of doing it, actually, googling
 around. But appears to be (as root):
 
 adduser wife


On Debian, yes. It calls useradd, which is available in most/all
Linuxes.
 
 After which you must add the new user to the appropriate groups (or is
 that done automatically)?


It does add quite a few, but not necessarily all of interest. I believe
it does add the audio group, failure of which is the cause of some
problems with lack of sound. Exactly what is does is configurable.

-- 
Joe


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20121012173422.7e6aa...@jretrading.com



Re: Adding user to dual boot laptop

2012-10-11 Thread Curt
On 2012-10-10, Gary Roach gary719_li...@verizon.net wrote:

 3. Permissions, owners and structure for files passwd, shadow and group 
 are exactly the same as my entries.


How about user home directory and other user file permissions (which
shouldn't belong to root)?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/slrnk7e47k.2de.cu...@einstein.electron.org



Re: Adding user to dual boot laptop

2012-10-11 Thread Gary Roach

On 10/11/2012 11:32 AM, Curt wrote:

On 2012-10-10, Gary Roachgary719_li...@verizon.net  wrote:
   

3. Permissions, owners and structure for files passwd, shadow and group
are exactly the same as my entries.

 

How about user home directory and other user file permissions (which
shouldn't belong to root)?


   
That has been checked out and is all OK. The alt F2 to kdesu did allow 
me to open the system settings as root but didn't help the problem. I 
have another single boot system running squeeze that works just fine. I 
wonder if there is something unique about the Toshiba Qosmio or the dual 
boot factor; although I can't imagine what. If anyone has any further 
suggestions between now and sunday evening I would like to hear them. 
After that , I'll be off the air for about 3 weeks.


Gary R.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/50774bcd.20...@verizon.net



Re: Re: Adding user to dual boot laptop

2012-10-10 Thread linuxlover
Op woensdag 10 oktober 2012 06:40:03 UTC+2 schreef Gary Roach het volgende:

 Thanks for the reply. I read the reference but no joy. My login problem 
 is happening at the kdm level before the OS is even started (I think). 
 How does one activate /deactivate the initial login screen. I know this 
 is possible. I think I set this up when I initially installed Debian 
 from the iso network installation disk. I probably prompted me through 
 the process at the time. I have since completely forgotten what I did at 
 the time. I think I need to re configure kdm somehow.

In normal circumstances that should not be necessary.
Note that username and password must match exactly, and that the username 
should not contain uppercase letters or weird characters. It is usually 
safest to stick to the set a-z0-9 for the username.
If the username is ok, then the password might mismatch.
Try resetting it to some easy value (temporarily!) by issuing the command (as 
root user):
passwd username
(where you replace username by your wife's username of course).
If that does not help, something strange is the matter and further 
issue-solving will be needed.
HTH


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/c3d8c585-4c1a-4c20-b03a-e2b18d072...@googlegroups.com



Re: Adding user to dual boot laptop

2012-10-10 Thread Helgi Örn Helgason
On 10 October 2012 01:53, Gary Roach gary719_li...@verizon.net wrote:
 I set up her account in passwd and group and I set up her home directory.

This is something I don't quite get; how did you create the account?
With commands in a terminal? Did you create her home directory
manually as root with a command? Have you checked if the directory's
properties are correct?

I would do this: delete the new user (including removing it's home
directory) and create it again in KDE System Settings. Log out and see
if the new user is there and see if you can log in normally.

/Helgi Örn


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAKuLEK4xoMtu9kDwGQU0satyK_7=6JMVyyvwW+S=t6eobxj...@mail.gmail.com



Re: Fwd: Re: Adding user to dual boot laptop

2012-10-10 Thread tv.deb...@googlemail.com
Apologies to the OP, sent it directly to him by mistake, resending to 
the list.


On 10/10/2012 06:30, Gary Roach wrote:




On 10/09/2012 07:11 PM, Wally Lepore wrote:

 On Tue, 09 Oct 2012 16:53:14 -0700 Gary writes:


 I have a Toshiba Qosmio with 2 60 GB hard drives, one with Windows XP and the 
other with Debian Squeeze.
 I just decided to add my wife as a user to the linux side. For some reason the 
login screen won't work.
 I set up her account in passwd and group and I set up her home directory.
 I can log her in as an su user with no problem. When I re-boot the system and 
the splash screen comes up (KDE4),
 I can enter her name and password but the system rejects the pass word.
 I've checked everything about 3 times and can find nothing wrong.
 I would guess that I have missed some niggally detail. The Windows XP side 
works fine. Any ideas?


 Gary, I found this thread by someone who has as similar problem as
 yourself. Perhaps it may help.
 http://forums.debian.net/viewtopic.php?p=45579

 Regards
 wally



Thanks for the reply. I read the reference but no joy. My login problem
is happening at the kdm level before the OS is even started (I think).
How does one activate /deactivate the initial login screen. I know this
is possible. I think I set this up when I initially installed Debian
from the iso network installation disk. I probably prompted me through
the process at the time. I have since completely forgotten what I did at
the time. I think I need to re configure kdm somehow.

Gary R.



Hi,

to reconfigure kdm:

dpkg-reconfigure kdm

You could also try another login manager (gdm)


Did you check the permissionsowner:group of /etc/shadow ?


Are you sure it's not a locale setting, is the keyboard layout the right 
one in kdm, did you use any special sign in the password ? (hint: try to 
write the password in kdm user name field to see if it's correct).


You could also disable login with password for this account altogether 
in systemsettings as a temporary workaround, if you are comfortable 
with security implications.


Just a few ideas to help you get on the right track.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/507564b4.4010...@googlemail.com



Re: Adding user to dual boot laptop

2012-10-10 Thread Darac Marjal
On Tue, Oct 09, 2012 at 04:53:14PM -0700, Gary Roach wrote:
 I have a Toshiba Qosmio with 2  60 GB hard drives, one with Windows
 XP and the other with Debian Squeeze. I just decided to add my wife
 as a user to the linux side. For some reason the login screen won't
 work. I set up her account in passwd and group and I set up her home
 directory. I can log her in as an su user with no problem. When I
 re-boot the system and the splash screen comes up (KDE4), I can
 enter her name and password but the system rejects the pass word.
 I've checked everything about 3 times and can find nothing wrong. I
 would guess that I have missed some niggally detail. The Windows XP
 side works fine. Any ideas?

Check the uid of your wife's new account (type id alice - to use a
common pseudonym - in a terminal). If the uid is less than 1000 or
greater than 2, KDM may be rejecting the account because it's deemed
to be a system account.

You could also try switching to a virtual terminal (press Ctrl+Alt+F1 at
the KDM login) and login as her there. Perhaps you'll get an error from
PAM (the authentication system) which KDM wasn't passing on.



signature.asc
Description: Digital signature


Re: Adding user to dual boot laptop

2012-10-10 Thread Gary Roach

On 10/09/2012 04:53 PM, Gary Roach wrote:
I have a Toshiba Qosmio with 2  60 GB hard drives, one with Windows XP 
and the other with Debian Squeeze. I just decided to add my wife as a 
user to the linux side. For some reason the login screen won't work. I 
set up her account in passwd and group and I set up her home 
directory. I can log her in as an su user with no problem. When I 
re-boot the system and the splash screen comes up (KDE4), I can enter 
her name and password but the system rejects the pass word. I've 
checked everything about 3 times and can find nothing wrong. I would 
guess that I have missed some niggally detail. The Windows XP side 
works fine. Any ideas?


Gary R.


Thanks for all of the suggestions. Still no fix. In answer to all of 
your questions:


1. The most telling would be the suggestion to hit Ctl+Alt+F1 to get the 
cmd line and try logging in. The log in worked fine with my wife's user 
name and password.


2. My wife's uid is 1001 so no problem here.

3. Permissions, owners and structure for files passwd, shadow and group 
are exactly the same as my entries.


4. Dpkg-reconfigure kdm pauses for a few seconds and returns to the cmd 
prompt.


5. We are going to be traveling and I don't want to remove the password 
protection from the computer.


There is a Systems Setting - Advanced - Login Manager window that has 
possibilities but I haven't been able to figure out how to start the 
application as root. Most of the functions are grayed out.


Gary R.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/5075c48b.1070...@verizon.net



Re: Adding user to dual boot laptop

2012-10-10 Thread tv.deb...@googlemail.com

On 10/10/2012 20:55, Gary Roach wrote:

On 10/09/2012 04:53 PM, Gary Roach wrote:

I have a Toshiba Qosmio with 2 60 GB hard drives, one with Windows XP
and the other with Debian Squeeze. I just decided to add my wife as a
user to the linux side. For some reason the login screen won't work. I
set up her account in passwd and group and I set up her home
directory. I can log her in as an su user with no problem. When I
re-boot the system and the splash screen comes up (KDE4), I can enter
her name and password but the system rejects the pass word. I've
checked everything about 3 times and can find nothing wrong. I would
guess that I have missed some niggally detail. The Windows XP side
works fine. Any ideas?

Gary R.



Thanks for all of the suggestions. Still no fix. In answer to all of
your questions:

1. The most telling would be the suggestion to hit Ctl+Alt+F1 to get the
cmd line and try logging in. The log in worked fine with my wife's user
name and password.


No surprise, kdm isn't involved when logging from the console.




2. My wife's uid is 1001 so no problem here.

3. Permissions, owners and structure for files passwd, shadow and group
are exactly the same as my entries.

4. Dpkg-reconfigure kdm pauses for a few seconds and returns to the cmd
prompt.


Normal behavior if only one login manager is installed, don't you want 
to install gdm to see if it works as a temporary workaround ?





5. We are going to be traveling and I don't want to remove the password
protection from the computer.

There is a Systems Setting - Advanced - Login Manager window that has
possibilities but I haven't been able to figure out how to start the
application as root. Most of the functions are grayed out.


Press keys alt + F2 and in the launch box type:

kdesu systemsettings



Gary R.




Do you see any meaningful error in /var/log/kdm.log or 
~/.xsession-errors (from your wife's /home) ?



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/5075cb7a.3060...@googlemail.com



Re: Adding user to dual boot laptop

2012-10-09 Thread Wally Lepore
On Tue, 09 Oct 2012 16:53:14 -0700 Gary writes:
 I have a Toshiba Qosmio with 2 60 GB hard drives, one with Windows XP and the 
 other with Debian Squeeze.
 I just decided to add my wife as a user to the linux side. For some reason 
 the login screen won't work.
 I set up her account in passwd and group and I set up her home directory.
 I can log her in as an su user with no problem. When I re-boot the system and 
 the splash screen comes up (KDE4),
 I can enter her name and password but the system rejects the pass word.
 I've checked everything about 3 times and can find nothing wrong.
 I would guess that I have missed some niggally detail. The Windows XP side 
 works fine. Any ideas?

Gary, I found this thread by someone who has as similar problem as
yourself. Perhaps it may help.
http://forums.debian.net/viewtopic.php?p=45579

Regards
wally


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALDXikqHt=hdF1yZv11-5m88gJfd8MaoYe85J6p5ykziAhY=j...@mail.gmail.com



Fwd: Re: Adding user to dual boot laptop

2012-10-09 Thread Gary Roach



 Original Message 
From:   - Tue Oct 09 19:43:56 2012
X-Mozilla-Status:   0001
X-Mozilla-Status2:  0080
X-Mozilla-Keys: 
Message-ID: 5074e0eb.6080...@verizon.net
Date:   Tue, 09 Oct 2012 19:43:55 -0700
From:   Gary Roach gary719_li...@verizon.net
User-Agent: 	Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) 
Gecko/20120726 Icedove/3.0.11

MIME-Version:   1.0
To: Wally Lepore wallylep...@gmail.com
Subject:Re: Adding user to dual boot laptop
References: 
CALDXikqHt=hdF1yZv11-5m88gJfd8MaoYe85J6p5ykziAhY=j...@mail.gmail.com
In-Reply-To: 
CALDXikqHt=hdF1yZv11-5m88gJfd8MaoYe85J6p5ykziAhY=j...@mail.gmail.com

Content-Type:   text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding:  7bit



On 10/09/2012 07:11 PM, Wally Lepore wrote:

 On Tue, 09 Oct 2012 16:53:14 -0700 Gary writes:


 I have a Toshiba Qosmio with 2 60 GB hard drives, one with Windows XP and the 
other with Debian Squeeze.
 I just decided to add my wife as a user to the linux side. For some reason the 
login screen won't work.
 I set up her account in passwd and group and I set up her home directory.
 I can log her in as an su user with no problem. When I re-boot the system and 
the splash screen comes up (KDE4),
 I can enter her name and password but the system rejects the pass word.
 I've checked everything about 3 times and can find nothing wrong.
 I would guess that I have missed some niggally detail. The Windows XP side 
works fine. Any ideas?


 Gary, I found this thread by someone who has as similar problem as
 yourself. Perhaps it may help.
 http://forums.debian.net/viewtopic.php?p=45579

 Regards
 wally



Thanks for the reply. I read the reference but no joy. My login problem
is happening at the kdm level before the OS is even started (I think).
How does one activate /deactivate the initial login screen. I know this
is possible. I think I set this up when I initially installed Debian
from the iso network installation disk. I probably prompted me through
the process at the time. I have since completely forgotten what I did at
the time. I think I need to re configure kdm somehow.

Gary R.