pty: use /bin/login by default
kmscon does always pass a proper argv array so the default is never used. However, for security reasons we shouldn't hardcode /bin/login. If some other program uses the pty layer and forgets to pass in a suitable argv all the time, they mind end up with opening a root shell. Hence, use /bin/login as default. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
This commit is contained in:
parent
978b869e8b
commit
b78244e1ab
Loading…
x
Reference in New Issue
Block a user