EnglishFrenchSpanish

OnWorks favicon

pts_removeuser - Online in the Cloud

Run pts_removeuser in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command pts_removeuser that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


pts_removeuser - Removes a user from a Protection Database group

SYNOPSIS


pts removeuser -user <user name>+ -group <group name>+
[-cell <cell name>] [-noauth] [-localauth] [-force]
[-help]

pts rem -u <user name>+ -g <group name>+
[-c <cell name>] [-n] [-l] [-f] [-h]

DESCRIPTION


The pts removeuser command removes each user or machine named by the -user argument from
each group named by the -group argument.

To add users to a group, use the pts adduser command. To list group membership, use the
pts membership command. To remove users from a group and delete the group's entry
completely in a single step, use the pts delete command.

CAUTIONS


AFS compiles each user's group membership as he or she authenticates. Any users who have
valid tokens when they are removed from a group retain the privileges extended to that
group's members until they discard their tokens or reauthenticate.

OPTIONS


-name <user name>+
Specifies the name of each user entry or the IP address (complete or wildcard-style)
of each machine entry to remove.

-group <group name>+
Names each group from which to remove members.

-cell <cell name>
Names the cell in which to run the command. For more details, see pts(1).

-force
Enables the command to continue executing as far as possible when errors or other
problems occur, rather than halting execution at the first error.

-help
Prints the online help for this command. All other valid options are ignored.

-localauth
Constructs a server ticket using a key from the local /etc/openafs/server/KeyFile
file. Do not combine this flag with the -cell or -noauth options. For more details,
see pts(1).

-noauth
Assigns the unprivileged identity anonymous to the issuer. For more details, see
pts(1).

EXAMPLES


The following example removes user smith from the groups "staff" and "staff:finance". Note
that no switch names are necessary because only a single instance is provided for the
first argument (the username).

% pts removeuser smith staff staff:finance

The following example removes three machine entries, which represent all machines in the
ABC Corporation network, from the group "bin-prot":

% pts removeuser -user 138.255.0.0 192.12.105.0 192.12.106.0 -group bin-prot

PRIVILEGE REQUIRED


The required privilege depends on the setting of the fifth privacy flag in the Protection
Database for the group named by the -group argument (use the pts examine command to
display the flags):

· If it is the hyphen, only the group's owner and members of the system:administrators
group can remove members.

· If it is lowercase "r", members of the group can also remove other members.

(It is not possible to set the fifth flag to uppercase "R".)

Use pts_removeuser online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    PAC Manager
    PAC Manager
    PAC is a Perl/GTK replacement for
    SecureCRT/Putty/etc (linux
    ssh/telnet/... gui)... It provides a GUI
    to configure connections: users,
    passwords, EXPECT regula...
    Download PAC Manager
  • 2
    GeoServer
    GeoServer
    GeoServer is an open-source software
    server written in Java that allows users
    to share and edit geospatial data.
    Designed for interoperability, it
    publishes da...
    Download GeoServer
  • 3
    Firefly III
    Firefly III
    A free and open-source personal finance
    manager. Firefly III features a
    double-entry bookkeeping system. You can
    quickly enter and organize your
    transactions i...
    Download Firefly III
  • 4
    Apache OpenOffice Extensions
    Apache OpenOffice Extensions
    The official catalog of Apache
    OpenOffice extensions. You'll find
    extensions ranging from dictionaries to
    tools to import PDF files and to connect
    with ext...
    Download Apache OpenOffice Extensions
  • 5
    MantisBT
    MantisBT
    Mantis is an easily deployable, web
    based bugtracker to aid product bug
    tracking. It requires PHP, MySQL and a
    web server. Checkout our demo and hosted
    offerin...
    Download MantisBT
  • 6
    LAN Messenger
    LAN Messenger
    LAN Messenger is a p2p chat application
    for intranet communication and does not
    require a server. A variety of handy
    features are supported including
    notificat...
    Download LAN Messenger
  • More »

Linux commands

Ad