JeOS sudo on login
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
VMBuilder |
New
|
Undecided
|
Unassigned | ||
Ubuntu |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
After installing a JeOS 9.04 system, /etc/bash.bashrc is called to locate /root/firstlogi
/etc/bash.bashrc
#!/bin/sh -e
#execute firstlogin.sh only once
if [ ! -e /root/firstlogi
if [ -e /root/firstlogin.sh ]; then
fi
# This part should not be necessary any more
# sudo dpkg-reconfigure -p critical console-setup &> /dev/null
sudo touch /root/firstlogi
fi
The sudo command does create the file; however, the file can never be read due to the permissions on the /root dir being:
drwx------ 4 root root 4096 2009-06-27 17:42 root
In my 8.10 JeOS system the /root dir is world readable allowing the script to locate the file.
summary: |
- JeOS 9.04 sudo on login + JeOS sudo on login |
Converting to question doesn't sound like a bug