Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 557024 - app-eselect/eselect-java: unable to set user-vm for users without interactive shell
Summary: app-eselect/eselect-java: unable to set user-vm for users without interactive...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-08 09:47 UTC by Agostino Sarubbo
Modified: 2015-08-08 09:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2015-08-08 09:47:40 UTC
# WHILE the user agostino has /bin/bash as shell (FINE):
test ~ # su - agostino -c 'echo $SHELL'
/bin/bash
test ~ # su - agostino -c 'eselect java-vm set user 1'
test ~ #


# WHILE the user agostino has /sbin/nologin as shell (NOT FINE):
test ~ # su - agostino -c 'echo $SHELL'
This account is currently not available.
test ~ # su - agostino -c 'eselect java-vm set user 1'
This account is currently not available.


A workaround is set bash as shell, change the user-vm and rechange the shell.

It could be useful because some people create unprivileged users to run jar(s).