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

  • From: James Zuelow <e5z8652@xxxxxxxxxx>
  • To: juneau-lug@xxxxxxxxxxxxx
  • Date: Thu, 27 Feb 2003 16:44:22 -0900


----- Original Message -----
From: "Kevin Miller" <Kevin_Miller@xxxxxxxxxxxxxxx>
To: <juneau-lug@xxxxxxxxxxxxx>

> 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.

Don't hand edit.  Use vipw and vigr.  OK, you still hand edit when using
these tools - just wanted to be sure.  These tools do some checks to make
sure you don't accidentally mangle the files.

> 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.
>
Hmm, maybe not.  Here's my list of SuSE 7.3 files owned by at (I'm home
now):

/var/spool/atjobs
/var/spool/atjobs/.SEQ
/var/spool/atspool

You could make the changes using vipw and vigr, then quickly chown the above
files.  I did a `find / -uid 25 -gid 25` to generate the list - yours may be
different.  I left off the pid file in /var/run.  But I'll bet your list
isn't much longer that this unless you have a lot of at jobs.

I checked for an at user/group on Debian 3.0, RedHat 7.2, and OpenBSD 3.0 &
3.2 - none of them had an at user, much less one with uid 25.

Cheers,

James


------------------------------------
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: