[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#81396: root shell fscked after upgrade to woody


Manoj Srivastava wrote:
>         There is not enough information in this report to actually do
>  anything about debugging the problem. You don't even mention what
>  shell you are using as /bin/sh; what you have in /etc/environemnt;
>  what you have in the configuration files for the rot user, whether
>  you have tried any debugging echo statements (or set -x); whether you
>  have wnything in /etc/profile

Pretty standard in fact. 

root@borg:~# cat /etc/passwd | grep root  
root@borg:~# cat .bashrc
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files for examples

# If running interactively, then:
if [ "$PS1" ]; then

    # enable color support of ls and also add handy aliases

    eval `dircolors`
    alias ls='ls --color=auto '
    alias ll='ls -l'
    alias la='ls -A'
    alias l='ls -CF'
    alias dir='ls --color=auto --format=vertical'
    alias vdir='ls --color=auto --format=long'

    # set a fancy prompt

    PS1='\u@\h:\w\$ '
root@borg:~# cat .bash_profile
# ~/.bash_profile: executed by bash(1) for login shells.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.

umask 022

# the rest of this file is commented out.

# include .bashrc if it exists

#if [ -f ~/.bashrc ]; then
#    source ~/.bashrc

# set PATH so it includes user's private bin if it exists

#if [ -d ~/bin ] ; then
#    PATH="echo `~/bin`:${PATH}"
root@borg:~# cat /etc/environment 

Eray (exa) Ozkural
Comp. Sci. Dept., Bilkent University, Ankara
e-mail: erayo@cs.bilkent.edu.tr
www: http://www.cs.bilkent.edu.tr/~erayo

Reply to: