Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Obol doesn't create .bashrc etc in new home dirs #1

Open
guusbertens opened this issue Oct 4, 2024 · 2 comments
Open

Obol doesn't create .bashrc etc in new home dirs #1

guusbertens opened this issue Oct 4, 2024 · 2 comments

Comments

@guusbertens
Copy link

Problem

Obol creates a home directory, but doesn't populate it with files like .bashrc and .bash_profile, like OS default tools such as adduser do.

Observed behaviour

Obol doesn't create .bashrc etc.

Expected behaviour

Obol makes a copy of /etc/skel.

@guusbertens
Copy link
Author

See account creation routine:

os.mkdir(home)

@guusbertens
Copy link
Author

The above pull request copies the skeleton directory. But: should obol do this, or should it keep itself to only modifying LDAP (and thereby stick to the adagio "do one thing, do it well")?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant