[GRASS-user] Ubuntu 6.06 Dapper: strange sudo hints printed at
startup
Maciej Sieczka
tutey at o2.pl
Thu Jul 13 18:14:30 EDT 2006
Hi,
When I start Grass 6.1, 5.5 or 6.01 on Ubuntu Dapper I receive strange
hints about using sudo for some purpose. No matter if I start Grass with
-gui or -text. I don't understand why I would need sudo for anything
with Grass.
Example:
Welcome to GRASS 6.1.cvs (2006)
GRASS homepage: http://grass.itc.it/
This version running thru: Bash Shell (/bin/bash)
Help is available with the command: g.manual -i
See the licence terms with: g.version -c
Start the graphical user interface with: gis.m &
When ready to quit enter: exit
To run a command as administrator (user "root"), use "sudo
<command>".
See "man sudo_root" for details.
To run a command as administrator (user "root"), use "sudo
<command>".
See "man sudo_root" for details.
^^^
those look strange!
GRASS 6.1.cvs (xy):~ >
What could it be? I can reproduce this strange behavior on other Dapper
box, but I never had such thing on previous Ubuntu (Breezy) version,
though I'm installing Grass the same way I used to (building from
source, --prefix=/usr/local).
I tried adding 'set -x' debugging flag at the top of
$GISBASE/etc/Init.sh, but the output still doesn't explain why the sudo
tip could be printed, here goes few lat lines of the output:
+ '[' -f /usr/local/grass-6.1.cvs/locale/pl/etc/welcome ']'
+ cat /usr/local/grass-6.1.cvs/etc/welcome
Welcome to GRASS 6.1.cvs (2006)
+ echo 'GRASS homepage:
http://grass.itc.it/'
GRASS homepage: http://grass.itc.it/
+ echo 'This version running thru: Bash Shell
(/bin/bash)'
This version running thru: Bash Shell (/bin/bash)
+ echo 'Help is available with the command: g.manual -i'
Help is available with the command: g.manual -i
+ echo 'See the licence terms with: g.version -c'
See the licence terms with: g.version -c
+ '[' text = text ']'
+ echo 'Start the graphical user interface with: gis.m &'
Start the graphical user interface with: gis.m &
+ echo 'When ready to quit enter: exit'
When ready to quit enter: exit
+ case "$sh" in
+ USERHOME=/home/shoofi
+ HOME=/home/grassdata/xy/PERMANENT
+ export HOME
+ bashrc=/home/grassdata/xy/PERMANENT/.bashrc
+ rm -f /home/grassdata/xy/PERMANENT/.bashrc
+ echo 'test -z && . /etc/profile'
+ echo 'test -r ~/.alias && . ~/.alias'
+ echo 'umask 022'
+ echo 'PS1='\''GRASS 6.1.cvs (xy):\w > '\'''
++ g.gisenv GISDBASE
++ g.gisenv LOCATION_NAME
++ g.gisenv MAPSET
++ g.gisenv GISDBASE
++ g.gisenv LOCATION_NAME
++ g.gisenv MAPSET
++ g.gisenv GISDBASE
++ g.gisenv LOCATION_NAME
++ g.gisenv MAPSET
++ g.gisenv GISDBASE
++ g.gisenv LOCATION_NAME
++ g.gisenv MAPSET
+ echo 'PROMPT_COMMAND='\''if test -d
/home/grassdata/xy/PERMANENT/grid3/G3D_MASK && test
-f/home/grassdata/xy/PERMANENT/cell/MASK ; then echo [Raster and
Volume MASKs present] ; elif test -f
/home/grassdata/xy/PERMANENT/cell/MASK ; then echo [Raster MASK
present] ; elif test -d
/home/grassdata/xy/PERMANENT/grid3/G3D_MASK ; then echo [Volume
MASK present] ; fi'\'''
+ '[' -r /home/shoofi/.grass.bashrc ']'
+ echo 'export
PATH="/usr/local/grass-6.1.cvs/bin:/usr/local/grass-6.1.cvs/scripts:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games:/home/shoofi/bin/moje:/usr/lib/qt3//bin:/home/shoofi/bin/FWTools-linux-1.0.0a7/bin_safe:/home/shoofi/bin"'
+ echo 'export HOME="/home/shoofi"'
+ /usr/local/grass-6.1.cvs/etc/run /bin/bash
To run a command as administrator (user "root"), use "sudo
<command>".
See "man sudo_root" for details.
To run a command as administrator (user "root"), use "sudo
<command>".
See "man sudo_root" for details.
GRASS 6.1.cvs (xy):~ >
Any ideas?
Maciek
More information about the grass-user
mailing list