Open Directory Site  Advanced Unix Tutorials

Home | Windows 98 | Windows Me | Windows 2000 Windows XP | Unix | Advanced Unix

Home >> Operating Systems >> Advanced Unix >>PAGs at CAEN

PAGs at CAEN

The CAEN Xdm, remote login program, and klog -tmp -setpag command all give you a new PAG when they execute. Thus, each display login, each remote login using the remote login program, and each klog -tmp -setpag shell have their own sets of AFS privileges. If you log in using the rlogin or rsh commands, however, you are not given a new PAG, so your privileges are associated with the system PAG. This causes some potentially confusing effects:

 

  • If you log in using the Xdm program on a machine’s display and open two xterm windows, then use klog -tmp -setpag in one of the xterm windows; the unlog and klog commands given in one window will not affect the privileges you have in the other window.

  • If you log in using the Xdm program, and then log in to the same machine remotely, you will have different PAGs in the two login sessions, so your privileges for each login session will be independent.

  • If you start a program in a shell, then use klog -tmp -setpag in the same shell, the privileges you obtain after using this will not affect the privileges of the program you started previously because the klog -tmp -setpag command has created a new PAG.

  • For comparison, if you start a program in a shell, then use klog in the same shell, the privileges you obtain after using klog will affect the privileges of the program you started previously because the klog command does not create a new PAG.

 

It is highly recommended that readers of this section experiment with these examples, and verify the results predicted. This will familiarize you with how PAGs work, and may serve to explain otherwise bizarre behavior that you have seen before. All CAEN UNIX workstations have the Xdm program and the klog -tmp -setpag, klog, and unlog commands.

Cheap Web Hosting Articles - Web Site Design & Web Hosting Tutorials - Domain Hosting