Help with Ubuntu Linux Server Password Problem...

 
Thread Tools Search this Thread
Homework and Emergencies Emergency UNIX and Linux Support Help with Ubuntu Linux Server Password Problem...
# 1  
Old 07-14-2011
Help with Ubuntu Linux Server Password Problem...

Hi all,

I have no root access enabled on our linux server due to safety issues. We use sudo. When I change my password using passwd command, I sometimes get issues where I can't log back in.
Pam_Tally disables due to trying my password too many times. So someone in my group has to reset that.

Is there a way that we can do this individually without someone else doing it?

Any info would help.
# 2  
Old 07-14-2011
That you can't is really the point. If you could, so could an attacker.

Counting failed logins never struck me as a very good idea. Any attacker who knows you have Pam_Tally on can disable all your logins at the drop of a hat.

Are you logging in with ssh? Maybe they'd allow you to use ssh keys to login, with a password on the key.
This User Gave Thanks to Corona688 For This Post:
# 3  
Old 07-14-2011
Right,

We have ssh enabled. I like Public/private key encryption but for some reason I was unable to utilize it. I use Secure CRT on our UNIX servers and it was easy to set up ssh and public and private key options. With Linux, it a little different for some reason. Someone suggested that I not change password on the Linux boxes and just use a strong combination, but...maybe unsafe...

---------- Post updated at 11:56 AM ---------- Previous update was at 11:54 AM ----------

Also interesting is how would an attacker disable the logins with knowledge of Pam_Tally existence?
# 4  
Old 07-14-2011
Fail to login to someone's account n+1 times. An attacker could even do that by accident easily enough.

What are you logging into, from what, using what? The procedure for using SSH keys from terminal is actually really easy. If Secure CRT can use or import ordinary ssh keys, set it up with that first.

Last edited by Corona688; 07-14-2011 at 01:06 PM..
This User Gave Thanks to Corona688 For This Post:
# 5  
Old 07-14-2011
Quote:
Fail to login to someone's account n+1 times.
Nice...

Quote:
What are you logging into, from what, using what? The procedure for using SSH keys from terminal is actually really easy.
Well I'm using Secure CRT software utilizing SSH connection. As mentioned, I have set up Public/Private key combos on the UNIX machines. I've let CRT software create a hash. No problem on UNIX. Created my .ssh folder, the authorized_keys, and known_hosts files on the UNIX side. All works fine.

Did the same on Linux, and it didn't work. And, btw I think i have disabled public key on SSH config because it wasn't working.
# 6  
Old 07-14-2011
openssh can be particular about the ownership and permissions of ~/.ssh and files inside it. Usually I just use ssh-copy-id and it sets up everything right.
This User Gave Thanks to Corona688 For This Post:
# 7  
Old 07-17-2011
maybe you can ask the administrator
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Sftp,[put] all files that are .csv to server. Linux Ubuntu

Hello all, I am trying to sftp files to a server, I am using keys as authentication and I can connect with no problems. I can also put a sample file on the server. When I tried to automate this process with a .sh file I get the "couldn't canonicalize: Failure". This is my script: sftp... (5 Replies)
Discussion started by: KidKoder
5 Replies

2. UNIX for Beginners Questions & Answers

File transfer between Linux server without password

Hi All, I am trying to generate SSH keys for file file transfer automation but facing issue while generating keys. And I tried from another directory but still facing same issue. Error : Open scripts/renu/.ssh/rsa_id failed : Is a directory Saving the key failed... (4 Replies)
Discussion started by: renukeswar
4 Replies

3. IP Networking

How to Build an Email Server on Ubuntu Linux?

hi there ! how SSH into my Ubuntu server to Build or Send an Email? is it true to use iRedMail? (1 Reply)
Discussion started by: fns4565
1 Replies

4. Ubuntu

problem in linux ubuntu 10.10 about mail command

Hi, My question is that is there any substitute command for mail in ubuntu because I'm trying to run it and it is showing error: command not found!! Will it need to download any specific package? If so please tell me how can I download that pkg. Thanks in advance. (1 Reply)
Discussion started by: nageshgautam
1 Replies

5. UNIX for Advanced & Expert Users

Mounting SunSolaris Filesystem on Linux Ubuntu Server

Can someone please help me out here. I have SunSolaris server that has a ridiculous about of space on it. several hundred gigabytes of space. There are lots of partitions on this server that has at least 100Gs on them. I want to mount just one of these partitions on my Linux server so I can... (4 Replies)
Discussion started by: SkySmart
4 Replies

6. UNIX for Dummies Questions & Answers

Would like to install x86 desktop Ubuntu over AMD64 Ubuntu server

My intention was to build a dual boot XP Pro 64 and Ubuntu media server. I had installed the AMD64 version of Ubuntu 8.10 server and thought that I would be able to install Apache server. I need a GUI to work in. I tried to boot and install Mythbuntu 32 bit 8.10, but my machine now won't recognize... (0 Replies)
Discussion started by: docflyboy
0 Replies

7. Solaris

network config problem - how to set the server for others to ssh without password

Hi, I want to ssh the linux server without inputting the password, how can I config this server? Thanks in advance! (1 Reply)
Discussion started by: GCTEII
1 Replies
Login or Register to Ask a Question