Technical article 104956

Supplemental groups are not set when using a remote scoterm(X) or xterm(X).

OpenServer 5.0.0

Written · Last revised

Problem

When using rcmd(TC) to start a remote scoterm(X) or xterm(X), supplemental groups do not appear to be set; running "id -s" no longer displays a user's supplemental groups.

Cause

Supplemental groups are normally set by login(M) when a user
logs in.  However, rcmd(TC) does not use login(M), and therefore
the supplemental groups are not set.

Solution

sg(C) (set groups) can be run using rcmd(C) to set the supplemental groups, and then run the scoterm(X)/xterm(X).

For example, if the user "auser" is a member of the groups agroup, mail, and network, the following rcmd(TC) could be used:

rcmd <remote> 'sg -a agroup,mail,network -c "scoterm -display <local>:0"'

where <remote> is the remote system name, and <local> is the system name where the X server is running (usually the local system).

See also

sg(C) rcmd(TC) id(C) scoterm(X) xterm(X) Xsco(X)

From the Xinuos technical article database, record 104956. Reproduced with permission. The original is at www.sco.com/ta/104956, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.