rosid

Package: WA2L/edrc 1.5.57
Section: Library Commands (3)
Updated: 22 November 2020
Index Return to Main Contents

 

NAME

rosid - evaluate the system's operating system id of a remote system

 

SYNOPSIS

edrc/lib/rosid [ -h ]

rosid -t hostname

rosid [ -e | -l localuser ] -u user@hostname

rosid [ -e | -l localuser ] [ -u user ] -t hostname

 

AVAILABILITY

WA2L/edrc

 

DESCRIPTION

rosid generates an unique identifier for each combination of OS release (uname -r), OS version (uname -s) and machine architecture (uname -m) of a remote system.

The rosid(3) command does not probe the operating system and also does not resolve an existing /etc/sfi/OSID file on the remote system; else the operating system id resolution is identical to the osid(3) command.

See osid(3) for more information.

 

OPTIONS

-h
print osid usage.

-e
use EDRC_USER as defined in etc/ssh-exec.cfg (default=edrc) as local user.

-l localuser
use the local user localuser to initiate the connection. Default local user is edrc.

-u user
remote user to connect on the target system. Default remote user is root.

-t hostname
target system hostname to execute the commands.

-u user@hostname
remote user to connect on the target system hostname.

 

EXIT STATUS

0
the operating system id could be resolved.

1
the operating system id could not be resolved. In this case rosid returns unknown as OS-id. If you receive this return value you should check the configuration file edrc/etc/osid.dat or edrc/etc/osid.dat.WA2L if the entry for the current operating system is missing. If two releases on an operating system are sufficient similar, they should be mapped to the same OS-id.

2
cannot connect to the remote system.

4
usage listed.

5
command aborted.

 

EXAMPLES

See osid(3).

 

SEE ALSO

osid(3), osid.cfg(4), osid.dat(4), sysconfig(1), edrcintro(1)

 

FILES

edrc/etc/osid.cfg
configuration file for osid and rosid. See osid.cfg(4) for more information.

edrc/etc/osid.dat
mapfile of uname -rs or uname -rsm to OS-id. See osid.dat(4) for more information.

 

NOTES

The WA2L/edrc package does not need to be installed on the remote system.

 

BUGS

-

 

AUTHOR

rosid was developed by Christian Walther. Send suggestions and bug reports to wa2l@users.sourceforge.net . 

 

COPYRIGHT

Copyright © 2020 Christian Walther

This is free software; see edrc/doc/COPYING for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


 

Index

NAME
SYNOPSIS
AVAILABILITY
DESCRIPTION
OPTIONS
EXIT STATUS
EXAMPLES
SEE ALSO
FILES
NOTES
BUGS
AUTHOR
COPYRIGHT

This document was created by man2html using the manual pages.
Time: 16:54:16 GMT, August 28, 2024