User Switcher, just like sudo but worse
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Linux User 9f0238d788 pause for some time on wrong password 1 month ago
.gitignore compiles on openbsd 5 months ago
LICENSE licensed code 8 months ago updated readme 4 months ago
makefile added manual pages 5 months ago
us.1 fix typos 5 months ago
us.c pause for some time on wrong password 1 month ago
us.conf.5 changed config, + became permit and - deny 1 month ago

US - User {Switcher,Shell}

Opens a shell as a different user without needing to authenticate as that user. This is similar to the behavior of su but it allows to execute privileged and/or commands as any other user without needing their password. It doesn't use PAM, instead relies on shadow files and the passwd database to check if the given password is correct. Support for different methods of authentication is planned.


To install use make install and to uninstall use make uninstall, all other documentation is provided as man pages, man us will give general information about the utility and how to use it and man us.conf contains info about the config file format.

Supported platforms

All platforms that store the encrypted password in /etc/passwd should be supported, which to this day are none. Linux is supported through shadow(3) and OpenBSD through its API. Support for more systems is planned. This program is libc-agnostic as (apart from authentication) it is POSIX compliant code.