Re: login problem [half OT]
On Oct 4, 2012, at 2:33 PM, Glenn English wrote: squeese Can anyone shine a little light this way?? Like, am I right that there's a password problem, and what can I do about it? Hate to reply to my own whinage, but it's fixed. It was a misconfigure in SSH. -- Glenn English -- 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/c7e91938-5c66-48f0-8485-6d2dc6f3e...@slsware.com
Re: Login-Problem
On Fri, 2009-05-29 at 09:47 +0200, Klaus Jantzen wrote: On 05/28/2009 08:38 PM, Bob McGowan wrote: On Thu, 2009-05-28 at 19:59 +0200, K. Jantzen wrote: Changing the login screen I must have changed something that now prevents a normal login (with the possibility to login as user or as admin). Instead of the login screen I get a screen saying: Please wait: Scanning local network I don't want to scan the local network, I just want to log in! What do I have to change in order to to get back to the standard login? Thanks. -- K. Jantzen Hi, You may have reset the 'default' session accidentaly. The graphical login screen should have a 'Menu' or 'Oprions' list, you would want to use that to set the login session to something other than 'Network' or 'Remote' (or ???). With Etach KDM, you would select 'Session Type' and then either a named (KDE, Gnome, etc.) or the Failsafe session. Don't choos 'Default', that's what I think has gotten changed. You should be prompted as to whether you want to make this your new 'Default', so things should get set back to normal for you. That is my problem. I do not get prompted anymore and I do not have access to the login screen where I could change the settings. But the settings must be stored somewhere and that is what I would like to know: where are the settings kept and what do I have to change? -- K. Jantzen Ah, I see. What I can tell you specifically applies to KDE 3.5.5, as that is what I currently have on my work system. The general idea should be the same, I'd expect, in newer versions and Gnome. From the K Menu list, select Control Center, in Control Center's left pane, expand the System Administration item and select Login Manager. This will give you access to actions/functions you can set to change how the login looks and works. In particular, there is a Convenience tab, that allows setting up Auto-Login. If this is set, then it's the cause of the problem. This is as far as my knowledge goes. If this is not the source of the problem, someone with more experience will need to pitch in. -- Bob McGowan smime.p7s Description: S/MIME cryptographic signature
Re: Login-Problem
On Thu, 2009-05-28 at 19:59 +0200, K. Jantzen wrote: Changing the login screen I must have changed something that now prevents a normal login (with the possibility to login as user or as admin). Instead of the login screen I get a screen saying: Please wait: Scanning local network I don't want to scan the local network, I just want to log in! What do I have to change in order to to get back to the standard login? Thanks. -- K. Jantzen Hi, You may have reset the 'default' session accidentaly. The graphical login screen should have a 'Menu' or 'Oprions' list, you would want to use that to set the login session to something other than 'Network' or 'Remote' (or ???). With Etach KDM, you would select 'Session Type' and then either a named (KDE, Gnome, etc.) or the Failsafe session. Don't choos 'Default', that's what I think has gotten changed. You should be prompted as to whether you want to make this your new 'Default', so things should get set back to normal for you. -- Bob McGowan smime.p7s Description: S/MIME cryptographic signature
Re: Login problem at debian lenny
On 2009-04-13, Mahmudur Rahman Jami infoj...@gmail.com wrote: --000e0cd331dcd3fd6c04676d5094 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi, I am using Debian lenny. I am unable to login to my system since today morning. It shows the following message when I put user account, Usage login [-p] [name] -p [-h host] [-f name] -p -r host This system is running qmail/webmail services and very important to me. Please help me. Try to boot into single user mode. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: login problem (password corruption? pam?)
Joseph Neal wrote: Hello all. Logins keep going bad on me. Repeatedly. I first noticed the problem yesterday after updating sid. First sudo failed to accept my password. I logged out of KDE and was not able to log back in. Let's call my normal login that I've been using the past couple years login1. After this happened I switched to a console where I was successfully able to log in as root. I tried using usermod to reset the password for user1 but was still unable to login. I can su to user1 from root, however. I created a new user, user2, which I was able to use to successfully log in. After adding user2 to sudoers I was able to use kuser to change the password for user1 and log back in to my normal account. All was fine and dandy until a few hours later the same thing started happening again. This time I was unable to log in as user1 or user2 so I was forced to create a user3 and again use kuser to set a new password for user1. This time I'm not logging out until I figure out what's going on. Any guess as to what's going on? Any idea why kuser lets me successfully reset the password and not usermod? By reset, do you mean setting a null password? For that you can just use passwd -d username Did you check the /etc/passwd and /etc/shadow files to see whether the usernames are disabled? I suggest doing the following: Create a new user4. Login from the console as user4 and make a backup of your /etc/passwd and /etc/shadow files. Wait till the system refuses to let you in, and then compare the files with your backed up versions to see if something suspicious is going on. Here's how all this looked to auth.log: Jul 6 07:55:33 dsl017-124-002 kdm: :0[4670]: pam_unix(kdm:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost= user =joe Jul 6 07:55:51 dsl017-124-002 kdm: :0[4670]: pam_unix(kdm:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost= user =joseph Jul 6 07:56:22 dsl017-124-002 login[4702]: pam_unix(login:auth): authentication failure; logname=LOGIN uid=0 euid=0 tty=tty4 ruser= rhost = user=joe Jul 6 07:56:24 dsl017-124-002 login[4702]: FAILED LOGIN (1) on 'tty4' FOR `joe', Authentication failure Jul 6 07:56:29 dsl017-124-002 login[4702]: pam_unix(login:session): session opened for user root by LOGIN(uid=0) Jul 6 07:56:29 dsl017-124-002 login[4761]: ROOT LOGIN on 'tty4' Jul 6 07:59:48 dsl017-124-002 usermod[8030]: change user `joe' password Jul 6 07:59:59 dsl017-124-002 login[4700]: pam_unix(login:auth): authentication failure; logname=LOGIN uid=0 euid=0 tty=tty3 ruser= rhost = user=joe Jul 6 08:00:01 dsl017-124-002 login[4700]: FAILED LOGIN (1) on 'tty3' FOR `joe', Authentication failure Jul 6 08:00:40 dsl017-124-002 su[8035]: Successful su for joe by root Jul 6 08:00:40 dsl017-124-002 su[8035]: + tty4 root:joe -- If you can't explain it simply, you don't understand it well enough. -- Albert Einstein -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Login problem
None of startup script files(~/.profile and ~/.bash_profile) are executed at login. After login I am calling 'bash --login' in a terminal then they are executed but that doesnt affect desktop environment. I searched for a configuration like 'nologin' for my linux user but found nothing. I created another linux user and tried with it but nothing is changed. Precisely: what do u want to do?! Do u want create some users without shell?! Is there any 'nologin' configuration which is applied to all linux users? U can edit /etc/passwd and displace the line /bin/bash(or other shell) with /bin/nologin or u can edit groups/users in /etc/ssh/sshd_config Pol -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Re: Login problem
Thanks for reply Pol, My system is opening without executing those files and I am looking for why? It is like that there is a nologin specification somewhere in configuration files. But I couldnt find it. Here is my passwd entry avci:x:1002:1002::/home/avci:/bin/bash ~/.bash_profile was executed when I connected to my machine via ssh from another machine. avci Cum, 2006-07-21 tarihinde 11:33 +0200 saatinde, Pol Hallen yazdı: None of startup script files(~/.profile and ~/.bash_profile) are executed at login. After login I am calling 'bash --login' in a terminal then they are executed but that doesnt affect desktop environment. I searched for a configuration like 'nologin' for my linux user but found nothing. I created another linux user and tried with it but nothing is changed. Precisely: what do u want to do?! Do u want create some users without shell?! Is there any 'nologin' configuration which is applied to all linux users? U can edit /etc/passwd and displace the line /bin/bash(or other shell) with /bin/nologin or u can edit groups/users in /etc/ssh/sshd_config Pol -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Login Problem
--- Libin Varghese [EMAIL PROTECTED] wrote: Hi, On my system I had 2 user root and xyz, while i was logged on as xyz on my gnome i changed my username to abc and logged on again. It gives me the following message. Your session only lasted less than 10 seconds. If you have not logged out yourself this could mean that there is some problem with your installation or that you may be out of disksapce. Try logging with one of the failsafe sessions to see if you can fix the problem. I dont think there is any installation problem as I could log on to xyz many a times before i changed it and I may definitaly not out of space (around 3 GB free space). I tried failsafe gnome, it gave me similar errors. What should i do to restore my system? How did you change your username? My first guess is that when you log in as abc it is looking for a home directory /home/abc and, not being able to find it, ends the session immediately. Gnome (or maybe gdm or xdm) is set to bring up a warning if there are unusually short sessions. ___ Does your mail provider give you FREE antivirus protection? Get Yahoo! Mail http://uk.mail.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Login Problem
Joseph Haig wrote: How did you change your username? I used the gui, for adding users and groups, there i editted xyz to abc My first guess is that when you log in as abc it is looking for a home directory /home/abc and, not being able to find it, ends the session immediately. Gnome (or maybe gdm or xdm) is set to bring up a warning if there are unusually short sessions. Yes, it did give me a warning that , the directory /home/abc doesn't exit. Then I did add it by going to the virtual console. And just for the sake of information, I can log in thru the virtual consoleusing abc. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Login Problem
I used the gui, for adding users and groups, there i editted xyz to abc Since I don't know what kind of gui it was, please send the output of: # ls -la /home/abc # cat /etc/passwd|grep abc # cat /etc/group -- Rafal -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Login Problem
1. login as root Type the following in the terminal: 2. groupadd anygroup 3. useradd -g anygroup -d /home/anyuser anyuser 4. passwd anyuser # anyuser123 5. mkdir -p /home/anyuser 6. chown -R anyuser /home/anyuser 7. chgrp -R anygroup /home/anyuser 8. logout 9. login as anyuser Cheers, Yuriy On 11/23/05, Rafal Czlonka [EMAIL PROTECTED] wrote: I used the gui, for adding users and groups, there i editted xyz to abc Since I don't know what kind of gui it was, please send the output of: # ls -la /home/abc # cat /etc/passwd|grep abc # cat /etc/group -- Rafal -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Login Problem
Libin Varghese wrote: Hi, On my system I had 2 user root and xyz, while i was logged on as xyz on my gnome i changed my username to abc and logged on again. It gives me the following message. Your session only lasted less than 10 seconds. If you have not logged out yourself this could mean that there is some problem with your installation or that you may be out of disksapce. Try logging with one of the failsafe sessions to see if you can fix the problem. I dont think there is any installation problem as I could log on to xyz many a times before i changed it and I may definitaly not out of space (around 3 GB free space). I tried failsafe gnome, it gave me similar errors. What should i do to restore my system? Did you also change the name of your home directory? I don't know how you went along to change your username, but maybe the system wants to change to your home directory home/abc, but cannot find it, so you user abc indeed has 0 diskspace. In this case you have to login as root and fix things manually. Johannes -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Login Problem
On Wed, Nov 23, 2005 at 06:26:25PM +0530, Libin Varghese wrote: Joseph Haig wrote: How did you change your username? I used the gui, for adding users and groups, there i editted xyz to abc Could you tell us which program/GUI that was? Or at least, how you found it (which things did you click on which menus etc.) -- Jon Dowland http://jon.dowland.name/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Login Problem
Jon Dowland wrote: On Wed, Nov 23, 2005 at 06:26:25PM +0530, Libin Varghese wrote: Joseph Haig wrote: How did you change your username? used the gui, for adding users and groups, there i editted xyz to abc Could you tell us which program/GUI that was? Or at least, how you found it (which things did you click on which menus etc.) I launched the GUI by going thru' Application on the toolbar-system tools-Users and Groups -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Login problem
Thus spake Seneca Cunningham: Cameron Matheson [EMAIL PROTECTED] wrote: I'm probably missing something here... but can't you just wait for the password prompt? I could, but I don't want to always check my timing. Normally I just type at full speed like foo did, and the password prompt comes up before the password gets in. But sometimes the password prompt takes a moment before it comes up, and some characters of my password get exposed. about the source... are you sure that the archive is good? Does it have a .gz or .tgz extension? If it's a .bz2 then you will need to use bunzip2 The filename is shadow_2902.orig.tar.gz instead of gunzip. On Tuesday 15 January 2002 08:16 pm, Seneca Cunningham wrote: I downloaded the source so that I could see if I could do anything about it, but gzip is complaining that it isn't in gzip format. Is there any special package I need to get to be able to decompress the source? I have gzip version 1.3.2-3, tar 1.13.25-1, and login 2902-8. Try file shadow_2902.orig.tar.gz - your browser may have just transparently decompressed it for you, and you'r left with a misnamed tar archive. If so, rename it and go to. BTW, I occasionally have the same problem, but I have tried to learn to restrain myself when logging in. Not always easy, so if you find a fix, let me know? Steve -- When it comes to helping you, some people stop at nothing. pgpDgT8gsyqXv.pgp Description: PGP signature
Re: Login problem
Seneca Cunningham wrote: I have a problem that seems like login is working too slowly for my computer, or my computer is too slow for login (a little more likely). Occasionally I get results similar to the results for this fictional user. Debian GNU/Linux 3.0 icosagon tty2 icosagon login: foo baPassword: Login incorrect As is quite guessable, the password for user foo is bar. foo typed in bar, but only the 'r' makes it into the password entry. The ba is merely output to the screen. If foo were to see that ba was visible, and knew that it hadn't been entered into the password entry, foo could have logged in if the full bar had been typed after the ba, leaving the total password typing of foo at babar. I downloaded the source so that I could see if I could do anything about it, but gzip is complaining that it isn't in gzip format. Is there any special package I need to get to be able to decompress the source? I have gzip version 1.3.2-3, tar 1.13.25-1, and login 2902-8. Thanks for any help, Seneca [EMAIL PROTECTED] any recompiling or upgrading will be useless - you just can't send keystrokes to a program that didn't started yet! getty asks for username, then starts login that asks for the password; the transition from getty to login takes some time... i'm afraid the only thing you can do is wait... pietro.
Re: Login problem
On Wed, Jan 16, 2002 at 12:02:27PM +0100, Pietro Cagnoni wrote: Seneca Cunningham wrote: I downloaded the source so that I could see if I could do anything about it, but gzip is complaining that it isn't in gzip format. Is there any special package I need to get to be able to decompress the source? I have gzip version 1.3.2-3, tar 1.13.25-1, and login 2902-8. I agree that your browser's probably silently uncompressed it and neglected to strip the '.gz' extension - Netscape is notorious for doing this. You might find it easier to add 'deb-src' lines to /etc/apt/sources.list paralleling the existing 'deb' lines, 'dselect update' as root, and then you can 'apt-get source login'. any recompiling or upgrading will be useless - you just can't send keystrokes to a program that didn't started yet! No, they can be buffered on the terminal. Try typing at 'sleep 5; cat /dev/tty' if you don't believe me. -- Colin Watson [EMAIL PROTECTED]
Re: Login problem
any recompiling or upgrading will be useless - you just can't send keystrokes to a program that didn't started yet! No, they can be buffered on the terminal. Try typing at 'sleep 5; cat /dev/tty' if you don't believe me. hm - right, but login plays a lot with the terminal (it has to disable echo for instance), so maybe it flushes the buffer before to read the password - must read the source! pietro.
Re: Login problem
On Wed, Jan 16, 2002 at 05:59:15PM +0100, Pietro Cagnoni wrote: No, they can be buffered on the terminal. Try typing at 'sleep 5; cat /dev/tty' if you don't believe me. hm - right, but login plays a lot with the terminal (it has to disable echo for instance), so maybe it flushes the buffer before to read the password - must read the source! Yeah, that's probably why it doesn't behave as expected. ssh's readpassphrase() function behaves in much the same way. -- Colin Watson [EMAIL PROTECTED]
Re: Login problem
Cameron Matheson [EMAIL PROTECTED] wrote: I'm probably missing something here... but can't you just wait for the password prompt? I could, but I don't want to always check my timing. Normally I just type at full speed like foo did, and the password prompt comes up before the password gets in. But sometimes the password prompt takes a moment before it comes up, and some characters of my password get exposed. about the source... are you sure that the archive is good? Does it have a .gz or .tgz extension? If it's a .bz2 then you will need to use bunzip2 The filename is shadow_2902.orig.tar.gz instead of gunzip. On Tuesday 15 January 2002 08:16 pm, Seneca Cunningham wrote: I downloaded the source so that I could see if I could do anything about it, but gzip is complaining that it isn't in gzip format. Is there any special package I need to get to be able to decompress the source? I have gzip version 1.3.2-3, tar 1.13.25-1, and login 2902-8. Thanks for any help, Seneca [EMAIL PROTECTED]
RE: login problem!
Hi Try type your password in the login prompt to see if it is really those characters. Sometimes keyboard misconfiguration causes the different character is displayed when a key is pressed. If that is the case, try kdbconfig as root to change that Edwin Lau -Original Message- From: J. Ramón Fdez [mailto:[EMAIL PROTECTED] Sent: May 24, 2001 10:54 AM To: debian-user@lists.debian.org Subject: login problem! Hi all, When I try login in my debian 2.4 as normal user, system say: login: jramon Sytem bootup in progress - please wait Password: *** Login incorrect I put the correct password, but it doesn't woork. However, I can login as root successfully. Where is the mistake? Thanks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: login problem!
This is happening because login won't allow non-root logins while the system is booting up. It thinks the system is booting up because of the existance of the file /etc/nologin. This file is removed automatically when entering multi-user mode. Two things to check: 1. What is your default run level? This is in your /etc/inittab file. It should be 2. 2. Check /etc/rc2.d directory for the existance of S99rmnologin, it should be a symlink to /etc/init.d/rmnologin. If this is not the case, you will need to reinstall the sysvinit package. -- Kevin - Original Message - From: J. Ramón Fdez To: debian-user@lists.debian.org Sent: Thursday, May 24, 2001 10:53 AM Subject: login problem! Hi all, When I try login in my debian 2.4 as normal user, system say: login: jramon Sytem bootup in progress - please wait Password: *** Login incorrect I put the correct password, but it doesn't woork. However, I can login as root successfully. Where is the mistake? Thanks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: login problem!
Log in as root. Look to see if you have a /etc/nologin file or an /etc/nologin.boot file. If you're seeing the Sytem bootup in progress - please wait message, that means that the nologin files are there, and only root is allowed to login. If those files are there, something went kinda wrong with your last boot process. You didn't jump the gun and try logging in before your system had completed starting up did you? --Rich J. Ramón Fdez wrote: Hi all, When I try login in my debian 2.4 as normal user, system say: login: jramon Sytem bootup in progress - please wait Password: *** Login incorrect I put the correct password, but it doesn't woork. However, I can login as root successfully. Where is the mistake? Thanks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- _ Rich Puhek ETN Systems Inc. _
Re: login problem! (SOLVED)
I haven' t a symlink to /etc/init.d/rmnologin. Now all it's OK Many thanks El Jue 24 May 2001 18:53, J. Ramón Fdez escribió: Hi all, When I try login in my debian 2.4 as normal user, system say: login: jramon Sytem bootup in progress - please wait Password: *** Login incorrect I put the correct password, but it doesn't woork. However, I can login as root successfully. Where is the mistake? Thanks
Re: login problem!
Sounds like you were running nis (yppasswd) at one time, but now are not. [EMAIL PROTECTED] (J. Ramón Fdez) writes: Hi all, When I try login in my debian 2.4 as normal user, system say: login: jramon Sytem bootup in progress - please wait Password: *** Login incorrect I put the correct password, but it doesn't woork. However, I can login as root successfully. Where is the mistake? -- * For God so loved the world that He gave his only begotten Son, * * that whoever believes in Him should not perish...John 3:16 *