You are not logged in.

#1 2008-03-23 00:37:12

Lexion
Member
Registered: 2008-03-23
Posts: 510

sudo died when I ran kdemod

I was installing kdemod, and I was tweaking my xinitrc file to work.
I got an error message from kdemod that it couldn't find the command
'kdeinit'.  I tried startx again, and after trying to start the server it
logged out.  When I logged in sudo didn't recognize ANY command. i.e.

username@host ~$ sudo ls
sudo: ls: command not found

I reinstalled sudo with a new sudoers file and changed the 'root' to my username,
but it didn't work.  Any idea what's wrong?

EDIT: 'halt' didn't work either.

Last edited by Lexion (2008-03-23 00:40:50)


urxvtc / wmii / zsh / configs / onebluecat.net
Arch will not hold your hand

Offline

#2 2008-03-23 03:47:34

Basu
Member
From: Cornell University
Registered: 2006-12-15
Posts: 296
Website

Re: sudo died when I ran kdemod

my halt has died on me too, but everything else is ok, or at least seems to be. I don't know how to shut down my computer!!!


The Bytebaker -- Computer science is not a science and it's not about computers
Check out my open source software at Github

Offline

#3 2008-03-23 11:48:35

Lexion
Member
Registered: 2008-03-23
Posts: 510

Re: sudo died when I ran kdemod

Today I booted linux and I ran 'cd' which should take me to the home directory.
I would think that that means that 'HOME' isn't set right.  Isn't 'HOME' set by bash
or '.bashrc'?


urxvtc / wmii / zsh / configs / onebluecat.net
Arch will not hold your hand

Offline

#4 2008-03-24 01:11:09

Basu
Member
From: Cornell University
Registered: 2006-12-15
Posts: 296
Website

Re: sudo died when I ran kdemod

I just saw that /sbin has been removed from my path, one I put that back, things were back to normal, but this is certainly somewhat weird


The Bytebaker -- Computer science is not a science and it's not about computers
Check out my open source software at Github

Offline

#5 2008-03-24 11:59:56

Lexion
Member
Registered: 2008-03-23
Posts: 510

Re: sudo died when I ran kdemod

Which path?  Sorry for the n00bish question, but I couldn't find it.


urxvtc / wmii / zsh / configs / onebluecat.net
Arch will not hold your hand

Offline

Board footer

Powered by FluxBB