Ubuntu Security :: If Password Is Wrong Then Run A Command
Aug 23, 2010I want that in the phase of "login" and in the phase of "lock screen", if password is wrong, then Ubuntu runs my custom command.
View 3 RepliesI want that in the phase of "login" and in the phase of "lock screen", if password is wrong, then Ubuntu runs my custom command.
View 3 RepliesIs there a way to have the system shut down automatically after a set number of wrong user password entries? Am using ubuntu and kubuntu on two different machines. Am thinking it would make sense to have this feature on an encrypted laptop system in case someone were to take it whilst it's on suspend, screenlock, hibernate or login screen and hence the disk is vulnerable.
View 6 Replies View RelatedI am starting to learn how to create and manage users in my computer. I created a new user and changed users
I then tried to install a package with this user to confirm that it needs su rights, and when asked for the password, I entered it wrong
john is not in the sudoers file. This incident will be reported.
It says that the incident will be reported, but where can I find the information of this incident? where is it stored or how is it reported?
I have recently installed Fedora 14 on a new computer we presented as a gift to my sister-in-law. She is new to Linux. Although I've used Fedora since Core 1, I'm no expert on security issues, and this baffles me. She's doesn't know how to change the root password, so why doesn't it work any more? She discovered the problem when attempting a yum update from a terminal.(1) How could the root password have gotten changed? How likely is it that someone got onto her system through ssh, made a lucky guess on her root password, and then changed it? Are there robots that do this?
(2) The firewall is enabled. I have it set up as follows: (a) under "Trusted Services," only ssh is checked (I need to be able to get in remotely this way); (b) under "Trusted Interfaces," I have eth0 checked (I need to be able to use VNConto her desktop).Question: Are these settings giving ample protection? What settings would be recommended to protect her system while at the same time allowing me to access it through ssh and VNC?
I work on a product that have to start automatically an application. Running Opensuse 11.2 So in the inittab I have : 1:2345:once:/root/Velox/VeloxBoot.sh 2:2345:respawn:/sbin/mingetty tty2
In the VeloxBoot.sh, if I don't press any key, my application starts after a timeout. If the user presses a key I want to have a login prompt. Unfortunately, if I start /bin/login, I have a prompt with login, but once I enter my login, it does not ask for a password and it says wrong password
I downloaded and installed Ubuntu-Server 11.04, then installed XFCE as a light weight, fast desktop. Then I installed Synaptic from apt-get. Now, Synaptic complains that I am entering the wrong password. I cannot log in to Synaptic at all.
View 3 Replies View Relatedeverytime 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?
View 4 Replies View RelatedI'm trying to connect to my windows 7 computer via network from ubuntu 10.04. I get as far as this screen:
My problem is it always says I've entered the wrong password. I've tried the administrator account password and also the long windows 7 homegroup password.
tl;dr: what kind of password is it looking for?
I did a fresh install on this computer, ubuntu 10.10 server then put desktop on top of it.
I can run sudo -i, enter password, gain root access, but when i click system -> administration and it asks for my password, it always says my password is wrong.
I ran update manager, and my password worked fine there.
When i click system administration and run a task, the password screen looks different
Little more digging shows, it only occures on screens that use the login type of,
Enter the administrative password:
It doesn't even give me options for what user to use. And I am using the account created on install.
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
View 7 Replies View RelatedHow can I force passwd to use a simple password?I want to change my passwd & delete passwd history (if stored).I plan on creating a Virtual Appliance that uses another password besides my testing password.
View 5 Replies View RelatedI've installed kubuntu in ubuntu 11.04 using the synaptic manager updates. After the completion of installation & after the reboot it is asking username & password, when I enter my ubuntu username & password it says it was wrong...
View 1 Replies View RelatedSeems like a nasty bug in F13.after typing in wrong password, a 2nd correct attempt on gdm (or kdm) leads to a dark screen with a dash cursor blinking on the upper left - have to turn machine off. Then on next login, memory seems to race until properly shut down.
View 7 Replies View RelatedI already posted a topic similar to this concerning the Desktop OS version, but this deals with the Netbook because unlike the Desktop, the Netbook is less cooperative. Allow me to elaborate: Today (or rather yesterday since it's not after midnight where I am), I changed my password because I was hopelessly confounded about how to get my Wireless Network card up and running after it had been installed and I was allowing my dad to use it. This issue has since been resolved, however...
When I chose my password during the original installation, there was no mention of it being "too simple." This is where the Desktop OS and the Netbook OS differ. The desktop will let me change it in the terminal without any errors. The Netbook will not. When I've attempted to revert it back to the original, it will not let me do so in the User Profile or in the Terminal. The Passwords and Encryption Keys application also does not appear to help.
So now even after I've changed it to a different "complicated" password I am still prompted to insert two different passwords since I changed my user password but I am unable to change the password I input during the installation. A bit screwy methinks. This is extremely important. I'd like to know how to change the original installation password.
If I can't change the main password on my laptop then this is a serious potential security breach just waiting to happen (especially since it's on a laptop and I will be hauling it around with me) and I will most likely install a different OS if this isn't resolved --- It would be very unfortunate since I spent the whole day fixing it and I really enjoy the interface. Luckily I can live with this on my Desktop since I'm not going to be hauling it around with me everywhere when the school year starts.
We have Ubuntu 8.04 running on our mail server and remote smtp connection does not work.
When trying to send with a client such as Thunderbird it complains about a wrong usernamepassword.
Receiving mail with IMAP and POP3 works fine through Thunderbird. Both receiving and sending mail through a web interface(horde) works.
I can remotely telnet the server at port 25 and this is the output of ehlo:
Code:
250-**server address**
250-PIPELINING
250-SIZE 25000000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH PLAIN LOGIN
code....
I have a database created by an older program (not Access) that I need to open and retrieve information for my business. The manufacturer put a password on there so that only it's program could open it. I do not use that program, but it has information I need. Is there a way to find that password or circumvent the password altogether?
View 1 Replies View RelatedI am an absolute Linux Beginner who is being required to do a bit of admin work because the boss just fired the old linux admin. Unfortunately, one of our employees cannot remember her password to her email account and as such I need to reset it on our linux server.What I want to check is that this email account is actually a linux user account and I simply will reset the password for it using the passwd command from the root login. Is that correct?
View 1 Replies View RelatedAt the moment I am having a problem with the MySQL server on my VPS. It's a completely fresh install of both Debian 5 and MySQL but the problem is upon logging in I get:
[root@boris ~]#mysql -u root -p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
[code]....
Trying to set up my Yahoo account on KMail. After entering all the correct (as far as I know) server settings, ports, etc. and trying to check my mail from KMail, I get the following message.
Could not login to pop.mail.yahoo.com. The password may be wrong.
The server said: "[SYS/PERM] pop not allowed for user."
The password is definitely right. What is going on?
I have a kickstart script that attempts to create user "joeblow" with an encrypted password. The user is created okay, but the password does not seem to "take". After installation is complete, and the system is rebooted, this is the relevant portion of /etc/passwd:
Code:
This is the relevant portion of /etc/shadow:
Code:
Where there are two exclamation points, I would expect the encrypted password (as is the case for the root user, which is also created in the kickstart file).
The relevant line in my kickstart file looks like this:
Code:
That password string, which is 34 characters, is the word "password", encrypted with this command:
Code:
Also in my kickstart file is this line:
Code:
After the install is complete, I reboot and attempt to log in as "joeblow", but no dice. If I log in as root, and manually put the above encrypted password into /etc/shadow for jowblow, I can then log in as joeblow.
I migrated an old SuseLinux 10 box to Debian (Lenny) a couple months ago, and apparently no one noticed you can't change your password. Root can do it because passwd doesn't ask root for a password, but no one else can (although they can log in, passwd doesn't recognize their login password when they attempt to set a new password and it asks).I changed authentication to use blowfish when I setup the server (because the SuseLinux 10 system used it) and apparently the passwd command doesn't work with that. Apparently I need to update another configuration file or possibly get a different program to update the passwd file if I use blowfish. Any ideas?
The weird thing is that it can generate a blowfish hash to set a new password, but apparently can't generate one to authenticate the user.something changed recently and it is no longer generating a blowfish hash when setting a new password. It is generating a hash with only 13 characters. And I can clearly see that many users have changed their passwords.
We've just installed debian xfce lxde....after all this time to get it....when we boot up to the login screen it keeps saying wrong uder name or password
View 7 Replies View RelatedI've snort_inline2.4.5 and didn't found snort rules-snapshot-2.4.5.tar.gz at snort home what i do
View 2 Replies View RelatedI'm running a fresh install of Ubuntu 10.4.1 on a Dell Dimension 4700 desktop.When connected to the network (jack in wall, no router), I normally navigate my intranet and the internet.But here's the issue: this particular Dell machine has an IP addresses that is radically different from all other machines connected to the same network.I have tried to edit etc/network/interfaces to force a different IP, but then I lose connectivity. I need this to follow the IP scheme of my intranet so I can set up a server that resolves by hostname. Is there anything wrong with the NIC or is this something that can be resolved via command line?
View 9 Replies View RelatedI am having a few issues related to the RPM command. I think something is wrong with the database. Here is what has happen. I had open office installed, I heard about the fork and decided I would install LibreOffice . I uninstalled open office but left the shared libs. I downloaded the new beta release that is out and used the rpm files to install. In the process of installing the menu links I ran into a few conflicts related to dependencies. So I removed the rest of the open office libraries. Now if I try to launch LibreOffice I get a message saying that it can't find it. If I try and do a reinstall with the RPM files I get a message saying that it is already installed. example below:
[Code]...
For some reason passwd does not accept my current password as the old password when i try to change my password with the command passwd. Im not sure whats wrong with whatever linux uses to handle passwords but I cant even change passwords with the root user account. Is there any way to fix both of these problems.
View 3 Replies View RelatedI'm suspicious that the context of /etc/sudoers is wrong. During the last upgrade to Fedora 14, RPM dropped /etc/sudoers.rpmnew, which had a different context than the real sudoers file. But, when I try to get SELinux to relabel the file (using restorecon or fixfiles), it refuses to make a change.
> ls -lZ /etc/sudoers
-r--r-----. root root unconfined_u:object_r:etc_t:s0 /etc/sudoers
> matchpathcon /etc/sudoers
[code]....
In our group we use NIS and have a group set up called netadmin which is given root privileges on each machine. Each machine also has a localuser called localuser created and used during installation. When logged in as a member of netadmin, attempting any action that requires root privileges (e.g. installing software in Ubuntu Software Center) results in a prompt asking for localuser's password, not the current user's password.
Does anyone know the cause? Configuration issue or Ubuntu issue? We can get around it.
I ran a command chown apache:apache / and just about everything... i wanted to do it on a directory but it did it on complete server.
i unable to login to phpmyadmin and even all the databses are empty. any tips on how can i solve this.
I am very new to linux and just need a bit of help figuring this one out. I installed ImageMagick the first time using yum, then I used an alternative method. It's installed properly the second time and almost does what I want except that when I type 'convert' in the prompt it gives me '-bash: /usr/bin/convert: No such file or directory'
The actual location of convert is /usr/local/bin/convert How do I change it so the convert command is pointing to the right executable?