1fca558799
- Made a new dir loginutils - Moved all applets from pwd_grp to loginutils - Added new applets su.c login.c to loginutils - Made a new dir libpwdgrp - Moved everything from pwd_grp/libpwd_grp there - Added shadow.c to libpwdgrp - Removed dir pwd_grp - Added usage strings for login and su to usage.h - Changed main Makefile to reflect the dir rearrangements [Parts of this patch may overlap with my other two patches]
11 lines
449 B
C
11 lines
449 B
C
#ifndef BB_LOGINUTILS_SHELL_H
|
|
#define BB_LOGINUTILS_SHELL_H
|
|
|
|
extern void change_identity ( const struct passwd *pw );
|
|
extern void run_shell ( const char *shell, int loginshell, const char *command, char **additional_args );
|
|
extern int restricted_shell ( const char *shell );
|
|
extern void setup_environment ( const char *shell, int loginshell, int changeenv, const struct passwd *pw );
|
|
extern int correct_password ( const struct passwd *pw );
|
|
|
|
#endif
|