Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Proposal: add setup_user option or script #51

Description

@abmusse

Original report by Jesse G (Bitbucket: ThePrez, GitHub: ThePrez).


I'm proposing an option to chroot_setup (or perhaps a separate script) that would prepare a chroot for a particular user by performing the following steps (written in pseudoscript, with $USER being the given user):

mkdir -p $CHROOT_DIR/home/$USER
chown -R $USER  $CHROOT_DIR/home/$USER
system -kpieb "CHGUSRPRF USRPRF($USER) HOMEDIR('$CHROOT_DIR/./home/$USER')
cp ~/.profile $CHROOT_DIR/home/$USER
cp ~/.bash_profile $CHROOT_DIR/home/$USER

Assigning to Aaron for vote

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions