Can't execute commands when logged in as ordinary user....
I've got a (hopefully) small problem,
I can't execute most commands when logged in as an ordinary user. I see from the echo $PATH command that the commands I'm trying to execute are not in there, specifically /sbin. If I su to root the path does not change and I still can't execute the commands in /sbin. Is there any good reason Linux has different default paths (I'm thinking security to stop ordinary users doin' stuff they shouldn't) for root and ordinary users and if so then why doesn't su'ing to root also modify the path to that of root?
It's easy for me to just add the /sbin directory to the path but is this wise?
I'm not an enterprise setup or anything and nobody but me (or a cracker) is gonna screw things up so I guess I'm just curious?
Thanks for any answers.