Opened 9 years ago

Closed 7 years ago

#887 closed defect (fixed)

Can't su into unprivileged user when following documentation

Reported by: Daniel Krol Owned by:
Priority: major Milestone:
Component: programming Keywords:
Cc: Parent Tickets:

Description

The documentation says to create a system user for the unprivileged user that runs mediagoblin. On my system, this meant that I couldn't su into it (and there was no error message when I tried and failed). Looking around online, it sounds like this is intentional. If it's a system user, it's not meant to have a shell. Its shell is /bin/false. So here's a way to do it anyway:

sudo su - mediagoblin -s /bin/bash

or

su - mediagoblin -s /bin/bash

I'm on Debian 7.

Subtickets

Change History (2)

comment:1 Changed 9 years ago by Daniel Krol

Ah, I see that this is already in master. I'm looking on http://mediagoblin.readthedocs.org/ and it's not there yet.

comment:2 Changed 7 years ago by Daniel Krol

Resolution: fixed
Status: newclosed

Happened to check back here after a long time - it's fixed in the latest documentation. Thanks!

Note: See TracTickets for help on using tickets.