Project

General

Profile

Bug #957

Dashboard User Creation

Added by bigfoot65 over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
platform
Target version:
-
Start date:
08/05/2012
Due date:
% Done:

0%


Description

appears to be broken. I created a new user and it reflects in /etc/passwd but does not create the Home directory. Also the new user is set for /bin/sh where my initial user is /bin/bash. The user is not found in /etc/group.

This is an install on Ubuntu Server, but I see similar behavior on Ubuntu Desktop. The only difference being the Home folder is created but it's virtually empty. Many of the required files are missing and the user cannot log in via the OS login screen.


Related issues

Related to platform - Bug #927: Ubuntu Shares Permissions Closed 06/24/2012

History

#1 Updated by bigfoot65 over 8 years ago

I also see a Home directory created for apache. That should not be there.

#2 Updated by cpg over 8 years ago

  • Status changed from New to Resolved
  • Priority changed from Urgent to High

fixed in the code. needs testing. cannot release until we fix that other bug in the deb where the permissions are obliterated in the shares.

#3 Updated by taa over 8 years ago

I know this issue is fixed pending testing, but just in case the following is related....

Ubuntu 12.04 server, AMD 64 bit, has a monitor at the moment but will eventually run headless.

In the following, "taa" was the very first admin, non-root user created during the Amahi install. Then user "brj" was created, also as an admin. Here's what it looks like at the moment:

drwxr-xr-x 3 root root 4096 Aug 5 11:11 brj
drwxr-xr-x 15 taa users 4096 Aug 5 12:36 taa

I do see the same attributes as described in this issue: 1) "brj" is in /etc/passwd, 2) is NOT in /etc/group, 3) has /bin/sh instead of /bin/bash. What is different is that the home directory WAS created and with root as the owner and group.

The result of doing "l -art taa brj" is here: http://paste.ubuntu.com/1131337/

#4 Updated by taa over 8 years ago

cpg wrote:

fixed in the code. needs testing. cannot release until we fix that other bug in the deb where the permissions are obliterated in the shares.

I'm going to reinstall Amahi on my box so I can document an issue I had with a two drive set up. If you want, I'd be glad to test the issue #957 fix. Let me know.

#5 Updated by cpg over 8 years ago

  • Status changed from Resolved to Closed

The home directory for apache is because effem created a user "apache" as a way to speed up support for ubuntu, so that things would work more flawlessly with the standard apache user in Fedora. We use it here and there, so this is a good transition.

tested by bigfoot65 and it's working. in addition, bash is set up as the default shell for the user.

Also available in: Atom