Re: Shell Script...more

2002-07-27 Thread Todd A. Jacobs
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."

Re: Shell Script...more

2002-07-27 Thread C. Linus Hicks
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"

Re: Shell Script...more

2002-07-27 Thread 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

Re: Shell Script...more

2002-07-27 Thread Brian Ashe
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

Re: Shell Script...more

2002-07-27 Thread Robert P. J. Day
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 > >

Re: Shell Script...more

2002-07-26 Thread Anthony E. Greene
-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

RE: Shell Script...more

2002-07-26 Thread Todd A. Jacobs
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

RE: Shell Script...more

2002-07-26 Thread Stephen_Reilly
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

Shell Script...more

2002-07-25 Thread Jesse Angell
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