LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-25-2016, 06:25 AM   #1
rameshkarthik
LQ Newbie
 
Registered: Nov 2010
Distribution: linux mint 10 Julia 32 bit Gnome
Posts: 7

Rep: Reputation: 0
check whether account exists in a linux machine without authenticating into that machine


Hi All,

This is my first post after a very long time.

I am in a situation where i am using putty or mobaxterm. I need a way to know whether an account on a particular linux machine but I cannot authenticate into that machine.

If somebody has alredy raised this query please point me to that thread.

sorry if this question is silly.

Regards,
K.Ramesh Karthik.
 
Old 02-25-2016, 10:46 AM   #2
cliffordw
Member
 
Registered: Jan 2012
Location: South Africa
Posts: 509

Rep: Reputation: 203Reputation: 203Reputation: 203
Hi there,

Disclosing that information weakens the security of the system, as it makes brute force login attacks easier. Without this info, an attacker needs to guess both the username and password, while with it she only needs to guess the password. I have not seen any system that discloses this by default in MANY years, so if there is a way, it's most likely only because someone deliberately enabled it. Examples of such tools include finger, telnet, and some FTP versions.

Regards,

Clifford
 
Old 02-25-2016, 10:55 AM   #3
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Why can't you authenticate into the machine?
 
Old 02-26-2016, 03:58 AM   #4
rameshkarthik
LQ Newbie
 
Registered: Nov 2010
Distribution: linux mint 10 Julia 32 bit Gnome
Posts: 7

Original Poster
Rep: Reputation: 0
I am using some privileged id management tool and I need to onboard an account into that tool. So before an account gets onboarded I need a way to check of its present in the target linux system.

The linux system is currently handled by the some other team. I need to wait 2 days to get a response from the team each time. Also regularly the linux admin team will offboard certain servers or account within those servers. So if there is a way where I can check whether an account is present in the target linux machine each time before making any change to the account that would help me immensely

Regards,
K.Ramesh Karthik.
 
Old 02-26-2016, 04:11 AM   #5
cliffordw
Member
 
Registered: Jan 2012
Location: South Africa
Posts: 509

Rep: Reputation: 203Reputation: 203Reputation: 203
The best approach might be to ask them to give you an account of your own on each of these servers, then you can write a script to SSH into it and look in /etc/passwd whether the account exists.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Authenticating to a Linux Machine from a remote host sghatty Linux - Security 6 09-24-2014 08:09 AM
samba openldap not authenticating to windows xp machine mercxi Linux - Server 5 07-28-2010 06:50 PM
Getting problem in authenticating winxp machine with samba server. fahadaziz Linux - Server 2 02-07-2010 09:51 AM
Linux Debian machine's test account got hacked! how much damage could their be done? Thund0r Linux - Newbie 3 02-26-2008 01:49 PM
Log on to a remote windows account when starting a Linux machine bothy Linux - Newbie 3 11-16-2005 04:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration