public inbox for blinux-list@redhat.com
 help / color / mirror / Atom feed
* Re: A Bunch of Questions
       [not found] <Pine.LNX.4.33.0112121433150.917-100000@mawimain7-224.dsl.t ds.net>
@  ` Brent Harding
     ` John J. Boyer
       [not found]   ` <Pine.LNX.4.33.0112121705090.1023-100000@mawimain7-224.dsl. tds.net>
  0 siblings, 2 replies; 21+ messages in thread
From: Brent Harding @  UTC (permalink / raw)
  To: blinux-list

The only issue is you have the x-sender thing as your long isp address. I
really kind of hate that about not running your own server on the domain,
as maybe I don't want everyone to know who my isp is off the email message.
At 02:38 PM 12/12/01 -0600, you wrote:
>Hello,
>Well, I threw in the towel and just created a new user for the director
>e-mail address, so I hope this goes through to the list. I wonder why
>logging in with an address other than your login name is considered a
>security risk.
>Here are some other questions.
>How do I delete a user?
>How do I stop a running daemon like fetchmail without rebooting?
>How can I transfer the messages in the inbox of one use to the inbox of
>another?
>Thanks.
>John
>
>
>
>
>_______________________________________________
>Blinux-list mailing list
>Blinux-list@redhat.com
>https://listman.redhat.com/mailman/listinfo/blinux-list
>
>




^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: A Bunch of Questions
   ` A Bunch of Questions Brent Harding
@    ` John J. Boyer
       [not found]   ` <Pine.LNX.4.33.0112121705090.1023-100000@mawimain7-224.dsl. tds.net>
  1 sibling, 0 replies; 21+ messages in thread
From: John J. Boyer @  UTC (permalink / raw)
  To: blinux-list

Brent,
Please explain what the long x-sender string is and how I can get rid of
it. I don't see it on the messages that are returned to me.
Thanks.
John
On Wed, 12 Dec
2001, Brent Harding wrote:

> The only issue is you have the x-sender thing as your long isp address. I
> really kind of hate that about not running your own server on the domain,
> as maybe I don't want everyone to know who my isp is off the email message.
> At 02:38 PM 12/12/01 -0600, you wrote:
> >Hello,
> >Well, I threw in the towel and just created a new user for the director
> >e-mail address, so I hope this goes through to the list. I wonder why
> >logging in with an address other than your login name is considered a
> >security risk.
> >Here are some other questions.
> >How do I delete a user?
> >How do I stop a running daemon like fetchmail without rebooting?
> >How can I transfer the messages in the inbox of one use to the inbox of
> >another?
> >Thanks.
> >John
> >
> >
> >
> >
> >_______________________________________________
> >Blinux-list mailing list
> >Blinux-list@redhat.com
> >https://listman.redhat.com/mailman/listinfo/blinux-list
> >
> >
>
>
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/blinux-list
>




^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: A Bunch of Questions
       [not found]   ` <Pine.LNX.4.33.0112121705090.1023-100000@mawimain7-224.dsl. tds.net>
@      ` Brent Harding
         ` Mail header problems (was: Re: A Bunch of Questions) L. C. Robinson
  0 siblings, 1 reply; 21+ messages in thread
From: Brent Harding @  UTC (permalink / raw)
  To: blinux-list

Well, I don't know how to get rid of it without changing stuff in sendmail
to rewrite, but if I look up in the headers towards the top this is what it
says.
X-X-Sender:  <director@mawimain7-224.dsl.tds.net>

At 05:06 PM 12/12/01 -0600, you wrote:
>Brent,
>Please explain what the long x-sender string is and how I can get rid of
>it. I don't see it on the messages that are returned to me.
>Thanks.
>John
>On Wed, 12 Dec
>2001, Brent Harding wrote:
>
>> The only issue is you have the x-sender thing as your long isp address. I
>> really kind of hate that about not running your own server on the domain,
>> as maybe I don't want everyone to know who my isp is off the email message.
>> At 02:38 PM 12/12/01 -0600, you wrote:
>> >Hello,
>> >Well, I threw in the towel and just created a new user for the director
>> >e-mail address, so I hope this goes through to the list. I wonder why
>> >logging in with an address other than your login name is considered a
>> >security risk.
>> >Here are some other questions.
>> >How do I delete a user?
>> >How do I stop a running daemon like fetchmail without rebooting?
>> >How can I transfer the messages in the inbox of one use to the inbox of
>> >another?
>> >Thanks.
>> >John
>> >
>> >
>> >
>> >
>> >_______________________________________________
>> >Blinux-list mailing list
>> >Blinux-list@redhat.com
>> >https://listman.redhat.com/mailman/listinfo/blinux-list
>> >
>> >
>>
>>
>>
>> _______________________________________________
>> Blinux-list mailing list
>> Blinux-list@redhat.com
>> https://listman.redhat.com/mailman/listinfo/blinux-list
>>
>
>
>
>_______________________________________________
>Blinux-list mailing list
>Blinux-list@redhat.com
>https://listman.redhat.com/mailman/listinfo/blinux-list
>
>




^ permalink raw reply	[flat|nested] 21+ messages in thread

* Mail header problems (was: Re: A Bunch of Questions)
       ` Brent Harding
@        ` L. C. Robinson
           ` Brent Harding
  0 siblings, 1 reply; 21+ messages in thread
From: L. C. Robinson @  UTC (permalink / raw)
  To: blinux-list

Well no one wants to see all the crap in the full headers, so
they are almost always turned off, unless there is some problem
with getting things through.  All kinds of virtual hosting and
masqing is so routine, that it doesn't even matter, really.  Your
ISP and the other mail relays are going to make sure that such
things are there anyway, and there's little you can do about it:
would you really want to have problems tracing the source of a
transport problem (and they do happen)?

Save yourself a lot of grief, and leave the mail header munging
stuff to the spammers.  You'll come to appreciate the extra info
with time, when it's needed.  Mostly, people will never notice,
unless you spam them.  If you do screw with the headers enough to
keep the spam filters from authenticating your stuff, you will
find various sites dropping and bouncing your mail.  Without such
filters the internet would quickly become unusable, with the
flood of trash.

LCR

On Wed, 12 Dec 2001, Brent Harding wrote:

> Well, I don't know how to get rid of it without changing stuff
> in sendmail to rewrite, but if I look up in the headers towards
> the top this is what it says.

> X-X-Sender:  <director@mawimain7-224.dsl.tds.net>
> 
> At 05:06 PM 12/12/01 -0600, you wrote:
> >Please explain what the long x-sender string is and how I can
> >get rid of it. I don't see it on the messages that are
> >returned to me.

-- 
L. C. Robinson
reply to no_spam+munged_lcr@onewest.net.invalid





^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Mail header problems (was: Re: A Bunch of Questions)
         ` Mail header problems (was: Re: A Bunch of Questions) L. C. Robinson
@          ` Brent Harding
  0 siblings, 0 replies; 21+ messages in thread
From: Brent Harding @  UTC (permalink / raw)
  To: blinux-list

So, is it possible to eliminate x-sender junk in your mail, if in fact you
run your own linux machine for you're domain and want no mention of any
other domain? Not everyone's mail has stuff like this in.
At 10:54 PM 12/12/01 -0700, you wrote:
>Well no one wants to see all the crap in the full headers, so
>they are almost always turned off, unless there is some problem
>with getting things through.  All kinds of virtual hosting and
>masqing is so routine, that it doesn't even matter, really.  Your
>ISP and the other mail relays are going to make sure that such
>things are there anyway, and there's little you can do about it:
>would you really want to have problems tracing the source of a
>transport problem (and they do happen)?
>
>Save yourself a lot of grief, and leave the mail header munging
>stuff to the spammers.  You'll come to appreciate the extra info
>with time, when it's needed.  Mostly, people will never notice,
>unless you spam them.  If you do screw with the headers enough to
>keep the spam filters from authenticating your stuff, you will
>find various sites dropping and bouncing your mail.  Without such
>filters the internet would quickly become unusable, with the
>flood of trash.
>
>LCR
>
>On Wed, 12 Dec 2001, Brent Harding wrote:
>
>> Well, I don't know how to get rid of it without changing stuff
>> in sendmail to rewrite, but if I look up in the headers towards
>> the top this is what it says.
>
>> X-X-Sender:  <director@mawimain7-224.dsl.tds.net>
>> 
>> At 05:06 PM 12/12/01 -0600, you wrote:
>> >Please explain what the long x-sender string is and how I can
>> >get rid of it. I don't see it on the messages that are
>> >returned to me.
>
>-- 
>L. C. Robinson
>reply to no_spam+munged_lcr@onewest.net.invalid
>
>
>
>
>_______________________________________________
>Blinux-list mailing list
>Blinux-list@redhat.com
>https://listman.redhat.com/mailman/listinfo/blinux-list
>
>




^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: A Bunch of Questions
             ` Rafael
@              ` Brent Harding
  0 siblings, 0 replies; 21+ messages in thread
From: Brent Harding @  UTC (permalink / raw)
  To: blinux-list

The one thing rh does do is offer to fix up the permissions when you name
change, move the home directory, I believe.
At 12:37 PM 12/13/01 -0800, you wrote:
>On Wed, Dec 12, 2001 at 08:32:36PM -0700, L. C. Robinson wrote:
>> On Wed, 12 Dec 2001, Rafael wrote:
>> 
>> > On Wed, Dec 12, 2001 at 03:42:38PM -0700, L. C. Robinson wrote:
>> > > It seems to me that it would be much easier to just change
>> > > the username on such an account.  Do: man usermod for
>> > > details.
>> > 
>> > That won't take care of user's mailbox name and it's
>> > permissions nor it will change the ownership of files in user's
>> > home dir as far as I know. At least it won't work that way in
>> > all versions of Unix.
>> 
>> On the contrary.  The filesystem does not store user names in the
>> directory structure.  Do "ls -ln" on your home dir, to see what
>> there really is.  Now do "id", to see what your id numbers are.
>> So when you change a username, it just changes the appropriate
>> mapping table (/etc/passwd), which file utilities like "ls" use.
>> Now, if you want to change user id numbers -- that can get hairy;
>> but there are automated ways to do that too.  And take my word
>> for it, that IS standard Unixen behavior.
>
>File names are stored in the directory structure. One file keeps names of
>files in a directory. Where else do you think they reside? Hard drive
>brackets? ;-)  In Unix everything is treated as "files"  including
>hardware devices. Changing user ID numbers is trivial, one command 
>line.
>
>You need to rename the mailbox file manualy otherwise it won't belong to
>the right owner as far as MTA is concerned. As far as I know, tools that
>change the login name won't touch other things like mailboxes which is 
>good.
>
>If you change name only in the passwd file then yes, you do not need to
>change the ownership of the home directory. However, you were 
>talking about adduser command before usermod which would create a 
>new user with different UID.
>
>In any case you'll run into some issues if files in home diretory have
>been customized for a particular user based on the login name and you
>change the name so some handwork will be needed. X windows managers setup
>is one of them.
>
>As always, in Unix there is more than one way to do things.
>
>> 
>> BTW, I was reading the new Red Hat manuals about the new sysadmin
>> utilities last night, and I was impressed.  They have some very
>> readable tutorials, much of which would apply to any
>> distribution, particularly the text mode utilities, and it is all
>> available online at their website for free.  In particular, you
>> would want to look at the new Red Hat Customization Guide, which
>> includes the Kickstart chapters I was originally interested in,
>> for the recent enhancements (you saw some quotes from it in my
>> recent posts about kickstart).  I've been using Unix and then
>> linux for nearly 20 years, and I'm still learning new stuff from
>> well written guides like that.
>
>My first Unix experience was on HP workstations in 1982.
>
>> 
>> LCR
>> 
>> -- 
>> L. C. Robinson
>> reply to no_spam+munged_lcr@onewest.net.invalid
>
>
>-- 
>Rafael
>
>
>
>_______________________________________________
>Blinux-list mailing list
>Blinux-list@redhat.com
>https://listman.redhat.com/mailman/listinfo/blinux-list
>
>




^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: A Bunch of Questions
           ` L. C. Robinson
             ` Brent Harding
             ` Mike Gorse
@            ` Rafael
               ` Brent Harding
  2 siblings, 1 reply; 21+ messages in thread
From: Rafael @  UTC (permalink / raw)
  To: blinux-list

On Wed, Dec 12, 2001 at 08:32:36PM -0700, L. C. Robinson wrote:
> On Wed, 12 Dec 2001, Rafael wrote:
> 
> > On Wed, Dec 12, 2001 at 03:42:38PM -0700, L. C. Robinson wrote:
> > > It seems to me that it would be much easier to just change
> > > the username on such an account.  Do: man usermod for
> > > details.
> > 
> > That won't take care of user's mailbox name and it's
> > permissions nor it will change the ownership of files in user's
> > home dir as far as I know. At least it won't work that way in
> > all versions of Unix.
> 
> On the contrary.  The filesystem does not store user names in the
> directory structure.  Do "ls -ln" on your home dir, to see what
> there really is.  Now do "id", to see what your id numbers are.
> So when you change a username, it just changes the appropriate
> mapping table (/etc/passwd), which file utilities like "ls" use.
> Now, if you want to change user id numbers -- that can get hairy;
> but there are automated ways to do that too.  And take my word
> for it, that IS standard Unixen behavior.

File names are stored in the directory structure. One file keeps names of
files in a directory. Where else do you think they reside? Hard drive
brackets? ;-)  In Unix everything is treated as "files"  including
hardware devices. Changing user ID numbers is trivial, one command 
line.

You need to rename the mailbox file manualy otherwise it won't belong to
the right owner as far as MTA is concerned. As far as I know, tools that
change the login name won't touch other things like mailboxes which is 
good.

If you change name only in the passwd file then yes, you do not need to
change the ownership of the home directory. However, you were 
talking about adduser command before usermod which would create a 
new user with different UID.

In any case you'll run into some issues if files in home diretory have
been customized for a particular user based on the login name and you
change the name so some handwork will be needed. X windows managers setup
is one of them.

As always, in Unix there is more than one way to do things.

> 
> BTW, I was reading the new Red Hat manuals about the new sysadmin
> utilities last night, and I was impressed.  They have some very
> readable tutorials, much of which would apply to any
> distribution, particularly the text mode utilities, and it is all
> available online at their website for free.  In particular, you
> would want to look at the new Red Hat Customization Guide, which
> includes the Kickstart chapters I was originally interested in,
> for the recent enhancements (you saw some quotes from it in my
> recent posts about kickstart).  I've been using Unix and then
> linux for nearly 20 years, and I'm still learning new stuff from
> well written guides like that.

My first Unix experience was on HP workstations in 1982.

> 
> LCR
> 
> -- 
> L. C. Robinson
> reply to no_spam+munged_lcr@onewest.net.invalid


-- 
Rafael




^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: A Bunch of Questions
           ` L. C. Robinson
             ` Brent Harding
@            ` Mike Gorse
             ` Rafael
  2 siblings, 0 replies; 21+ messages in thread
From: Mike Gorse @  UTC (permalink / raw)
  To: blinux-list

On Wed, 12 Dec 2001, L. C. Robinson wrote:

> On the contrary.  The filesystem does not store user names in the
> directory structure.  Do "ls -ln" on your home dir, to see what
> there really is.  Now do "id", to see what your id numbers are.

Mailboxes are stored as files with the same name as the userid, at least
when using sendmail, so it may still be necessary to ensure that old mail
is preserved.





^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: A Bunch of Questions
           ` L. C. Robinson
@            ` Brent Harding
             ` Mike Gorse
             ` Rafael
  2 siblings, 0 replies; 21+ messages in thread
From: Brent Harding @  UTC (permalink / raw)
  To: blinux-list

Cool, what sysadmin utils, where do I get them? All that's around now is
linuxconf, powerful, but not everything common by far, although it'll do
virtual pop automatically, and manage sendmail, a bear to do by hand.
At 08:32 PM 12/12/01 -0700, you wrote:
>On Wed, 12 Dec 2001, Rafael wrote:
>
>> On Wed, Dec 12, 2001 at 03:42:38PM -0700, L. C. Robinson wrote:
>> > It seems to me that it would be much easier to just change
>> > the username on such an account.  Do: man usermod for
>> > details.
>> 
>> That won't take care of user's mailbox name and it's
>> permissions nor it will change the ownership of files in user's
>> home dir as far as I know. At least it won't work that way in
>> all versions of Unix.
>
>On the contrary.  The filesystem does not store user names in the
>directory structure.  Do "ls -ln" on your home dir, to see what
>there really is.  Now do "id", to see what your id numbers are.
>So when you change a username, it just changes the appropriate
>mapping table (/etc/passwd), which file utilities like "ls" use.
>Now, if you want to change user id numbers -- that can get hairy;
>but there are automated ways to do that too.  And take my word
>for it, that IS standard Unixen behavior.
>
>BTW, I was reading the new Red Hat manuals about the new sysadmin
>utilities last night, and I was impressed.  They have some very
>readable tutorials, much of which would apply to any
>distribution, particularly the text mode utilities, and it is all
>available online at their website for free.  In particular, you
>would want to look at the new Red Hat Customization Guide, which
>includes the Kickstart chapters I was originally interested in,
>for the recent enhancements (you saw some quotes from it in my
>recent posts about kickstart).  I've been using Unix and then
>linux for nearly 20 years, and I'm still learning new stuff from
>well written guides like that.
>
>LCR
>
>-- 
>L. C. Robinson
>reply to no_spam+munged_lcr@onewest.net.invalid
>
>
>
>_______________________________________________
>Blinux-list mailing list
>Blinux-list@redhat.com
>https://listman.redhat.com/mailman/listinfo/blinux-list
>
>




^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: A Bunch of Questions
         ` Rafael
           ` Brent Harding
@          ` L. C. Robinson
             ` Brent Harding
                             ` (2 more replies)
  1 sibling, 3 replies; 21+ messages in thread
From: L. C. Robinson @  UTC (permalink / raw)
  To: blinux-list

On Wed, 12 Dec 2001, Rafael wrote:

> On Wed, Dec 12, 2001 at 03:42:38PM -0700, L. C. Robinson wrote:
> > It seems to me that it would be much easier to just change
> > the username on such an account.  Do: man usermod for
> > details.
> 
> That won't take care of user's mailbox name and it's
> permissions nor it will change the ownership of files in user's
> home dir as far as I know. At least it won't work that way in
> all versions of Unix.

On the contrary.  The filesystem does not store user names in the
directory structure.  Do "ls -ln" on your home dir, to see what
there really is.  Now do "id", to see what your id numbers are.
So when you change a username, it just changes the appropriate
mapping table (/etc/passwd), which file utilities like "ls" use.
Now, if you want to change user id numbers -- that can get hairy;
but there are automated ways to do that too.  And take my word
for it, that IS standard Unixen behavior.

BTW, I was reading the new Red Hat manuals about the new sysadmin
utilities last night, and I was impressed.  They have some very
readable tutorials, much of which would apply to any
distribution, particularly the text mode utilities, and it is all
available online at their website for free.  In particular, you
would want to look at the new Red Hat Customization Guide, which
includes the Kickstart chapters I was originally interested in,
for the recent enhancements (you saw some quotes from it in my
recent posts about kickstart).  I've been using Unix and then
linux for nearly 20 years, and I'm still learning new stuff from
well written guides like that.

LCR

-- 
L. C. Robinson
reply to no_spam+munged_lcr@onewest.net.invalid




^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: A Bunch of Questions
         ` Rafael
@          ` Brent Harding
           ` L. C. Robinson
  1 sibling, 0 replies; 21+ messages in thread
From: Brent Harding @  UTC (permalink / raw)
  To: blinux-list

Linuxconf does the trick nicely, figure it's an old habit to use from the
gui days, nice and easy until I learn proper ways of doing it. 
At 03:38 PM 12/12/01 -0800, you wrote:
>On Wed, Dec 12, 2001 at 03:42:38PM -0700, L. C. Robinson wrote:
>> It seems to me that it would be much easier to just change the
>> username on such an account.  Do:
>> man usermod
>> for details.
>
>That won't take care of user's mailbox name and it's permissions nor it
>will change the ownership of files in user's home dir as far as I know. At
>least it won't work that way in all versions of Unix.
>
>> 
>> LCR
>> 
>> On Wed, 12 Dec 2001, Rafael wrote:
>> 
>> > On Wed, Dec 12, 2001 at 03:44:15PM -0500, Dave Mielke wrote:
>> > > [quoted lines by John J. Boyer on December 12, 2001, at 14:38]
>> > > 
>> > ..... deleted
>> > 
>> > > 
>> > > >How do I delete a user?
>> > > 
>> > > userdel old-user-name
>> > > 
>> > > >How do I stop a running daemon like fetchmail without rebooting?
>> > > 
>> > > killall fetchmail
>> > > 
>> > > >How can I transfer the messages in the inbox of one use to the
inbox of
>> > > >another?
>> > > 
>> > > cd /var/spool/mail
>> > > cat old-user-name >>new-user-name
>> > > rm old-user-name
>> > 
>> > A safer way to move email is to stop mail daemon,
>> > 
>> > mv old-user-name new-user-name
>> > chown new-user-name.new-user-name new-user-name
>> > 
>> > that is, change the ownership to new user otherwise you won't be able to
>> > read it and restart the mail server. If you do it otherwise your cat
>> > command could mess the email box if MTA was writing into it at the same
>> > time.
>> > 
>> > > 
>> > > Note the two right angle brackets before new-user-name in the cat
command. This
>> > > is important. It means append. If you only put one of them there
then existing
>> > > messages for new-user-name will be deleted as the whole file will be
replaced.
>> > > 
>> 
>> -- 
>> L. C. Robinson
>> reply to no_spam+munged_lcr@onewest.net.invalid
>> 
>> People buy MicroShaft for compatibility, but get incompatibility and
>> instability instead.  This is award winning "innovation".  Find
>> out how MS holds your data hostage with "The *Lens*"; see
>> "CyberSnare" at http://www.netaction.org/msoft/cybersnare.html
>
>-- 
>Rafael
>
>
>
>_______________________________________________
>Blinux-list mailing list
>Blinux-list@redhat.com
>https://listman.redhat.com/mailman/listinfo/blinux-list
>
>




^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: A Bunch of Questions
       ` Rafael
@        ` Brent Harding
  0 siblings, 0 replies; 21+ messages in thread
From: Brent Harding @  UTC (permalink / raw)
  To: blinux-list

You could install linuxconf, and add/delete/modify users there too, easier
than knowing a bunch of switches and options.
At 01:34 PM 12/12/01 -0800, you wrote:
>On Wed, Dec 12, 2001 at 03:34:33PM -0600, John J. Boyer wrote:
>> Dave,
>> Thanks for your information. However, my Redhat 7.1 sustem doesn't seem to
>> have a userdel command.
>
>Have you tried
>/usr/sbin/userdel
>
>It must be there. Mine has it.
>
>> Thanks.
>> John
>
>-- 
>Rafael
>
>
>
>_______________________________________________
>Blinux-list mailing list
>Blinux-list@redhat.com
>https://listman.redhat.com/mailman/listinfo/blinux-list
>
>




^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: A Bunch of Questions
       ` L. C. Robinson
@        ` Rafael
           ` Brent Harding
           ` L. C. Robinson
  0 siblings, 2 replies; 21+ messages in thread
From: Rafael @  UTC (permalink / raw)
  To: blinux-list

On Wed, Dec 12, 2001 at 03:42:38PM -0700, L. C. Robinson wrote:
> It seems to me that it would be much easier to just change the
> username on such an account.  Do:
> man usermod
> for details.

That won't take care of user's mailbox name and it's permissions nor it
will change the ownership of files in user's home dir as far as I know. At
least it won't work that way in all versions of Unix.

> 
> LCR
> 
> On Wed, 12 Dec 2001, Rafael wrote:
> 
> > On Wed, Dec 12, 2001 at 03:44:15PM -0500, Dave Mielke wrote:
> > > [quoted lines by John J. Boyer on December 12, 2001, at 14:38]
> > > 
> > ..... deleted
> > 
> > > 
> > > >How do I delete a user?
> > > 
> > > userdel old-user-name
> > > 
> > > >How do I stop a running daemon like fetchmail without rebooting?
> > > 
> > > killall fetchmail
> > > 
> > > >How can I transfer the messages in the inbox of one use to the inbox of
> > > >another?
> > > 
> > > cd /var/spool/mail
> > > cat old-user-name >>new-user-name
> > > rm old-user-name
> > 
> > A safer way to move email is to stop mail daemon,
> > 
> > mv old-user-name new-user-name
> > chown new-user-name.new-user-name new-user-name
> > 
> > that is, change the ownership to new user otherwise you won't be able to
> > read it and restart the mail server. If you do it otherwise your cat
> > command could mess the email box if MTA was writing into it at the same
> > time.
> > 
> > > 
> > > Note the two right angle brackets before new-user-name in the cat command. This
> > > is important. It means append. If you only put one of them there then existing
> > > messages for new-user-name will be deleted as the whole file will be replaced.
> > > 
> 
> -- 
> L. C. Robinson
> reply to no_spam+munged_lcr@onewest.net.invalid
> 
> People buy MicroShaft for compatibility, but get incompatibility and
> instability instead.  This is award winning "innovation".  Find
> out how MS holds your data hostage with "The *Lens*"; see
> "CyberSnare" at http://www.netaction.org/msoft/cybersnare.html

-- 
Rafael




^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: A Bunch of Questions
     ` John J. Boyer
       ` Rafael
       ` Dave Mielke
@      ` John J. Boyer
  2 siblings, 0 replies; 21+ messages in thread
From: John J. Boyer @  UTC (permalink / raw)
  To: blinux-list

Dave,
Oops! My fingers must have had a systematic error. the userdel command
works fine.
John

On Wed, 12 Dec 2001, John J. Boyer wrote:

> Dave,
> Thanks for your information. However, my Redhat 7.1 sustem doesn't seem to
> have a userdel command.
> Thanks.
> John
>
>
>
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/blinux-list
>




^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: A Bunch of Questions
     ` Rafael
@      ` L. C. Robinson
         ` Rafael
  0 siblings, 1 reply; 21+ messages in thread
From: L. C. Robinson @  UTC (permalink / raw)
  To: blinux-list

It seems to me that it would be much easier to just change the
username on such an account.  Do:
man usermod
for details.

LCR

On Wed, 12 Dec 2001, Rafael wrote:

> On Wed, Dec 12, 2001 at 03:44:15PM -0500, Dave Mielke wrote:
> > [quoted lines by John J. Boyer on December 12, 2001, at 14:38]
> > 
> ..... deleted
> 
> > 
> > >How do I delete a user?
> > 
> > userdel old-user-name
> > 
> > >How do I stop a running daemon like fetchmail without rebooting?
> > 
> > killall fetchmail
> > 
> > >How can I transfer the messages in the inbox of one use to the inbox of
> > >another?
> > 
> > cd /var/spool/mail
> > cat old-user-name >>new-user-name
> > rm old-user-name
> 
> A safer way to move email is to stop mail daemon,
> 
> mv old-user-name new-user-name
> chown new-user-name.new-user-name new-user-name
> 
> that is, change the ownership to new user otherwise you won't be able to
> read it and restart the mail server. If you do it otherwise your cat
> command could mess the email box if MTA was writing into it at the same
> time.
> 
> > 
> > Note the two right angle brackets before new-user-name in the cat command. This
> > is important. It means append. If you only put one of them there then existing
> > messages for new-user-name will be deleted as the whole file will be replaced.
> > 

-- 
L. C. Robinson
reply to no_spam+munged_lcr@onewest.net.invalid

People buy MicroShaft for compatibility, but get incompatibility and
instability instead.  This is award winning "innovation".  Find
out how MS holds your data hostage with "The *Lens*"; see
"CyberSnare" at http://www.netaction.org/msoft/cybersnare.html




^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: A Bunch of Questions
     ` John J. Boyer
       ` Rafael
@      ` Dave Mielke
       ` John J. Boyer
  2 siblings, 0 replies; 21+ messages in thread
From: Dave Mielke @  UTC (permalink / raw)
  To: blinux-list

[quoted lines by John J. Boyer on December 12, 2001, at 15:34]

>my Redhat 7.1 sustem doesn't seem to
>have a userdel command.

It should be in /usr/sbin, which might not be in your search path. In addition,
check that you have the shadow-utils rpm.

-- 
Dave Mielke           | 2213 Fox Crescent | I believe that the Bible is the
Phone: 1-613-726-0014 | Ottawa, Ontario   | Word of God. Please contact me
EMail: dave@mielke.cc | Canada  K2A 1H7   | if you're concerned about Hell.




^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: A Bunch of Questions
   ` Dave Mielke
     ` Rafael
@    ` John J. Boyer
       ` Rafael
                       ` (2 more replies)
  1 sibling, 3 replies; 21+ messages in thread
From: John J. Boyer @  UTC (permalink / raw)
  To: blinux-list

Dave,
Thanks for your information. However, my Redhat 7.1 sustem doesn't seem to
have a userdel command.
Thanks.
John





^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: A Bunch of Questions
     ` John J. Boyer
@      ` Rafael
         ` Brent Harding
       ` Dave Mielke
       ` John J. Boyer
  2 siblings, 1 reply; 21+ messages in thread
From: Rafael @  UTC (permalink / raw)
  To: blinux-list

On Wed, Dec 12, 2001 at 03:34:33PM -0600, John J. Boyer wrote:
> Dave,
> Thanks for your information. However, my Redhat 7.1 sustem doesn't seem to
> have a userdel command.

Have you tried
/usr/sbin/userdel

It must be there. Mine has it.

> Thanks.
> John

-- 
Rafael




^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: A Bunch of Questions
   ` Dave Mielke
@    ` Rafael
       ` L. C. Robinson
     ` John J. Boyer
  1 sibling, 1 reply; 21+ messages in thread
From: Rafael @  UTC (permalink / raw)
  To: blinux-list

On Wed, Dec 12, 2001 at 03:44:15PM -0500, Dave Mielke wrote:
> [quoted lines by John J. Boyer on December 12, 2001, at 14:38]
> 
..... deleted

> 
> >How do I delete a user?
> 
> userdel old-user-name
> 
> >How do I stop a running daemon like fetchmail without rebooting?
> 
> killall fetchmail
> 
> >How can I transfer the messages in the inbox of one use to the inbox of
> >another?
> 
> cd /var/spool/mail
> cat old-user-name >>new-user-name
> rm old-user-name

A safer way to move email is to stop mail daemon,

mv old-user-name new-user-name
chown new-user-name.new-user-name new-user-name

that is, change the ownership to new user otherwise you won't be able to
read it and restart the mail server. If you do it otherwise your cat
command could mess the email box if MTA was writing into it at the same
time.

> 
> Note the two right angle brackets before new-user-name in the cat command. This
> is important. It means append. If you only put one of them there then existing
> messages for new-user-name will be deleted as the whole file will be replaced.
> 
> -- 
> Dave Mielke           | 2213 Fox Crescent | I believe that the Bible is the
> Phone: 1-613-726-0014 | Ottawa, Ontario   | Word of God. Please contact me
> EMail: dave@mielke.cc | Canada  K2A 1H7   | if you're concerned about Hell.

-- 
Rafael




^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: A Bunch of Questions
   A Bunch of Questions John J. Boyer
@  ` Dave Mielke
     ` Rafael
     ` John J. Boyer
  0 siblings, 2 replies; 21+ messages in thread
From: Dave Mielke @  UTC (permalink / raw)
  To: blinux-list

[quoted lines by John J. Boyer on December 12, 2001, at 14:38]

>I wonder why
>logging in with an address other than your login name is considered a
>security risk.

Because you can lie about who you are. You're used to the Windows world where
anyone is free to do that all of the time. It's not really a good idea to allow
it though. For those companies and organizations who don't allow their users to
have root access, and who do care a lot about accountability, it's a good
constraint.

>How do I delete a user?

userdel old-user-name

>How do I stop a running daemon like fetchmail without rebooting?

killall fetchmail

>How can I transfer the messages in the inbox of one use to the inbox of
>another?

cd /var/spool/mail
cat old-user-name >>new-user-name
rm old-user-name

Note the two right angle brackets before new-user-name in the cat command. This
is important. It means append. If you only put one of them there then existing
messages for new-user-name will be deleted as the whole file will be replaced.

-- 
Dave Mielke           | 2213 Fox Crescent | I believe that the Bible is the
Phone: 1-613-726-0014 | Ottawa, Ontario   | Word of God. Please contact me
EMail: dave@mielke.cc | Canada  K2A 1H7   | if you're concerned about Hell.




^ permalink raw reply	[flat|nested] 21+ messages in thread

* A Bunch of Questions
@  John J. Boyer
   ` Dave Mielke
  0 siblings, 1 reply; 21+ messages in thread
From: John J. Boyer @  UTC (permalink / raw)
  To: blinux-list

Hello,
Well, I threw in the towel and just created a new user for the director
e-mail address, so I hope this goes through to the list. I wonder why
logging in with an address other than your login name is considered a
security risk.
Here are some other questions.
How do I delete a user?
How do I stop a running daemon like fetchmail without rebooting?
How can I transfer the messages in the inbox of one use to the inbox of
another?
Thanks.
John





^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <Pine.LNX.4.33.0112121433150.917-100000@mawimain7-224.dsl.t ds.net>
 ` A Bunch of Questions Brent Harding
   ` John J. Boyer
     [not found]   ` <Pine.LNX.4.33.0112121705090.1023-100000@mawimain7-224.dsl. tds.net>
     ` Brent Harding
       ` Mail header problems (was: Re: A Bunch of Questions) L. C. Robinson
         ` Brent Harding
 A Bunch of Questions John J. Boyer
 ` Dave Mielke
   ` Rafael
     ` L. C. Robinson
       ` Rafael
         ` Brent Harding
         ` L. C. Robinson
           ` Brent Harding
           ` Mike Gorse
           ` Rafael
             ` Brent Harding
   ` John J. Boyer
     ` Rafael
       ` Brent Harding
     ` Dave Mielke
     ` John J. Boyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).