Software :: Pam_usb Login With Usb Stick In Ubuntu?
Jul 9, 2010
what i'm trying to do is set up a ubuntu system that will lock and unlock itself by unplugging and plugging in a pen drive. its a fresh install of 10.04 LTS and i updated it. the instructions that i'm following are from [URL] starting on post #18. i then install the modules from apt-get just fine, but get hung up on 'sudo pamusb-conf --add-device DeviceNickname' with the error "No Devices Detected". for DeviceNickname, i've tried TEAM (default name of pen drive), test, /media/TEAM, and /dev/sdb. i've even tried "....-device=test" format for each preceding option as i've seen suggested, but to no avail.
I've setup pam_usb to allow me to log in with just my usb drive. This works fine, save for one issue. When I log in using pam_usb, my session dies abruptly if I unplug the usb drive.I am _not_ runing pamusb-agent.It seems like there may be some issue with policykit, but I'm not sure./var/log/auth.log:
Code: May 28 20:42:10 nitrogen gdm-session-worker[1836]: pam_succeed_if(gdm:auth): requirement "user ingroup nopasswdlogin" not met by user "dschep"
Objective: Create a guide to building the now orphaned pam_usb source for Laughlin and summarize the make/install process so that everyone can easily do their own make.
I decided to put a copy of Ubuntu 11.04 on a USB stick. Downloaded the image file and USB installer and built the stick with no problems. I REALLY don't like the new interface, so I went to the login screen tool and changed the login to come up in Classic mode. Trouble is, now when I try to bring the system up I'm presented with a log-in screen that asks for a user name and password. Since I'm using a live image (akin to a live CD) I don't have any user name or password established. Are there defaults that will allow me to log in? Or do I have to recreate the installation and create a user account that will let me log in?
i was writing a .img file to my usb stick with ImageWriter, but it didn't seem to do anything so i clicked the close gtk button and pulled the stick out of my pc. now my pc gives my an when i try to open the stick. is there any way to fix this. I can use win xp pro, win xp media center, win 7 starter, ubuntu 9.10 and ubuntu 10.04
I'm about to ditch Freenas as my NAS software and make it an Ubuntu server box. The mainboard is an Asus AT3ION-T dual core Atom board. Freenas runs happily from USB stick. I have no optical device to install Ubuntu from and would like to install Ubuntu Server to a USB stick.
When I start bluej and try to open files from my memory stick the memory stick is not available. Is there any way that I can open files directly in bluej from my memory stick.
I have used Ubuntu since 7-4; I now have 10.4. However, in the last week I have been taken to the login screen three times. This could be potentially calamitous. Ctrl+Alt +Backspace have by default been disable since 9-4. There is no way I am pressing atl+Prtscr +K. I wonder if there is a new zap command in 10.4, and if so, how to disable it. I have never found the need to go back back to the login window. I am generally using the command line when doing this.
I just finished installing 10.10 on my pc. the problem is that i cant login to the desktop i enter the password, the login sound plays and im stuck looking at the wallpaper. nothing else. i tried logging in safe mode and it worked. how can i get it to work normally?
pc specs: Pentium 4 2.6 ghz 512mb ram ati radeon 9600 graphics card
I recently powered up my netbook... Selected my user log in, entered my password, and after a couple seconds I briefly see what looks to be the console and am returned to the login splash screen... I can Ctrl+Alt+F2 to get to the console and log in... but that is as far as I can get. This is the case for Gnome, Remix, and Remix 2D.
I can sudo apt-get (update, upgrade, etc) as well. It is the right password because if I type in a wrong one it presents an authentication failure dialog box.
How can I fix my log in screen and get to my desktop? I am Currently running 10.04.... waiting to get 10.10
yesterday i installed slim login manager on my computer (eee pc 1018p, ubuntu 11.04), and now it cannot get passed the ubuntu loading screen (with orange dots underneath) when booting. i tried booting into recovery mode and that didn't work either. i also left the computer trying to boot overnight and that didn't work. basically, during this loading screen that should eventually bring you to the login screen, i can alt+tab to see the progress of the load. the progress is stuck on
Is there anything I can do from grub to remove slim?or, is there any way I can access my ubuntu partition and save all my files?
I don't what happened but yesterday I was working normally and then I shutdown the computer, today when I opened ubuntu it took me to tyy1 login screen, I entered my username and password then it took me to the normal login screen with the login drums sound and it wrote on my account (logged in) so I clicked it and I entered my password again and then I got to my ubuntu so what went wrong and how to fix it also I noticed that a new terminal in system tools occurred called Kernel (I didn't add it)
I'm using ubuntu 10.10 on Dell inspiron 1520 with Nvidia 8600GT and 3GB RAM
Important: this happened after update to generic-headers-24
I just bought this desktop from my friend and it runs win 7 and ubuntu 10.04. it worked very well the first two days until I changed the hostname of the system.
I did like: hostname myNewName
And everything worked fine. The problem now is when I start ubuntu and and reach username and password screen , I enter my password to login the screen becomes black and return me again to the screen where I put my password again. If I entered wrong password , the system message stating wrong password. On the other hand, when I try to run ubuntu from live-cd I can login easily and access my account.
My friend told me he removed Naultius package and reinstall it for some reason before he gave it to me. Note windows 7 is working properly.
System was fine with :Ubuntu 9.04 (had also installed kde )then....I wanted to try some change to gdm so i downloaded gdm while building it , it asked "PAM" libraries to be installed so i installed PAM ... but ignored the instruction to reinstall SHADOW (library i guess..),Now :on booting system i get login menu but i am not able to login , it says some critical error occured
1) install new copy of UBUNTU and remove old
ps :1) i can log into system through live cd
2) i can use recovery mode boot and log into terminal as root(startx is not working from this terminal..
I have just did an upgrade from 9.04 to 9.10. I am planning to go to 10.04 . After the upgrade everything was ok but I noticed the GRUB was still legacy. So I updated my GRUB to GRUB2. Now when I boot, after entering my logon-id and password, it just brings me back to the login-id screen (to logon on). Any indication of what is wrong and how I should fix this ?
I have no encryptions. [added comments] Currently reading thread about login loop bug with 9.10 Followed instructions about possible missing pre-release update but even if it did do updates, I am still login screen looping. Doing additional researches until someone answers with the fix. did : CTRL + ALT + F1 switch to one virtual console sudo service gdm stop
When I try to login with my username, the one I created when I installed the OS, it seems to try to login but almost immediately kicks back to the login screen. No authentication error it just seems to just logout? The only change I made since last successful login was to add ". .alias" to the .profile file - the only entries in the .alias file are comments and "alias" commands. I have one other username but it is not in the sudo's list of users so I can not change anything in the master login.
I just updated to 10.10 (), but I have one problem. I changed my password a few days ago, and now whenever I log on, It comes up with the attached message, and I have to type in my OLD password to connect to wireless.
I installed xorg-edgers around the time the issue started, but I install and uninstall packages so often its hard to tell if this was the cause. Regardless, I ppa-purged the xorg-edgers ppa, reinstalled the proprietary nvidia drivers, and created a new user account, to no avail. I also wiped the /tmp directory, and reinstalled compiz, and tried dpkg-reconfigure -phigh xserver-xorg.
So far nothing has worked; I've checked out dmesg and /var/log/syslog, and nothing seems to be amiss, but admittedly I'm not sure what exactly to look for. I have a feeling its an issue with X being broken now, regardless of my attempts to downgrade, but I don't know how to go about correcting it.
I have a problem regarding the ubuntu enterprise cloud. I have installed CC,CLC,SC,NC and a client and logged into thje user interface using my browser for the first time with bith username and passwd as admin and downloaded the credentials.But now as I try to login with the same username and passwd, it says that its an invalid login. I understand we have to change the password on the first login but i don't remember doing the same.
I tried recover password option and gave the user name as admin and email address as my gmail id. It says that I have to follow the instructions sent to the mail, but there is no mail sent I have done it like 5 or 6 times with different mail ids
I'm seeing really bad user login format under a standard installation and am wondering why ubuntu does this as default. I have noticed that the graphical login for gnome sizes itself to accommodate a user's exact password length. This indicates to me that somewhere on the unencrypted part of a standard installation with user encryption contains at least some indication of the content of the password length which seems a security flaw even if not a complete hole, it majorly reduces the number of attempts a cracker would have to cycle through.
And that's assuming that *only* the length is contained. Furthermore it seems that it would be MUCH better to simply display the number of characters entered into the pw field and allowing the gui to expand itself from an fixed size as the field is filled out so the the user still receives visual feedback for entering characters. Either a simple character count display should be entered into the field or a 10 dot to new line so that one can visually quickly count the number enter by multiplying from a 10base graphical observation.
I have program that work like Fedora Firstboot it's run only one time after finish installation. I have two questions to ask.
1. How can I start this application before gdm start (login screen or auto login)
2. How can I start this application in fix display resolution (800x600)
My method now is
(This is a part of script , this script execute from /etc/init.d/myfirstboot , I create symlink to /etc/rc2.d/S1myfirstboot for start it before anything)
gdm-stop # first time I use /etc/init.d/gdm stop DISPLAY=:1 export DISPLAY /usr/bin/Xorg :1 &
[Code]...
I don't understand why first time firstboot start the system will auto loging in but not complete yet and then my script is start and it's work does not fine I think that is another user is already login , but if I re run my firstboot again and again (by setting something that can revoke my firstboot and restart) it's work before auto login and every things is ok!
I just installed 10.04, and its taking me to the console login, rather than the graphical login. When I tried the live cd, the graphical environment was good. But after installation, I dont get the graphical login , so that I can get into the desktop.
I have a ATI Mobility Radeon X1400 card on ThinkPad T60. Everything was working on 8.10, and I decided to install 10.04 and now it doesnt work.
I installed 10.04 on my pc. I also have 9.08 and XP installed. Both work. The 10.04 gui login screen displays and asks for the password. I enter the password. The screen goes blank but after a few seconds the gui login box re appears and again asks for a login. I rebooted into the TTY, created a new user, checked the new user was in in /etc/passwd and that I could get into the new user's account. When I rebooted into the gui the new user was there and I entered the password but again I just got back to the gui login window. The pc I am using is at least 5 years old. I have tried startx and I do get the gui background but no controls are displayed. I am using 32 bit 10.04. Using the TTY I have uploaded all the current fixes.
I'm hosting a server with Ubuntu 10.04. I've stumbled upon a strange problem.The server seems to refuse any login attempts, either with SSH or via a TTY after a reboot. After a couple of minutes (about 10 minutes or so) I able to login. The memory usage isn't high at login nor the system load. The auth.log doesn't show any login attempt before.problem? Or does anybody have a suggestion I could try to fix this?
So I've been running Ubuntu in a VM environment for a while, seeing if I like it. I think it's something I'd like to have as the primary OS on my netbook, so I downloaded the latest Netbook Remix version (9.10). Problem is, I can't get the thing to boot from my USB stick. Before we get into any lessons on how to set up a USB stick to be bootable, and how to adjust the BIOS's boot priority... let me say that I've used this exact stick and this exact laptop in the past just fine. When my netbook came home from the store with WinXP on it, I created a Live USB using unetbootin v3.56 and made the stick bootable with a gparted-live ISO. I used this to boot from the stick and partition my drive in half so that I could load the Win7 RC onto the other partition. Everything worked great then. I blew away those partitions and went back to a single partition when I loaded up my full Win7 OS a few weeks ago.
I'm wondering if it's possible that Win7 does something special with the bootloader to prevent this stick from being recognized? I know that sounds kinda far fetched, but I have a vague sense of having read this somewhere, but I can't find anything along those lines now. Just to be sure, I went into the BIOS and took out both the CD and the HDD from the boot sequence, so the only thing in there was the "removable device". However, when booting from the stick in this configuration, I got a "please insert an operating system" type message. When I started this process, the stick was still in "LiveUSB" mode with the gparted OS - however, I didn't test it in Win7 to see if it would have booted from it. I just assumed that it would have since the last time I used this USB stick, it was to boot into gparted-live.
I copied the unr 9.10 iso to my usb stick fine using the program from pendrivelinux for ubuntu 9.1. I think it worked well, because it now has a ubuntu logo on the usb and says "install ubuntu netbook remix." When I get to the BIOS menu and to the boot options, I get a box which says three things: SDD slot, D: drive, and disabled (maybe talking about the D)When I press enter on the D: drive nothing happens. When I say to save configuration and exit it goes right to xp again. I have no idea what to do... I'm on an EEEpc 1005-HA running xp.
If I create a usb stick with the applications provided by ubuntu and I choose to save files in the stick (with the available option - cant remember the name), will I be able to install packages and have them available the next time I boot?
I wish to install a fully working Ubuntu system on my 16GB USB disk so that when I boot from my USB stick I get directly into Ubuntu. I do not want to be prompted with the option of "Try Ubuntu" or "Install Ubuntu". How do I do this?