GBrowse2(1)

πŸ¦‹ GBrowse2(1) β€” USER COMMANDS ✨

okay bestie, welcome to the GBrowse2 corner of your terminal 🫢 this one's the manual for a little helper script, and it's giving "actually useful, kinda picky about who runs it" energy. let's get into it πŸ’…


✨ NAME ✨

gbrowse_create_account β€” literally just makes you an account for GBrowse πŸŽ€


🌸 SYNOPSIS 🌸

gbrowse_create_account [-pass password -fullname name -email address]
user user GBrowse user name [-pass password] If a password is not
provided on the command line, you will be prompted for it on standard
input [-fullname name] User full name [-email address address] User email

wait no bestie, hold on, let me not editorialize the actual synopsis, here it is verbatim, no cap:

gbrowse_create_account [-pass password -fullname name -email address]
user user GBrowse user name [-pass password] If a password is not
provided on the command line, you will be prompted for it on standard
input [-fullname name] User full name [-email address] User email

so real talk, the flags doing the heavy lifting in there are:

  • -pass password β€” your password. if you don't hand it over right here on the command line, it's gonna ask you for it on standard input instead πŸ™ˆ
  • -fullname name β€” the user's full name
  • -email address β€” the user's email

πŸ’– DESCRIPTION πŸ’–

so what this script actually does is create a user account with the username and password you want. simple, iconic, no drama.

and here's the little plot twist ✨ β€” if the account already exists, it doesn't yell at you, it just resets the password. it's giving "oh you're back, let me just fix that for you" energy.

to figure out which accounts database to talk to, the script reads the user_account_db option out of the currently installed GBrowse.conf configuration file. so like, it's not guessing, it knows where the vibes live πŸ’…

⚠️ WARNING, bestie, listen up ⚠️ this script should be run as the web server user, like this: sudo -u www-data $0 and if it peeks around and detects it is not being run as that user? it will straight up attempt to sudo itself for you. main character energy fr fr. it's gonna take matters into its own hands 😭

πŸ‘‘ AUTHOR πŸ‘‘

  • Olivier Sallou (olivier.sallou (at) irisa.fr) β€” Man page and packaging πŸŽ€
  • Lincoln Stein β€” GBrowse ⭐

and that's the whole thing, you ate it, periodt πŸ’…

version 1.1.0 🌈 February 07, 2011 🌸 GBrowse2(1) β€” mwah, go run it, ily 🫢✨

πŸ“¦ where this page comes from