VIEW-OS(1)

πŸ“¦ version 0.8.2, in debian bookworm, ubuntu jammy, ubuntu noble

πŸ‘‘ VIEW-OS(1) β€” General Commands Manual πŸ’…

okay bestie, welcome to the View-OS corner of the man pages. grab a boba, we're doing viewsudo 🧚


✨ NAME ✨

viewsudo β€” execute a command as another (virtual) user πŸ¦‹


🌸 SYNOPSIS 🌸

viewsudo [-g groupname|#gid] [-u username|#uid] command

πŸ’– DESCRIPTION πŸ’–

so like, viewsudo lets a user execute a command as the superuser, or as literally any other user, inside View-OS. that's it. that's the vibe. main character energy for your processes ✨


πŸŽ€ OPTIONS πŸŽ€

viewsudo accepts the following command line options, and yes we're going through all of them:

  • -g group β€” so normally, viewsudo sets the primary group to root. the -g option makes sudo run the specified command with the primary group set to group instead. wanna specify a gid instead of a group name? use #gid. and bestie, when you're running commands as a gid, a lot of shells need that # escaped with a backslash (\). πŸ™ˆ if no -u option is specified, the command will be run as the invoking user (not root). either way, the primary group gets set to group. periodt πŸ’…
  • -u user β€” this one makes viewsudo run the specified command as a user other than root. to specify a uid instead of a user name, use #uid. same deal as before: when running commands as a uid, many shells require that the # be escaped with a backslash (\). πŸ’€

🌈 RETURN VALUES 🌈

when a program executes successfully, the exit status from viewsudo is simply the exit status of the program that was executed. no extra drama, no side quests, it just hands you the exit status. iconic. πŸ‘‘


🫢 SEE ALSO 🫢


πŸ’œ AUTHORS πŸ’œ

View-OS is a project of the Computer Science Department, University of Bologna. Project Leader: Renzo Davoli.

<http://www.sourceforge.net/projects/view-os>

Howto's and further information can be found on the project wiki <wiki.virtualsquare.org>. πŸ¦‹


⭐ NOTE ⭐

Most part of the text is taken from sudo(1). credit where credit is due, fr fr πŸ’–

and that's the whole page, bestie!! this came from the View-OS project β€” "a process with a view" β€” and this version is dated August 8, 2009 🌸 slay, you're all caught up πŸ’…βœ¨

πŸ“¦ where this page comes from