Security :: Ssh/pam When Trying To Ssh In / Give It The Correct Password But Not Accepting?
Apr 1, 2010
So on one of the Linux systems here (2.6 kernel if it matters), there's some weirdness regarding trying to ssh into the system. Basically, if you give it the wrong password on the first ssh attempt, it will give you two more attempts, but even if you give it the correct password, it still won't let you in on those subsequent attempts. (If you give the correct password on the first attempt, it will let you in.)
Being in a text console (VT, that is, the screen with 25 x80 chars), say tty1, and just after booting linux, I logged in as usual,typing my password.What happened then astonished me. In Slackware distros, a small quotation from some book is written on screen just after typing the correct password. Well, after typing my password, I could see it split into two halves instead of the quotation.
I'm running eeebuntu on a Toshiba Satellite R10, I installed the Netbook Remix Package which was apparently a horrible idea. I cant click properly. I tried to open synaptic package manager to uninstall it but it tells me my password is wrong, which i know it is not. Is there anyway to fix this, i can open terminal.
I have downloaded both versions of Fedora 11 (Gnome and KDE) to iso files on my hard disk - in Windows XP. I then tried the verification procedure advised in [URL]... section 3.1. I have successfully installed and run hashcalc, with the SHA1 option, and got the following results:
- for the Gnome version : 795b52b3c7b16eba6f2cae055ec894d8648d8095 - for the KDE version : 38ef6c97e29803add28d40add05aa025b6f4c92b.
But I can't find any SHA1SUM files to give me the correct character sequences against which to compare the said results.
I'm creating a bash script to do some tasks for me. I would like the script to be run at a set time of everyday. My first question is if it is possible that if one of the commands in the script requires sudo, is there a way to get around it with out making sudo not require a password. Such as, is there a way to include the password in the script? If that is the case, I can always just set the file as read only by sudo. I've been looking for a way to do this, with no success. if I have a command that wants input, how do I give it to the program. For example, if I want to make a zip file that is encrypted, the command would go as:
Code:
zip -r example * -e
now how would I get the script to insert my wanted password.
Having installed Debian 7 on an old machine from a Liinux Format Magazine DVD I was unable to log in as a specific user. I can login as root and use useradd etc but when I logout of root I still cannot login as a user and nor will the machine accept my root password. I have to shutdown and reboot to get back into root. I'm using O'Reilly's Linux Pocket Guide from 2004 for the commands. Could it be that things have changed?
I want b able to recover or reset the password that i lost. I have ubunto installed with windows vista. I used the following link for guidance: [URL].. tried recovery mode in grub it always asks me the same thing:"Give root password for maintenance". I also tried to edit and boot the kernel unfortunately it did not work. So i never have a prompt, it still asks me for the password.
UPDATE: This is a bug: [URL] Evidently the problem is with plymouth because a workaround is to add "rd_NO_PLYMOUTH" to the kernel boot options. I don't get a prompt for my disk encyrption pass phrase---just a flashing cursor---but that's a small price to pay for being able to run fsck when the root filesystem wasn't umounted properly.
I have fully updated f13 (as of today) on a laptop with all ext2 file systems (It has nothing but flash memory.) If it's shut down without unmounting all file systems, it drops to a shell and asks for the root password to run fsck when it's rebooted. Every key press is treated as though it were <enter>, with a response to the effect that the password is incorrect.
I want to have /boot as an ext2 (I don't need journaling and I might want to undelete something) and all other partitions in an LVM.When the server starts it will prompt me for the LVM password. I would like to be able to contact the server using SSH (or using another secure method) and tell the password. Since /usr/sbin and all the other partitions are inside the LVM I guess I have a problem?
Is it possible to setup something like this? The SSH session for the LVM authentication does not have to be a daemon. It can be something which just sits and waits until I connect and input the password. And then the "real" SSH deamon kicks in.
just installed fedora 15 on my dell inspiron mini 10. I used the livecd to install it to the harddrive with the wizard. I need to use the root account to get the yum to install the wifi drivers and such. i set the root password as "root01" the first time. it didnt work so i figured maybe i made a mistake. so i reinstalled it making sure i used "root01". it still doesnt work. anybody had this problem or heard of this problem before? i am under the impression that the passwd file could be recovered by using Grub to load it under a singleuser setting. however grub wasnt installed
I was hoping that someone could point me in the right direction. I just did an install and the os is up and running. During install, I set a root password and also set up a regular user account. The only option at login is the regular user acct. Needless to say, the os asks me to provide the root pw for just about everything I need to do.get an authentication failure. (I assume that this is the same as permission). I can find plenty of info on how to restrict access but nothing relevant to my problem. Just to rule out an install problem, I installed the os a 2nd time. I am very sure I have my passwords correct. One other thing to note is that on the 1st install, I used a different pw for root and regular user. On the 2nd, just to keep is as simple as possibl I used the same pw for root and reg user account. I am new to debian, but the distro that I have been using (slackware)
The problem: when kpackagekit would prompt me to update packages, it would ask for my password. I would enter it, and the dialog would reject it with the message "incorrect password, please try again". Over and over. The password WAS correct -- it worked in Synaptic and on the command line using sudo, and obviously it also worked for logging in.
I suddenly had a hunch that kpackagekit might not be the culprit, and that authentication was being done by a different program -- and lo and behold, the dialog actually said policykit up there...
So, searching for policykit problems out there, I ended up seeing someone reinstalling theirs for their problem (which happened to be different from mine). The code to do that, in the command line:
Code: sudo apt-get install --reinstall policykit
After that, entering the password after kpackagekit prompts me to has worked fine and the updates happen as nature intended.
I try to connect to my access point and after a long wait of maybe 30 seconds to a minute it will prompt me to enter my password. I entered it correctly and it still keeps on asking me to enter it. So just then I entered it with the password showing and double checked over it before trying again and it still didn't connect.
I need to have internet on my netbook working by tonight or I will have to go back to windows.
What can I do to make my laptop connect to my access point? Its not a problem with my access point, my desktop running windows, it connects just fine to my wireless.
Here is part of my syslog
Quote:
Oct 13 15:46:04 mark-eeepc NetworkManager: <info> Activation (wlan0/wireless): connection 'Auto vor' has security, Oct 13 15:46:04 mark-eeepc NetworkManager: <info> Config: added 'ssid' value 'vor' Oct 13 15:46:04 mark-eeepc NetworkManager: <info> Config: added 'scan_ssid' value '1'
can someone give me some details for ssh passthrough from ssh version1 to ssh version 2. ssh version1 to version1 and version 2 to version 2 works wel, but version 1 to version 2 is asking for a password ...
One of my servers is displaying the error as login incorrect even after giving the correct password. Once I restarted the Virtual Machine and after that it is accepting the same password to login. I am not able to find out the problem, why the server is not able to validate the password until the virtual machine gets rebooted.
After updating my system yesterday my laptop will no longer connect to my wifi connection, in fact the network manager doesn't appear on the screen. I cant access super user even with the correct password. Some programs fail to load e.g. hardware drivers.I'm online now using my ethernet cable. I cant update grub due to errors in etc/grub.d/README.I'm logged in as root now instead of my own user account.
I have my own dedicated server box running (using it for game servers). I access it via ssh and I have root control of it. It has FEDORA Operating System. I wanna give FTP control of different directories to different users. Right now there are no other FTP users except root. I have installed vsftpd and dont know what should I do next? How do I add users (who can read/write/delete files) and How do I restrict them to their home directory?
Here is what I want: username:client1 password:12345 home directory: home/server1 username:client2 password:12345 home directory: home/server2
We use PAM to control access to our RHEL4 servers. We would like PAM to give a message, of our choice, when users who are not allowed to login try to login. PAM's default is to let the user try 3 times without any explanation.
I am not at all convinced by the idea of giving permissions to read,write and execute as these Learning Management Systems say. Let me know what you people have to say? What is the best practise in such situations? I have to get all these LMS run on same web server.
I am new to the community and have just recently loaded Ubuntu 10.04. I think I made an error when I first launched Evolution, how can I get back into the wizard to add/correct the e-mail password?
I could change and manipulate all the bios features before I put an administrator password on the bios. Now that I have put a password on the bios, even when I log-in with the correct password 90% of the motherboard settings are locked and un-changeable.
I use an atom based processor of 1.60 ghz on intel d945gclf board. My ram is a zion 1gb @ 533mhz. Hdd is from western digital 80gb @ 7200 rpm. I have a broadband(dsl) connection from bsnl dataone (a state owned telecom service provider). I connect to internet via a huawei wa1003a ethernet/usb/wireless modem which is provided by my service provider. I need a username and a password everytime i connect to internet via dial-up.
I was using windows xp service pack ii. It was nice and easy installing my modem on xp either via usb or ethernet. Both ways it was easy as i have both the drivers with me.Only and main problem was fighting viruses. I tried many free downloadable anti-virus software to protect my maching. Initially they were fine. But after few months they stopped taking regular updates and became non-functional. I also tried symantec corporate v.10. But it has its drawbacks also. It made my machine perform like a snail.I had previously heard about linux based operating systems. But never tried one. As i am an ameteur in using computers windows xp was suiting my needs. Recently i saw an article in the newspaper about ubuntu which is a free open source operating system. And most important to me it is virus free.But here is a problem also. I cannot connect to internet. My ubuntu 9.10 karmic koala is not identifying my modem and a network between my modem and my machine cannot be established. Also i cannot create a dial-up option where i can give username and password.
I have recently secured a server by preventing root from logging in via SSH. Now I log in with a non-root account and use 'su' when necessary.However, now I can't do something I used to do, which is open 'sftp://user@ipaddress' in nautilus and be able to edit files as root. Is there anyway to get nautilus to give me root permissions on the server? Or at least end up with root permissions in a GUI text editor on my computer? I don't mind if I have to use bash to start the process, once I can get a GUI for editing files.
Note 1: Yes, I realize I could ssh in and use nano/vi etc, but I'd rather use my graphical text editor. Note 2: The server does not run X, so I can't just forward it.
I have a log server that collects logs from all the cisco devices on our network.he company policy states that any logs should only be accessible by root. So I have the following permissions set on the directory, as well as everything inside the directory where the cisco logs are kept.
Code: drwx------ 65 root root 4096 Apr 29 7:38 rsyslog The cisco folks are requesting access to these logs, which is allowed by company policy.
I cannot sudo nor log into a second ssh session on my Ubuntu 10.10 server edition headless setup. Entering an incorrect password works as expected but the correct password gives errors, and on the second attempt a segfault. I recently changed my password as the old one was about to expire, that was 3 days ago, I can't find evidence that I have sudo'ed or logged in a second session since, I have been logged into it via ssh throughout all of it and I am still currently logged in. What should I do to correct this problem? I'm worried that by turning it off I will lose all access. Is the only option using a live cd to change the password?
everytime i try to vnc to my box, it pops up the keyring authentication, which is obviously a huge problem when logging in remotely.how do i change my keyring password to match my login password?
I know this has probably been asked too many times here but I need to secure my emails. Personal matters of course. But yeah. I use the program "Password and Encryption Keys" to generate a key to sign my emails with but I do not know what to do. To be blunt, I'm stupid when it comes to this. IF not, steps in creating a key? and giving it (my public key) to the significant other? Finding where both keys are? Implementing it into Thunderbird? If it helps any here's some extra information: Ubuntu distro: Ubuntu 10.04 Email client: Thunderbird