[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: sendmail 8.9



Kevin_Saenz dell com wrote:
> 
> No what happens is when you run su you become root but with your
> environment settings, when you use su - you log in as root
> with root's environment settings. even if you logged in using
> su you can just run /usr/bin/setup
> or anyother file you don't really need to use ./ to run anything
> 
> > -----Original Message-----
> > From: M. Neidorff [mailto:neidorff bellatlantic net]
> > Sent: Monday, 6 March 2000 12:12
> > To: redhat-install-list redhat com
> > Subject: Re: sendmail 8.9
> >
> >
> > At 02:23 PM 03/05/2000 -0500, you wrote:
> > >Paul
> > >
> > >Login as root and run setup or as su cd /usr/sbin and run
> > ./setup (you
> > >must use the ./ to run it as su), select system services.
> > Scroll down
> > >until you find sendmail and select it with the space bar.
> >
> >
> > If I understand you correctly, when you use su, add a '-'
> > parameter.  Then
> > when you "become" root, you log into root's home directory
> > and get root's
> > environment so that if the file is in the path you don't have
> > to type the
> > './'.  That being said, it is an excellent security measure
> > to ALWAYS use
> > the full path to any program when running as root.
> >
> >
> >
> > Mark
> >                ___
> >              __HHH__
> >               (@ @)
> > --------.oOO--\_/--OOo.---------------------------------------------
> > | Mark Neidorff                |Descartes walks into a bar, the    |
> > | neidorff bellatlantic net    |bartender asks,"Can I get you a    |
> > | Just Answers!                |drink?"  Descartes replies,        |
> > | Computer Systems Solutions   |"I think not." --and he disappears.|
> > -------.ooo0-------0ooo.--------------------------------------------
> >         (   )       (   )
> >          \ (         ) /
> >           \_)       (_/
> >
> >
> > --
> > To unsubscribe: mail redhat-install-list-request redhat com with
> > "unsubscribe" as the Subject.
> >
> 
> --
> To unsubscribe: mail redhat-install-list-request redhat com with
> "unsubscribe" as the Subject.


Granted su - will work, but try to run a program that requrie a gui, and
you will get "cannot open display", so this is why I suggested su and
not su -.

Jim



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]