backup user has not valid shell any more
Bug #1421643 reported by
Alex
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
backupninja (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The login shell of the backup user seems to have changed in Ubuntu 14.04 LTS from /bin/sh to /usr/sbin/nologin during the upgrade from 12.04 LTS.
This is a problem for backupninja that uses "su backup" at some places, for example for the mysql backup:
/usr/share/
databases=$(set -o pipefail ; su $user -c "$MYSQL $defaultsfile -N -B -e 'show databases'" | sed 's/|//g;/\+----/d')
This command will fail with no further explanation. "su backup" does not work any more, the error message that occurs when executing su backup manually is:
This account is currently not available
When changing the shell back to /bin/sh everything seems to work again.
To post a comment you must log in.