LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-23-2003, 11:54 AM   #1
xmdms
Member
 
Registered: Oct 2003
Posts: 134

Rep: Reputation: 15
Question Adduser -


Hi - I've added a new user "Test" I can log in as Test without any problem, but I can't seem to be able to do anything like ls, or df -k with this account, it just come back and display nothing. I am using /bin/bash for this "Test" account. I have no trouble with the "root" account.

Anyone has any ideas on what's going on?


Thanks,
xmdms - newbie
 
Old 10-23-2003, 12:14 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Anything in the users $PATH ??

Type $PATH to see if the user has anything in its path that is executable, example, commands like ls, cd and such.. ??
 
Old 10-23-2003, 02:48 PM   #3
xmdms
Member
 
Registered: Oct 2003
Posts: 134

Original Poster
Rep: Reputation: 15
$path command return with no result. What's my next step?

Thank you in advance.
 
Old 10-23-2003, 04:54 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Update the users $PATH by editing their:

.bashrc
or
.bash_profile

In their home directories.

If not there, you can edit this in the global file to set the paths up in /etc/profile
 
  


Reply


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
adduser jp_ Linux - General 6 10-18-2005 03:11 PM
adduser 64bitPlaya Slackware 2 08-13-2004 06:05 PM
adduser bally Linux - General 7 08-09-2004 02:28 PM
adduser trophy Red Hat 1 05-01-2004 10:11 AM
adduser teqno Linux - Newbie 5 12-08-2003 01:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:18 AM.

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