[juneau-lug] Re: SPAM filtering...

  • From: Myron Davis <myrond@xxxxxxxxxxx>
  • To: juneau-lug@xxxxxxxxxxxxx
  • Date: Sun, 2 Mar 2003 13:40:16 -0800

Hi Kevin!

On Thu, 27 Feb 2003, Kevin Miller wrote:

> 
> >I would guess not - although it is possible to hard code user and group
> >ID numbers into a process instead of using the name.  What user does
> >SuSE have using ID 25?  I'm at work and all I have is OpenBSD to look
> >at, and user 25 is:  smmsp, Sendmail Message Submission 
> >Program.  I have Postfix installed, so it must be an OpenBSD default 
> >account.
> 
> Thanks.
> 
> UID 25 is "at".  Odd thing is, sendmail made that change with 8.12, and SuSE
> loads 8.12.2, then the patches bring it up to 8.12.3.  I'd have expected
> them to have altered the UID assignment in the default Linux setup so that
> it conformed to the requested specs..  If I set it up to the sendmail specs,
> I wonder if I'll get some "unexpected behavior" when I run it?  

maybe 'at' is a command scheduler, don't know since I've always used
cron.  If you can always run (just for curosity sake) find -uid 25,
should pull up everything on your system (files) which are owned by
uid 25.

> 
> >> What stumped me though, 
> >> is what to do w/the password.  Is SOP to leave it blank and 
> >> assign a nul shell to the account?  If not, how does sendmail 
> >> know how to log in?
> >> 
> >
> >Sendmail won't ever actually log in.  It will just start and assign
> >itself the user and group id of smmsp.  IIRC you put an asterisk in
> >/etc/passwd, but do not put a password in /etc/shadow (using passwd).
> >Don't leave it blank!  Again, I only have OpenBSD available here, so I
> >can't check.
> 
> Looked in /etc/passwd and /etc/shadow - both had a * in the service
> accounts.  Probably easiest to just edit them by hand as the graphical
> utility will start UIDs at 500 & go up from there.  Thought about
> reassigning "at" to UID 24 and adding smmsp in as 25.  My inclination is
> that won't work, as the file properties point to the UID if memory serves,
> not the name so suddenly all the files "at" used to own would be owned by
> smmsp.  Probably safer to just pick an unused number.

try the useradd command, something such as:
groupadd -g 25 smmsp
useradd -u 25 -g 25 -s /bin/false -c smmsp

it's a lot of times easier then editing the files :)


> 
> >Myron knows more about the password/login stuff.
> 
> As an aside, if anybody is interested, go to
> http://www.juneau.lib.ak.us/cbj/jobs/webclass1.asp and click on the "Network
> Specialist - Closes 03/12/03" link.  Hope it's not stepping on anybody's
> toes by posting this...
> 
> ...Kevin
> -------------------
> Kevin Miller 
> CBJ MIS Dept.               Network Systems Administrator, Mail
> Administrator
> 155 South Seward Street     ph: (907) 586-0242
> Juneau, Alaska 99801        fax: (907 586-4500
> 
> ------------------------------------
> This is the Juneau-LUG mailing list.
> To unsubscribe, send an e-mail to juneau-lug-request@xxxxxxxxxxxxx with the 
> word unsubscribe in the subject header.

-- Attached file included as plaintext by Ecartis --

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE+YnpAnfM/KCuG6/IRAp7JAJ9QkEQVWjQY/i5JFFLrKZrCEPFVdgCgg22y
5A0wzaq+7PiebRBj6S3j0kw=
=Ruw1
-----END PGP SIGNATURE-----



------------------------------------
This is the Juneau-LUG mailing list.
To unsubscribe, send an e-mail to juneau-lug-request@xxxxxxxxxxxxx with the 
word unsubscribe in the subject header.

Other related posts: