Full help documentation - binbash23/p GitHub Wiki

!

SYNOPSIS

! <COMMAND>

DESCRIPTION

Execute COMMAND in native shell. It is also possible to execute the command

without the space before the slash like '!dir' for example.

#

SYNOPSIS

#

DESCRIPTION

Lock pshell console.

/

SYNOPSIS

/ <SEARCHSTRING>

DESCRIPTION

/ is an alias to the search command. For more info see the help for the

search command. It is also possible to search like this: '/SEARCHSTRING'

(without the space after the slash).

add

SYNOPSIS

add [ACCOUNT_NAME]

DESCRIPTION

Add a new account.

Example:

UUID : 51689195-4977-4c06-a19f-ac70823fbd4a

-> The UUID is an unique identifier for the account

Name : [email protected] GMX EMail Account

-> Choose a name for the new account

URL : gmx.de

-> If there is an url where the account is located, add it here

Loginname : [email protected]

-> The login name for the account

Password : 123secret

-> The password for the account

Type : Emailaccount

-> Choose a name for the type of this account

Connectortype :

-> If this is a connector account, put ssh/dropbox/file or webdav here

addconnection

SYNOPSIS

!addconnection <SSID>

DESCRIPTION

Shell command for p which is installed in a razpass environment.

With !addconnection you can announce a wifi network to the razpass.

Razpass will then log into this network prior to starting the

razpass Hotspot wifi network. You have to quote the SSID with single ticks.

Example:

[razpass] pshell> !addconnection 'Fritz Box 7299'

alias

SYNOPSIS

alias [0-99 [<COMMAND>]]

DESCRIPTION

Show or set an alias. An alias is like a programmable command. Possible alias

names are the numbers from 0 to 99.

To set the command 'sc email' on the alias 1 you have to type: 'alias 1 sc

Email'. After that you can run the command by just typing '1'.

To see all aliases just type 'alias'. If you want to see the command

programmed on the alias 3 for example, type 'alias 3'.

To unset an alias, for example the 3, type 'alias 3 -'.

It is possible to combine multiple commands in one alias with separating the

commands by a semicolon.

Example: 'alias 1 status;version'

This will execute the command 'status' and after that the command 'version'

when you type '1' on the command line.

cc

SYNOPSIS

cc

DESCRIPTION

Clear clipboard. Remove anything from clipboard.

changeconnectordbname

SYNOPSIS

changeconnectordbname <UUID>|SEARCHSTRING

DESCRIPTION

Change the database name for the database from the connector identified by

UUID or SEARCHSTRING.

changeconnectordbpassword

SYNOPSIS

changeconnectordbpassword <UUID>|SEARCHSTRING

DESCRIPTION

Change the database password for the database from the connector identified

by UUID or SEARCHSTRING.

changedropboxdbname

SYNOPSIS

changedropboxdbname [<UUID>|<SEARCHSTRING>]

DESCRIPTION

Change database name of the dropbox database.

The database will be downloaded from the dropbox account and you can enter a

new database name. Then the database will be uploaded again.

changedropboxdbpassword

SYNOPSIS

changedropboxdbpassword [<UUID>|<SEARCHSTRING>]

DESCRIPTION

Change password of the dropbox database.

The database will be downloaded from the dropbox account and you can enter a

new password. After re-encrypting the dropbox version of the database, the

database will be uploaded again.

changepassword

SYNOPSIS

changepassword

DESCRIPTION

Change the master password of current database.

This can take some minutes if there are a lot accounts in it.

Not only the accounts will be re-encrypted but also account history, aliases,

command history and so on.

changesshdbname

SYNOPSIS

changesshdbname [<UUID>|<SEARCHSTRING>]

DESCRIPTION

Change the database name of the ssh database.

The database will be downloaded from the ssh account and you can enter a new

database name. Then the database will be uploaded again. If no UUID for the

ssh target is given, the eventually configured default ssh UUID from the

configuration table will be taken.

changesshdbpassword

SYNOPSIS

changesshdbpassword [<UUID>|<SEARCHSTRING>]

DESCRIPTION

Change password of the ssh database.

The database will be downloaded from the ssh account and you can enter a new

password. After re-encrypting the ssh version of the database, the database

will be uploaded again. If no UUID for the ssh target is given, the

eventually configured default ssh UUID from the configuration table will be

taken.

changewebdavdbname

SYNOPSIS

changewebdavdbname [<UUID>|<SEARCHSTRING>]

DESCRIPTION

Change the database name of the webdav database.

The database will be downloaded from the webdav account and you can enter a

new database name. Then the database will be uploaded again. If no UUID for

the webdav target is given, the eventually configured default webdav UUID

from the configuration table will be taken.

changewebdavdbpassword

SYNOPSIS

changewebdavdbpassword [<UUID>|<SEARCHSTRING>]

DESCRIPTION

Change password of the webdav database.

The database will be downloaded from the webdav account and you can enter a

new password. After re-encrypting the webdav version of the database, the

database will be uploaded again. If no UUID for the webdav target is given,

the eventually configured default webdav UUID from the configuration table

will be taken.

check4update

SYNOPSIS

check4update

DESCRIPTION

Check on github for a newer version of p

clear

SYNOPSIS

clear

DESCRIPTION

Clear console. The screen will be blanked.

clearhistory

SYNOPSIS

clearhistory

DESCRIPTION

Clear command history.

copypassword

SYNOPSIS

copypassword <UUID>|<SEARCHSTRING>

DESCRIPTION

Copy password from UUID/searchstring to the clipboard.

countorphanedaccounthistoryentries

SYNOPSIS

countorphanedaccounthistoryentries

DESCRIPTION

Count orphaned account history entries.

cplast

SYNOPSIS

cplast

DESCRIPTION

Copy password from the latest found account to the clipboard.

delete

SYNOPSIS

delete <UUID>|<SEARCHSTRING>

DESCRIPTION

Delete account with UUID. If you do not know the UUID, use a SEARCHSTRING and

you will be offered possible accounts to delete.

A deleted account can not be recovered! It is usually better to invalidate an

account.

deleteconnection

SYNOPSIS

!deleteconnection <SSID>

DESCRIPTION

Shell command for p which is installed in a razpass environment.

With !deleteconnection you can remove a wifi connection from the razpasss

device.

Example:

[razpass] pshell> !deleteconnection 'Fritz Box 7299'

deleteconnectordb

SYNOPSIS

deleteconnectordb <UUID>|<SEARCHSTRING>

DESCRIPTION

Delete the database that is located in the connector account identified by

UUID or SEARCHSTRING.

deletemergehistory

SYNOPSIS

deletemergehistory

DESCRIPTION

Delete all information about old merge events.

deleteorphanedaccounthistoryentries

SYNOPSIS

deleteorphanedaccounthistoryentries

DESCRIPTION

Delete orphaned account history entries. When you delete an account which has

already some old versions, these will be orphaned and can be deleted also

with this command.

downloadfrom

SYNOPSIS

downloadfrom <UUID>|<SEARCHSTRING>

DESCRIPTION

Download a file from a connector.

duplicate

SYNOPSIS

duplicate <UUID>|<SEARCHSTRING>

DESCRIPTION

Duplicate account with UUID into a new account. You can also use a

SEARCHSTRING to identify the account to be duplicated. After you have

duplicated the account you can edit it with the edit command.

edit

SYNOPSIS

edit <SEARCHSTRING>

DESCRIPTION

Edit account. If <SEARCHSTRING> matched multiple accounts, you can choose one

of a list.

executeonstart

SYNOPSIS

executeonstart [<COMMAND>]

DESCRIPTION

You can set a command to be executed when the pshell starts. Executing this

command without an argument shows the current command which is configured to

be executed on start.

To unset the startup command run 'executeonstart -'.

To see the current configuration run 'showconfig'.

Example: run 2 merge command on start:

executeonstart merge2webdav;merge2file

executeonstop

SYNOPSIS

executeonstop [<COMMAND>]

DESCRIPTION

You can set a command to be executed when the pshell exits. Executing this

command without an argument shows the current command which is configured to

be executed on exiting.

To unset the startup command run 'executeonstop -'.

To see the current configuration run 'showconfig'.

Example run 2 merge commands on stop:

executeonstop merge2webdav;merge2file

exit

SYNOPSIS

exit

DESCRIPTION

Quit pshell.

export2csv

SYNOPSIS

export2csv [<SEARCHSTRING>]

DESCRIPTION

Export accounts to an unencrypted csv file. If you add a <SEARCHSTRING> you

can restrict the accounts to export to accounts that match this string.

forgetaccounthistory

SYNOPSIS

forgetaccounthistory

DESCRIPTION

Delete all older/archived versions of accounts.

forgetdeletedaccounts

SYNOPSIS

forgetdeletedaccounts

DESCRIPTION

Delete all entries in deleted_accounts table. This table is used and merged

between databases to spread the information about which account with which

UUID has been deleted. Emptying this table removes any traces of account

UUID's which have existed in this database.

You should empty this table on all databases. Otherwise the table will be

filled again after the next merge with a database which has entries in the

deleted_accounts table.

generategithelp

SYNOPSIS

generategithelp

DESCRIPTION

Generate full help documentation in git style

generatenewdatabaseuuid

SYNOPSIS

generatenewdatabaseuuid

DESCRIPTION

Generate a new UUID for the current database. This is useful if you have

copied the database file and want to use it as a new instance. You might also

set a new database name. This is just for identifying the different database

files.

generatepassword

SYNOPSIS

generatepassword [LENGTH]

DESCRIPTION

Generate a random password with LENGTH characters. When LENGTH is not set, a

20 char password will be generated. You can also use the shortcut for this

command: gp.

get

SYNOPSIS

get <UUID>|<SEARCHSTRING>

DESCRIPTION

Copy password from UUID/searchstring to the clipboard.

gp

SYNOPSIS

gp [LENGTH]

DESCRIPTION

Alias for the command generatepassword.

Use 'help generatepassword' for more info.

halt

SYNOPSIS

!halt

DESCRIPTION

Shell command for p which is installed in a razpass environment.

With !halt you stop the razpass device. It will shutdown.

Example:

[razpass] pshell> !halt

help

SYNOPSIS

help [COMMAND]

DESCRIPTION

Show help for all pshell commands or show the specific help description for

COMMAND.

helpverbose

SYNOPSIS

helpverbose

DESCRIPTION

Show all help texts for all pshell commands.

history

SYNOPSIS

history [MAX_ENTRIES]

DESCRIPTION

Show the pshell command history.

If MAX_ENTRIES is set, only the latest MAX_ENTRIES of the command history

will be displayed.

To disable the command history, you can use the command 'maxhistorysize 0'

idletime

SYNOPSIS

idletime

DESCRIPTION

Show idletime in seconds after last command.

importcsv

SYNOPSIS

importcsv [<CSV_FILENAME>]

DESCRIPTION

Import a csv file with accounts. If <CSV_FILENAME> is not given, p will try

to use the default filename: 'import.csv'.

invalidate

SYNOPSIS

invalidate <UUID>|<SEARCHSTRING>

DESCRIPTION

Invalidate account with UUID or SEARCHSTRING. If you do not know the UUID,

just enter a searchstring and you will be offered possible accounts to

invalidate.

If you invalidate an account the account will be invisible in normal

operation. If you search something, invalidated accounts are not visible

unless you change the settings (see command 'help showinvalidated').

list

SYNOPSIS

list

DESCRIPTION

List all accounts ordered by the last change date.

listconnectorfiles

SYNOPSIS

listconnectorfiles <UUID>|<SEARCHSTRING>

DESCRIPTION

List all files in the connector account with <UUID>.

listconnectors

SYNOPSIS

listconnectors

DESCRIPTION

List all connector accounts ordered by the last change date.

listinvalidated

SYNOPSIS

listinvalidated

DESCRIPTION

List all invalidated accounts.

lock

SYNOPSIS

lock

DESCRIPTION

Lock pshell console. You will need to enter the password to unlock the pshell

again

m2d

SYNOPSIS

m2d [<UUID>|<SERACHSTRING>]

DESCRIPTION

Alias for merge2dropbox.

Use 'help merge2dropbox' for more info.

m2f

SYNOPSIS

m2f [<UUID>|<SERACHSTRING>]

DESCRIPTION

Alias for merge2file.

Use 'help merge2file' for more info.

m2s

SYNOPSIS

m2s [<UUID>|<SERACHSTRING>]

DESCRIPTION

Alias for merge2ssh.

Use 'help merge2ssh' for more info.

m2w

SYNOPSIS

m2w [<UUID>|<SERACHSTRING>]

DESCRIPTION

Alias for merge2webdav.

Use 'help merge2webdav' for more info.

maxhistorysize

SYNOPSIS

maxhistorysize [MAX_SIZE]

DESCRIPTION

Show current max history size or set it. This limits the amount of history

entries that will be saved in the shell_history table in the database.

To disable the pshell history, set this value to 0.

merge2dropbox

SYNOPSIS

merge2dropbox [<UUID>|<SEARCHSTRING>]

DESCRIPTION

Merge local database with dropbox database copy. If UUID is not given, the

configuration will be searched for the default dropbox account uuid. The

account has to have connector type = 'dropbox'.

Example account for a dropbox connector:

UUID : 0266d735-87fe-49c1-b02c-c248e4e2caa0

Name : <FREE_TEXT>

URL : <dropbox application key>

Loginname : <dropbox application secret>

Password : <dropbox refresh token>

Type : <FREE_TEXT>

Connectortype : dropbox

merge2file

SYNOPSIS

merge2file [<UUID>|<SEARCHSTRING>]

DESCRIPTION

Merge local database with the default file connector database. If UUID is

given the account with the UUID will be used to merge with. This account must

have the connector type = 'file'.This can be set with:

setdefaultmergetargetfile.

Example account for a file connector:

UUID : 0266d735-87fe-49c1-b02c-c248e4e2caa0

Name : <FREE_TEXT>

URL : /home/bert/p/

Loginname : <FREE_TEXT>

Password : <FREE_TEXT>

Type : <FREE_TEXT>

Connectortype : file

merge2ssh

SYNOPSIS

merge2ssh [<UUID>|<SEARCHSTRING>]

DESCRIPTION

Merge local database with a ssh target which has to be accessible with the

account UUID.

If UUID is not given, the configuration table will be searched for a default

ssh account UUID and, if one is found, it will be used to connect to the ssh

target. You can use the command 'setsshaccountuuid' to set the default ssh

account UUID. The account has to have a connector type = 'ssh'.

Example account for a ssh connector:

UUID : 0266d735-87fe-49c1-b02c-c248e4e2caa0

Name : <FREE_TEXT>

URL : <hostname>:/home/bert/p/

Loginname : <USERNAME>

Password : <PASSWORD>

Type : <FREE_TEXT>

Connectortype : ssh

merge2webdav

SYNOPSIS

merge2webdav [<UUID>|<SEARCHSTRING>]

DESCRIPTION

Merge local database with a webdav target which has to be accessible with the

account UUID.

If UUID is not given, the configuration table will be searched for a default

webdav account UUID and, if one is found, it will be used to connect to the

webdav target. You can use the command 'setwebdavaccountuuid' to set the

default webdav account UUID. The account has to have connector type set to

'webdav'.

Example account for a webdav connector:

UUID : 0266d735-87fe-49c1-b02c-c248e4e2caa0

Name : <FREE_TEXT>

URL : https://<hostname>/p/

Loginname : <USERNAME>

Password : <PASSWORD>

Type : <FREE_TEXT>

Connectortype : webdav

mergewith

SYNOPSIS

mergewith <UUID>|<SEARCHSTRING>

DESCRIPTION

Merge with with the account with UUID or the account that matches

SEARCHSTRING.

If SEARCHSTRING is not a unique account you will be asked, which account

should be used.

The target account has to have the attribute connector_type set to one of

these values:

file, ssh, webdav, dropbox depending on the kind of protocol that has to be

used to connect to the account.

mw

SYNOPSIS

mw <UUID>|<SEARCHSTRING>

DESCRIPTION

Alias for mergewith.

Use 'help mergewith' for more info.

opendatabase

SYNOPSIS

opendatabase [<DATABASE_FILENAME>]

DESCRIPTION

Try to open a p database file with the name DATABASE_FILENAME. If the

database does not exist, a new one with the filename will be created. If you

use the command without a database filename and there are multiple database

files in the current directory, you will be asked to choose one from the

list.

With this command you can switch between multiple named p databases.

passwd

SYNOPSIS

!passwd

DESCRIPTION

Shell command for p which is installed in a razpass environment.

With !passwd command you can change the password of the 'p' user of your

razpass device.

Example:

[razpass] pshell> !passwd

quit

SYNOPSIS

quit

DESCRIPTION

Quit pshell.

razpass_update

SYNOPSIS

!razpass_update

DESCRIPTION

Shell command for p which is installed in a razpass environment.

With this command you can update the razpass scripts from github to the

latest version.

Example:

[razpass] pshell> !razpass_update

reboot

SYNOPSIS

!reboot

DESCRIPTION

Shell command for p which is installed in a razpass environment.

With !reboot you restart the razpass device. It will shutdown and start up

again.

Example:

[razpass] pshell> !reboot

redo

SYNOPSIS

redo [<HISTORY_INDEX>|?]

DESCRIPTION

Redo the last shell command. The redo command itself will not appear in the

command history. You can choose the index of the command in your history if

you want.

If you choose no index, the latest command will be executed.

If you use redo ? you will see the current command history with the indices

to choose from.

remove

SYNOPSIS

remove <UUID>|<SEARCHSTRING>

DESCRIPTION

The save as the delete command.

revalidate

SYNOPSIS

revalidate <UUID>|<SEARCHSTRING>

DESCRIPTION

Revalidate account with UUID or use SEARCHSTRING to find the account you want

to revalidate.

sah

SYNOPSIS

sah

DESCRIPTION

Alias for showaccounthistory.

Use 'help showaccounthistory' for more info.

sam

SYNOPSIS

sam

DESCRIPTION

Alias for showallmergehistorydetails.

Use 'help showallmergehistorydetails' for more info.

sc

SYNOPSIS

sc <SEARCHSTRING>

DESCRIPTION

Search for SEARCHSTRING in all accounts. If one or more account(s) match the

SEARCHSTRING, the password of the first account will be copied to the

clipboard.

Note: Linux users need to install pyperclip3 and xclip to use the copy/paste

feature!

sca

SYNOPSIS

sca <SEARCHSTRING>

DESCRIPTION

Search for SEARCHSTRING in all accounts. If one or more account(s) match the

SEARCHSTRING, the URL, loginname and password of the first account will be

copied to the clipboard one after another.

Note: Linux users need to install pyperclip3 and xclip to use the copy/paste

feature!

scanwifi

SYNOPSIS

!scanwifi

DESCRIPTION

Shell command for p which is installed in a razpass environment.

With !scanwifi you scan the environment for other wifi networks and show them

up.

Example:

[razpass] pshell> !scanwifi

scl

SYNOPSIS

scl <SEARCHSTRING>

DESCRIPTION

Search for SEARCHSTRING in all accounts. If one or more account(s) match the

SEARCHSTRING, the loginname of the first account will be copied to the

clipboard.

Note: Linux users need to install pyperclip3 and xclip to use the copy/paste

feature!

sco

SYNOPSIS

sco

DESCRIPTION

Alias for showconfig.

Use 'help showconfig' for more info.

scu

SYNOPSIS

scu <SEARCHSTRING>

DESCRIPTION

Search for SEARCHSTRING in all accounts. If one or more account(s) match the

SEARCHSTRING, the URL of the first account will be copied to the clipboard.

Note: Linux users need to install pyperclip3 and xclip to use the copy/paste

feature!

search

SYNOPSIS

search <SEARCHSTRING>

DESCRIPTION

Search for SEARCHSTRING in all account columns.

searchconnector

SYNOPSIS

searchconnector <SEARCHSTRING>

DESCRIPTION

Search for SEARCHSTRING in all connector account columns. A connector account

is an account with the column connectortype filled with a value.

searchhelp

SYNOPSIS

searchhelp <SEARCHSTRING>

DESCRIPTION

Search for all commands that contain SEARCHSTRING.

searchhelpverbose

SYNOPSIS

searchhelpverbose <SEARCHSTRING>

DESCRIPTION

Search for SEARCHSTRING in all help descriptions.

searchinvalidated

SYNOPSIS

searchinvalidated <SEARCHSTRING>

DESCRIPTION

Search for SEARCHSTRING in all columns of invalidated accounts.

setdatabasename

SYNOPSIS

setdatabasename <NAME>

DESCRIPTION

Set database to NAME. This is a logical name for the current database. To

unset the database name, set it to '-'

setdropboxaccountuuid

SYNOPSIS

setdropboxaccountuuid <UUID>

DESCRIPTION

Set the default dropbox account uuid in the configuration. Whenever you run

merge2dropbox, this UUID will be used as the default dropbox account.

setfileaccountuuid

SYNOPSIS

setfileaccountuuid <UUID>|<SEARCHSTRING>

DESCRIPTION

Set a default account in the configuration table to connect to a file target.

This account will be used if the command merge2file is called without an

account UUID.

setpassword

SYNOPSIS

setpassword <UUID>|<SEARCHSTRING>

DESCRIPTION

Set password for account with UUID or SEARCHSTRING. If shadow passwords is

on, the password will be read hidden so that none can gather it from your

screen. If you do not no the <UUID>, use a <SEARCHSTRING> and you will be

offered possible accounts the change the password for.

setsshaccountuuid

SYNOPSIS

setsshaccountuuid <UUID>|<SEARCHSTRING>

DESCRIPTION

Set a default account in the configuration table to connect to a ssh

target.This account will be used if the command merge2ssh is called without

an account UUID.

setwebdavaccountuuid

SYNOPSIS

setwebdavaccountuuid <UUID>|<SEARCHSTRING>

DESCRIPTION

Set a default account in the configuration table to connect to a webdav

target.This account will be used if the command merge2webdav is called

without an account UUID.

shadowpasswords

SYNOPSIS

shadowpasswords [on|off]

DESCRIPTION

Set shadow passwords to on or off in console output or show current shadow

status.

This is useful if you are not alone watching the output of this program on

the monitor.

she

SYNOPSIS

she <SEARCHSTRING>

DESCRIPTION

Alias for searchhelp.

Use 'help searchhelp' for more info.

showaccounthistory

SYNOPSIS

showaccounthistory <UUID>|<SEARCHSTRING>

DESCRIPTION

Show change history of account with <UUID>. If you do not know the uuid, use

a <SEARCHSTRING> and you can choose from possible existing accounts which

include your <SEARCHSTRING>.

showallmergehistorydetails

SYNOPSIS

showallmergehistorydetails

DESCRIPTION

Show the history details of all database merge events.

showconfig

SYNOPSIS

showconfig

DESCRIPTION

Show current configuration of the environment including if account passwords

are shadowed, if verbose mode is ...

showconnections

SYNOPSIS

!showconnections

DESCRIPTION

Shell command for p which is installed in a razpass environment.

With !showconnections you show all configured network devices of the razpass.

Example:

[razpass] pshell> !showconnections

showinvalidated

SYNOPSIS

showinvalidated [on|off]

DESCRIPTION

Show invalidated accounts. If empty the current status will be shown.

showlatestmerge

SYNOPSIS

showlatestmerge

DESCRIPTION

Show the merge history detail for the latest merge event.

showlinks

SYNOPSIS

showlinks

DESCRIPTION

Show links to github homepage, binary downloads etc.

showmergedetail

SYNOPSIS

showmergedetail <UUID>

DESCRIPTION

Show the merge history detail for merge event with UUID.

showmergehistory

SYNOPSIS

showmergehistory

DESCRIPTION

Show the history of all database merge events.

showstatusonstartup

SYNOPSIS

showstatusonstartup [on|off]

DESCRIPTION

Show status when pshell starts.

showunmergedchanges

SYNOPSIS

showunmergedchanges

DESCRIPTION

Show all changes since the last successfully merge event. This includes new

created accounts, changed accounts and the uuid's of deleted accounts.

showunmergedwarning

SYNOPSIS

showunmergedwarning [on|off]

DESCRIPTION

Show warning on startup if there are unmerged changes in local database

compared to the latest known merge database.

With no arguments, the current status will be shown.

shv

SYNOPSIS

shv <SEARCHSTRING>

DESCRIPTION

Alias for searchhelpverbose.

Use 'help searchhelpverbose' for more info.

slm

SYNOPSIS

slm

DESCRIPTION

Alias for showlatestmerge.

Use 'help showlatestmerge' for more info.

slowprintenabled

SYNOPSIS

slowprintenabled [on|off]

DESCRIPTION

Enable, disable or show the status of the slow printing feature. The slow

printing feature prints lots of queries a bit slower, which looks kinda cool

:) But if you think it's annoying, disable it (created for ben).

smd

SYNOPSIS

smd

DESCRIPTION

Alias for showmergedetail.

Use 'help showmergedetail' for more info.

smh

SYNOPSIS

smh

DESCRIPTION

Alias for showmergehistory.

Use 'help showmergehistory' for more info.

sp

SYNOPSIS

sp <UUID>|<SEARCHSTRING>

DESCRIPTION

Set password for account with UUID or SEARCHSTRING. If shadow passwords is

on, the password will be read hidden so that none can gather it from your

screen. If you do not no the <UUID>, use a <SEARCHSTRING> and you will be

offered possible accounts the change the password for.

sql

SYNOPSIS

sql <COMMAND>

DESCRIPTION

Execute COMMAND in database in native SQL language. The p database is fully

accessible with sql commands.

st

SYNOPSIS

st <SEARCHSTRING>

DESCRIPTION

Search for SEARCHSTRING in the type field of all accounts.

status

SYNOPSIS

status

DESCRIPTION

Show configuration and database status.

A short overview of the database will be shown including number of accounts,

encryption status, database name...

sudo passwd

SYNOPSIS

!sudo passwd

DESCRIPTION

Shell command for p which is installed in a razpass environment.

With this command you can change the password of the 'root' user of your

razpass device.

Example:

[razpass] pshell> !sudo passwd

timeout

SYNOPSIS

timeout [<MINUTES>]

DESCRIPTION

Set the maximum pshell inactivity timeout to MINUTES before locking the

pshell (0 = disable timeout). Without MINUTES the current timeout is shown.

trackaccounthistory

SYNOPSIS

trackaccounthistory on|off

DESCRIPTION

Track the history of changed accounts. You may also want to use the command:

'forgetaccounthistory' to delete all archived accounts.

updatep

SYNOPSIS

updatep

DESCRIPTION

Update p program. This command will download the latest p executable from

git.

verbose

SYNOPSIS

verbose on|off

DESCRIPTION

Show verbose account infos true or false.

If verbose is on then creation, change and invalidation timestamps will be

shown.

version

SYNOPSIS

version

DESCRIPTION

Show program version info.

⚠️ **GitHub.com Fallback** ⚠️