Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
SUSE / openSUSE This Forum is for the discussion of Suse Linux.


  Search this Thread
Old 01-16-2006, 05:59 PM   #1
Geetha S R
LQ Newbie
Registered: Jan 2006
Posts: 3

Rep: Reputation: 0
Adding user creating command not found problem

I am working with Suse Linux Enterprise server 9 on VMware. Whenever i add new users the software gets problem in loading. now i got a problem in using the linux common commands like ls, ifconfig. error getting command not found. Can not logon to any user. When i oopen terminal window i get a message " bash: /bin/ls: No such file or directory;" what's the problem.
Old 01-16-2006, 06:07 PM   #2
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Command not found means you tried to run a file that did not exist on your path as an executable. But there's not enough info there to answer your problem - except maybe by someone who had exactly the same problem

Can you please post what you were doing to get the errors (had you just upgraded or removed some software), whether you were logged in as root (or an ordinary user) and the exact error messages?
Old 01-17-2006, 03:22 AM   #3
Geetha S R
LQ Newbie
Registered: Jan 2006
Posts: 3

Original Poster
Rep: Reputation: 0
I have installed suse linux in vmware. I was just practicing some linux commands, like adding users, deleting users that'st. before it was working properly. After adding user (command used: adduser -c "Geetha" -m geetha; passwd geetha) after this command i loged in as user geetha i could'nt properly and not able to few linux commands like ls, path, ifconfig. and few commands are working like vi. i was
Old 01-17-2006, 08:20 AM   #4
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,513

Rep: Reputation: 58
I would guess that the PATH variable is messed-up somehow. Type 'echo $PATH' to see whether /bin, /usr/bin, etc. are appearing. Can you change to /bin?

I'd suggest to use YaST to add new users. This way you ensure that everything will be set properly.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem creating new user Alexo Linux - Newbie 6 06-04-2005 05:31 PM
what is the command to make a user change their password after creating a new user? naweenio Linux - Newbie 7 01-05-2005 08:07 AM
User Login Problem: "command not found" unless root! DreameR-X Linux - General 15 12-21-2004 12:27 PM
problem in creating new user ako Linux - Newbie 2 04-22-2004 03:57 AM
adding a user in the command line Daredevil Linux - Newbie 5 02-27-2004 01:56 PM > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 04:22 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration