Difference between Interactive and Non Interactive user id's

  • Follow


Hi can someone let me know the difference between the Interactive and
Non Interactive user id's?

per my understanding, interactive id is something which require access
to SHELL or execute from SHELL.


Thanks,
Naru
0
Reply nvuradi (4) 6/11/2009 4:35:03 PM

On Thu, 11 Jun 2009 09:35:03 -0700 (PDT), Naru <nvuradi@gmail.com> wrote:
> Hi can someone let me know the difference between the Interactive and
> Non Interactive user id's?

Never heard of the terms. Is it AIX-specific, given that you
multi-posted the question to comp.unix.aix?

Or maybe you mean (non)interactive shells?

/Jorgen

-- 
  // Jorgen Grahn <grahn@        Ph'nglui mglw'nafh Cthulhu
\X/     snipabacken.se>          R'lyeh wgah'nagl fhtagn!
0
Reply Jorgen 6/12/2009 9:20:43 AM


In article <61ffbfa2-7e87-4bd5-b7dd-65d961573117@h23g2000vbc.googlegroups.com>,
	Naru <nvuradi@gmail.com> writes:
> Hi can someone let me know the difference between the Interactive and
> Non Interactive user id's?
> 
> per my understanding, interactive id is something which require access
> to SHELL or execute from SHELL.

The difference may not be well-defined, depending on what you want to do.

Some of the following may not work on some more or less Unix-like environments.

If you can open /dev/tty, you have a controlling terminal, so you are
probably not a batch job (cron or at).

If you have the DISPLAY environment variable set, and XOpenDisplay() succeeds,
you have at least some minimal access to an X display.

Now...what do you want to do - control how an account can be used?  The
details will likely vary depending on the particular system; how to do that
on Linux (and maybe on different distros even) is probably different than
on Solaris or AIX or ...

Your question probably needs to be more specific about what you want to do,
and on what system you want to do it.

0
Reply rlhamil 6/20/2009 1:08:03 PM

2 Replies
973 Views

(page loaded in 0.009 seconds)

Similiar Articles:













7/23/2012 4:19:36 AM


Reply: