adduser --encrypt-home fails if umask is 077
Asked by
Ronan Mooney
Hi,
When I run
adduser --encrypt-home
It does not work as expected. When you are asked to set the users password, it says:
passwd: permission denied
This happens if umask is set to 077 in /etc/profiles
Is this a bug? It seems like it is to me. I *think* adduser script is creating .ecryptfs for the first time as root, and trying to write to is as a user.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu adduser Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- actionparsnip
- Solved:
- Last query:
- Last reply:
To post a message you must log in.