Current Issue


Table of contents

CD-ROM

Sys Admin and The Perl Journal CD-ROM version 12.0

Version 12.0 delivers every issue of Sys Admin from 1992 through 2006 and every
issue of The Perl Journal from 1996-2002 in one convenient CD-ROM!

Order now!

Sys Admin Magazine > Archives > 2004 > April 2004

Questions and Answers

Amy Rich

Q I'm running Solaris 9 on an Ultra 250. I was adding some groups with groupadd for a project that's taking place on this machine. A user later complained that people in other groups could see non-group readable files in his group. When I checked, I saw that all of the groups I added had the same GID! To make certain that I hadn't done something stupid when I created them initially, I added a couple more groups, and sure enough, they all had a GID of 100:

groupadd foo
groupadd bar
egrep 'foo|bar' /etc/group

  foo::100:
  bar::100:
I tried the same commands on another E250 with the same OS and patch revisions, and it worked fine. I'm rather at a loss here.

A It sounds as if you, like many other people, have removed the SUNWnisu package. Unfortunately, this package contains the /usr/bin/getent command as well as NIS-specific programs. You can specify the GID on the groupadd command line, add groups by hand, or reinstall SUNWnisu to get around this issue. In Solaris 10, /usr/bin/getent has been relocated to SUNWcsu to prevent this kind of problem.

Q We support a number of telecommuting users who want to run their own mail servers. Most of these people run FreeBSD or Linux so they can get things running, but a number of them have been exploited as open mail relays. They generally don't notice this until their provider shuts them down, and then they can't telecommute. Is there a definitive way to tell whether a machine is an open mail relay?

A There are a number of tests to check whether a machine is an open mail relay. One that I've used before is Not Just Another Bogus List (njabl.o




MarketPlace

Build IT Knowledge with Current & Trusted Content
Helps Employees Develop & Hone New Technical Programming Skills. Sign Up & Get Full Access.

Villanova University Six Sigma & IT Certificate Programs
100% Online programs in Six Sigma, IS Security, CISSP Prep, Business Analysis, Proj. Mgmt. and more!

Workflow Enabled Help Desk & IT Service Management
Automate service desk activities and integrate processes across IT. Learn more here.

Flowcharts from C/C++ code -- Free trial download
Understand C/C++ code in less time. A new team member ? Inherited legacy code ? Get up to speed faster with Crystal Flow for C/C++. Code-formatting improves readability. Flowcharts are integrated with code browser. Export flowcharts to Visio.

Wanna see your ad here?