Wind River Support Network

HomeDefectsLIN5-6529
Fixed

LIN5-6529 : wrinux 5.0.1 - /etc/default/locale is missing message when running su <user>

Created: Oct 8, 2013    Updated: Dec 19, 2017
Resolved Date: Oct 30, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.9
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: Userspace

Description

The /etc/default/locale is missing message appears when running su <user>.
Reproduced on RCPL7

Steps to Reproduce

configure & build a wrlinux 5.0.1 project based on qemux86-64 BSP, boot the qemu target and run:

root@qemu0:/var/log# su root
root@qemu0:/var/log# tail auth.log
Oct  8 07:47:54 qemu0 login[983]: pam_unix(login:session): session opened for user root by LOGIN(uid=0)
Oct  8 07:47:55 qemu0 login[995]: ROOT LOGIN  on '/dev/console'
Oct  8 07:48:21 qemu0 su[999]: Successful su for root by root
Oct  8 07:48:21 qemu0 su[999]: + /dev/console root:root
Oct  8 07:48:21 qemu0 su[999]: pam_env(su:session): Unable to open env file: /etc/default/locale: No such file or directory
Oct  8 07:48:21 qemu0 su[999]: pam_unix(su:session): session opened for user root by root(uid=0)

Other Downloads


Live chat
Online