On Sat, 27 Jul 2002, Robert P. J. Day wrote:
> id: cannot print only names or real IDs in default format ()
id -run && id -ur
--
"The only thing that helps me maintain my slender grip on reality is the
friendship I share with my collection of singing potatoes."
On Sat, 2002-07-27 at 11:15, Brian Ashe wrote:
> Robert P. J. Day,
>
> On Saturday July 27, 2002 05:17, you said something about:
> > On Sat, 27 Jul 2002, Anthony E. Greene wrote:
> > > -BEGIN PGP SIGNED MESSAGE-
> > > Hash: SHA1
> > >
> > > On 26-Jul-2002/05:50 -0400, "Robert P. J. Day"
On Sat, 27 Jul 2002, Brian Ashe wrote:
> But to answer your original question...
>
> You could use the "logname" command to do a comparison like so...
sadly, "logname" under limbo also seems to be broken. sigh.
rday
Robert P. J. Day, RHCE, RHCI
Eno River Technologies, Chapel Hill NC
Unix, Li
Robert P. J. Day,
On Saturday July 27, 2002 05:17, you said something about:
> On Sat, 27 Jul 2002, Anthony E. Greene wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> >
> > On 26-Jul-2002/05:50 -0400, "Robert P. J. Day" <[EMAIL PROTECTED]>
wrote:
> > >while i'm thinking about it, i
On Sat, 27 Jul 2002, Anthony E. Greene wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 26-Jul-2002/05:50 -0400, "Robert P. J. Day" <[EMAIL PROTECTED]> wrote:
> >while i'm thinking about it, is there a way to get both
> >the real and effective user names/UIDs? in case someone
> >
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 26-Jul-2002/05:50 -0400, "Robert P. J. Day" <[EMAIL PROTECTED]> wrote:
>while i'm thinking about it, is there a way to get both
>the real and effective user names/UIDs? in case someone
>has "su"ed to root, is there a way to see the original
>login
On Fri, 26 Jul 2002, Robert P. J. Day wrote:
> while i'm thinking about it, is there a way to get both
> the real and effective user names/UIDs? in case someone
id -r
--
"The only thing that helps me maintain my slender grip on reality is the
friendship I share with my collection of singing p
use whoami or more specifically "VarName=`whoami`"
steve
> -Original Message-
> From: Matthew Melvin [mailto:[EMAIL PROTECTED]]
> Sent: 26 July 2002 03:35
> To: [EMAIL PROTECTED]
> Subject: Re: Shell Script...more
>
>
> On Thu, 25 Jul 2002 at
Hey,
I need to ask more questions, who would of thought..
Is there any way with a shell script to see what user it's being run as and
include that as a variable
So let's say.. the user: john runs it.. to have it in the script check and
see what user is running it, and then assigning that user