The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
netbsd salehudinayubi UNIX for Dummies Questions & Answers 0 01-21-2008 09:17 PM
netbsd ibnusina202003 BSD 5 12-03-2007 02:32 AM
NetBSD Ports Phobos BSD 1 01-27-2005 11:54 AM
Starting X in NetBSD vertigo UNIX Desktop for Dummies Questions & Answers 9 03-01-2002 02:33 PM
NetBSD Troubles vertigo UNIX Desktop for Dummies Questions & Answers 3 02-25-2002 05:52 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 07-29-2002
Registered User
 

Join Date: Jul 2002
Location: new york
Posts: 1,025
bash in netbsd

i recently downloaded and installed bash on my netbsd box (1.5.2) and set my shell and my root shell using user mod to change the shell, command executed under root. bash is installed from my user home directory (home/joe) and i moved the bash executable to /bin/ and everything is fine, except i get complains from netbsd that bash isnt a valid shell, worse, i can login as root, but can not su to root from any other user, i know i did something wrong how do i fix?
Forum Sponsor
  #2  
Old 07-29-2002
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,663
Is bash in /etc/shells?
  #3  
Old 07-29-2002
Registered User
 

Join Date: Jul 2002
Location: new york
Posts: 1,025
haha nope its not, it will be as soon as i get up to walk downstairs! i knew it was something simple, thanks
  #4  
Old 07-29-2002
Registered User
 

Join Date: Jul 2002
Location: new york
Posts: 1,025
uh oh............

i put bash in etc/shells and also changed the permissions of bash to match those of the previous shell (csh), but i still cant su, i could su before i set the shell as bash and on my lin box i can su, what else could be wrong?
  #5  
Old 07-30-2002
Registered User
 

Join Date: Jul 2002
Location: new york
Posts: 1,025
ok when i su from my user, bash says :
$ >su root
Password:
su: bash: No such file or directory
bash is there though, and when i login everything is fine, but when i su thats when things get messed up.
  #6  
Old 08-01-2002
binhnx2000's Avatar
Registered User
 

Join Date: Jul 2002
Location: France
Posts: 78
Wink

I think: maybe your bash has problem. Let's reinstall bash from package or use another Shell
  #7  
Old 08-01-2002
Registered User
 

Join Date: Jul 2002
Location: new york
Posts: 1,025
maybe so, i think maybe the problem could be cause bash is installed in my home directory? i was too anxious and didnt care to copy the tgz to another directory, well ill try it and let you guys know how it went, thanks for the help
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 04:32 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0