?
Solved

Redhat - user security...

Posted on 2004-09-22
4
Medium Priority
?
372 Views
Last Modified: 2010-04-22
I used a  cut -d : -f 1,5 /etc/passwd command to get a list of "users" on my system...

The odd thing is there are alot I don't recognize. But maybe I'm just not familiar.

My question is, when you setup a system (install linux) is there a default password for say, mail, or pcap, or news...  or can those not be used to access the server from SSH2 (port 22 access) ?? I just want to make sure when I install a system, someone can't connect to port 22 via SSH and type mail (a default password) and enter the system...

is operator:operator a normal user/group?
or games:games?

If so, what would changing the passwords for all of those do if anything??

Thank you very much for any help anyone can lend...  

Best regards,

Dr34m3r

0
Comment
Question by:dr34m3rs
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 45

Expert Comment

by:sunnycoder
ID: 12121113
Hi dr34m3rs,

> is there a default password for say, mail, or pcap, or news...  
An account, yes ... Password, I am unsure

>or can those not be used to access the server from SSH2 (port 22 access) ??
No ... These accounts do not permit interactive login

Sunnycoder
0
 
LVL 22

Accepted Solution

by:
pjedmond earned 1000 total points
ID: 12126783
Nope - there is no default password for these accounts.

If you look at your /etc/password file you'll see something like:

pcap:x:77:77::/var/arpwatch:/sbin/nologin

The x as the second term means that the passwd is shadowed...so you look at /etc/shadow and you get:

pcap:!!:12604:0:99999:7:::

The !! means that there is no valid password. If there was, then the second term would be a long MD5 hash string starting with $1$

Generally, most default settings will be configured to be 'safe' in the current climate of internet security. This is not necessarily the case with older software. You are right to ask, as if you don't there is always the risk that something could go horibly wrong at a later date. With security, you MUST be 100% correct adn confortable with the confguration.

HTH:)
0
 
LVL 22

Expert Comment

by:pjedmond
ID: 12126800
Another point....the last tem in the /etc/passwd line relates to the login shell. /sbin/nologin prevents shell logins even if there is a valid password!
0
 
LVL 1

Author Comment

by:dr34m3rs
ID: 12128952
Awesome thanks! :)
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello EE, Today we will learn how to send all your network traffic through Tor which is useful to get around censorship and being tracked all together to a certain degree. This article assumes you will be using Linux, have a minimal knowledge of …
Fine Tune your automatic Updates for Ubuntu / Debian
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses
Course of the Month12 days, 23 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question