EnglishFrenchSpanish

OnWorks favicon

viewsu - Online in the Cloud

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

This is the command viewsu 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


viewsu - change (virtual) user ID or become (virtual) superuser

SYNOPSIS


viewsu [options] [username]

DESCRIPTION


The viewsu command is used to become another user during a login session. Invoked without
a username, viewsu defaults to becoming the superuser. The optional argument - may be used
to provide an environment similar to what the user would expect had the user logged in
directly. This command is the View-OS counterpart of the su(1) command. The value of
$PATH is reset to /bin:/usr/bin for normal users, or /sbin:/bin:/usr/sbin:/usr/bin for the
superuser. This may be changed with the ENV_PATH and ENV_SUPATH definitions in
/etc/login.defs.

OPTIONS


The options which apply to the viewsu command are:

-c, --command COMMAND
Specify a command that will be invoked by the shell using its -c.

-, -l, --login
Provide an environment similar to what the user would expect had the user logged in
directly.

When - is used, it must be specified as the last viewsu option. The other forms (-l
and --login) do not have this restriction.

-s, --shell SHELL
The shell that will be invoked.

The invoked shell is chosen from (highest priority first):

· The shell specified with --shell.

· The shell indicated in the /etc/passwd entry for the target user.

· /bin/sh if a shell could not be found by any above method.

Use viewsu online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    PostInstallerF
    PostInstallerF
    PostInstallerF will install all the
    software that Fedora Linux and others
    doesn't include by default, after
    running Fedora for the first time. Its
    easy for...
    Download PostInstallerF
  • 2
    strace
    strace
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • 3
    gMKVExtractGUI
    gMKVExtractGUI
    A GUI for mkvextract utility (part of
    MKVToolNix) which incorporates most (if
    not all) functionality of mkvextract and
    mkvinfo utilities. Written in C#NET 4.0,...
    Download gMKVExtractGUI
  • 4
    JasperReports Library
    JasperReports Library
    JasperReports Library is the
    world's most popular open source
    business intelligence and reporting
    engine. It is entirely written in Java
    and it is able to ...
    Download JasperReports Library
  • 5
    Frappe Books
    Frappe Books
    Frappe Books is a free and open source
    desktop book-keeping software that's
    simple and well-designed to be used by
    small businesses and freelancers. It'...
    Download Frappe Books
  • 6
    Numerical Python
    Numerical Python
    NEWS: NumPy 1.11.2 is the last release
    that will be made on sourceforge. Wheels
    for Windows, Mac, and Linux as well as
    archived source distributions can be fou...
    Download Numerical Python
  • More »

Linux commands

Ad