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

Re: [cobalt-users] identifying login by machine



thanks Mathew,
	I was unaware of the 'last' command.
I am going to use this in a shell script to regularly send me details of who has
logged in.

was thinking of regularly running a 'w' and logging but last does the trick.

will also check out  'sulog'

havent been able to find anything that i can use to uniqly identify the machine
logging in by a chip no etc.

so am firing up ssh and going on a learning curve.
best wishes
gerald y


On Sat, 14 Jul 2001, you wrote:
> To identify who has logged on from where and their current process type in w
> at the prompt
> 
> e.g.
> 
> [admin@raq01 admin]$ w
>  11:27am  up 102 days, 14:34,  1 user,  load average: 2.20, 2.19, 2.32
> USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU  WHAT
> admin    pts/0      123.123.123.00 11:27am  0.00s  0.15s  0.06s  w
> 
> as you will notice the w command also gives the uptime output
> 
> Also have a look at the 'last' command which gives you a history of who has
> logged on from where also sulog to see who lasted used the 'su' command.
> 
> Matthew Bowman
> Systems Administrator
> Universal Digital Communications, Inc.
> ----- Original Message -----
> From: "Sai Sivanesan" <sai@xxxxxxxxxxxxxx>
> To: <cobalt-users@xxxxxxxxxxxxxxx>
> Sent: Friday, July 13, 2001 10:53 AM
> Subject: Re: [cobalt-users] identifying login by machine
> 
> 
> > I've been wondering about this as well.  On my non-cobalt RH boxes we
> setup
> > hosts.deny to
> >
> > ALL:ALL EXCEPT valid IP,IP,IP
> >
> > Will this wreck anything on the cobalt side?
> >
> > Sai.
> >
> >
> > On 7/12/01 9:00 PM, "Gerald Young" <me@xxxxxxxxxxx> wrote:
> >
> > > Hello,
> > > After having our admin password plucked out of thin air so top speak we
> > > are getting paranoid.
> > > Going to spin up ssh but am wondering id there is a way to identify a
> login -
> > > telnet or ftp
> > > by the machine logging in so we can allow access to only certain boxes.
> > >
> > > Does anyone have any knowledge of this sort of procedure am running a
> raq3
> > > best wishes gerald.
> > >
> > >
> > >
> > > _______________________________________________
> > > cobalt-users mailing list
> > > cobalt-users@xxxxxxxxxxxxxxx
> > > To Subscribe or Unsubscribe, please go to:
> > > http://list.cobalt.com/mailman/listinfo/cobalt-users
> > >
> >
> > _______________________________________________
> > cobalt-users mailing list
> > cobalt-users@xxxxxxxxxxxxxxx
> > To Subscribe or Unsubscribe, please go to:
> > http://list.cobalt.com/mailman/listinfo/cobalt-users
> >
> 
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users