brent saner on 25 Apr 2008 13:09:56 -0700


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

Re: [PLUG] logging/tailing ssh sessions


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Mark Baker wrote:
| <!-- /* Font Definitions */ @font-face {font-family:"Comic Sans MS";
| panose-1:3 15 7 2 3 3 2 2 2 4;} /* Style Definitions */ p.MsoNormal,
| li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt;
| font-size:12.0pt; font-family:"Times New Roman";} a:link,
| span.MsoHyperlink {color:blue; text-decoration:underline;}
| a:visited, span.MsoHyperlinkFollowed {color:purple;
| text-decoration:underline;} span.EmailStyle17
| {mso-style-type:personal-compose; font-family:"Comic Sans MS";
| color:windowtext; font-weight:normal; font-style:normal;
| text-decoration:none none;} @page Section1 {size:8.5in 11.0in;
| margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} -->
|
| I have a quick question.  If you want to watch an ssh session in
| real time is there an easy way to do this?  I’m thinking of a
| scenario where you give temporary access to a vendor or another
| user, but you want to keep an eye on what they are doing on the system.
|
|  
|
| Mark
|
|
| ----------------------------------------------------------------------

i'd set it up so they start a screen session when they log in, and
close it when they log out.

su as root, then su to their username, screen -x, done.

- --
brent saner.
gpg info at http://www.notebookarmy.org/gpg.txt
(this is a shorter sig.)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFIEjqP8u2Zh4MtlQoRA0T2AJ4xgKxtPUBzYM30AKDUrXaEWAt6ugCguqed
eQcokN8FeK4PpTXAIM+g8u0=
=YMPw
-----END PGP SIGNATURE-----

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug