LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   unable to login as user; can login as root. (https://www.linuxquestions.org/questions/debian-26/unable-to-login-as-user%3B-can-login-as-root-297007/)

EliotK 03-03-2005 11:38 AM

No I meant the speed, plus I had hardware problems, and even though that was an old comp, it kinda puts a distrust on it.

And I hate text installers, (yes i am saying that even though debian's is) wish the developers would put some more time in the installer.

voyciz 03-03-2005 11:42 AM

Well this was pretty rude, went way off topic here. I apologiz, rksanders. EliotK, if you wish to continue, e-mail me at aborted@softhome.net.

EliotK 03-03-2005 11:48 AM

Yeah sorry, anyway no thanks, I really cant be bothered.

doc.nice 03-04-2005 06:20 AM

Quote:

Originally posted by EliotK
Yeah it's a shame debian doesnt support any rpms
well, what's about the deb packages? and, btw, you can sure use rpm packages, using alien, you can convert them to deb and thus use the package manager or install them directly using "rpm --install"

concering the "all-day root": myself uses sudo to access often used commands, at least to emerge the risk of deleting importent files deliberately. (my rm or mv doesn't ask...)

EliotK 03-04-2005 06:38 AM

I hate debian packages, plus i cant get hold of any cedega ones.

rksanders 03-04-2005 04:16 PM

http://www.linuxquestions.org/questi...readid=297007#

Engmar and doc.nice - thanks for the responses.

Here's what I did.

Code:

cat /etc/pam.d/login
returned (among many other things)

# Disalows other than root logins when /etc/nologin exists
# (Replaces the 'NOLOGINS_FILE' option from login.defs)
auth requisite pam_nologin.so

Code:

ls /etc/n*
revealed that /etc/nologin did, in fact, exist.

Code:

cat /etc/nologin
"System bootup in progress - please wait"

Using vim inserted '#' character at beginning of the line "auth........."

Saved and exited vim.

Opened tty2 and in response to login: prompt typed "user."
Got Password: prompt. Typed password.

I'M LOGGED IN AS USSER.
:) :) :)

Thanks for the good steers.

Rusty

or1onas 03-24-2006 10:49 AM

Did you quote the 'auth..' line in '/etc/pam.d/login'?
I did the same thing but it didn't work for me..
I have to switch to console logon each time i boot up my pc and login as root in order to 'rm /etc/nologin'.
From then on, i can login correctly as user.
There is a 'rmnologin' file in '/etc/init.d' which is executable and there is also a symlink to all runlevels, so i can't really understand why the file is not deleted when booting up.
Is anyone else facing the problem? (i'm on Debian Sid).
Thanx in advance...

rksanders 03-24-2006 03:15 PM

Hi or1onas

I just scrolled down the /etc/pam.d/login file until I reached the following three lines

#Disalows other than root logins when /etc/nologin exists
#(Replaces the 'NOLOGINS_FILE' option from login.defs)
auth requisite pam_nologin.so

I then placed a # at the beginning of the line

auth requisite pam_nologins.so

so it looks like this

# auth requisite pam_nologins.so

Since then I have been able to login as user as well as root.

I did not remove the file /etc/nologin. It's still there.


Rusty

or1onas 03-24-2006 03:35 PM

Thanks for the immediate reply. Unfortunately as i've already said, this is not working for me.
I hope someone knows what the solution could be...
Thanx once again.

afif abou-raphael 02-09-2011 08:01 AM

Please I have just installed ubuntu, but I can't log in with my password. I have reinstalled again, and I have the same problen again.


All times are GMT -5. The time now is 04:17 AM.