/sbin directory isn't listed into default users $PATH

Bug #852897 reported by marcobra (Marco Braida)
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
bash (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

On a just fully upgraded from 11.04 Oneiric beta the default user env PATH is

 echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/games

so commands like ifconfig are to be called with /sbin/ifconfig or run by root sudo ifconfig

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: bash 4.2-0ubuntu4
ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
Uname: Linux 3.0.0-11-generic i686
ApportVersion: 1.23-0ubuntu1
Architecture: i386
Date: Sun Sep 18 00:51:08 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
ProcEnviron:
 LANGUAGE=it:en
 PATH=(custom, no user)
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
SourcePackage: bash
UpgradeStatus: Upgraded to oneiric on 2011-09-16 (1 days ago)

Revision history for this message
marcobra (Marco Braida) (marcobra) wrote :
summary: - /sbin directory isn't incluse into default PATH of users
+ /sbin directory isn't listed into default users $PATH
Revision history for this message
Doug McMahon (mc3man) wrote :

Just to note - this is only if using gdm instead of lightdm
I'd had a bug on this earlier, though I invalidated due to when doing a fresh install and switching from lightdm to gdm couldn't find loss of function (didn't fully test though
Bug 828712

This may be an issue for people doing upgrades from 11.04 to 11.10 ..?

Revision history for this message
marcobra (Marco Braida) (marcobra) wrote :

Yes it is, i have this issue upgrading from 11.04 ...

description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in bash (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.