Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

where to change my $SHELL ?

Status
Not open for further replies.

haneo

Programmer
Jan 2, 2002
274
CA
where is the shell programme set for usrs?
 
You can set a users shell in a couple of different ways. The best way to set it is in the passwd file.
IE:
user:*:*:* User desc:/:/bin/sh

You can also set it in a .profile so when they log on it automatically launches their shell.
 
you can also interchange from shell by simply typing in the shell you want e.g

box# csh

to give you a csh shell


IP
 
I have now changed /etc/passwd with vi

user:*:*:* User desc:/:/PATH-HERE/bash

but when connecting i am using sh not bash ???!!!

I am lost
 
Do yourself a favor and install webmin, its in the ports collection.

/usr/ports/sysutils/webmin
make
make install

Use the web interface to manage your user accounts. While webmin can be setup to use SSL, take security precautions as you see fit, it uses port 10000 by default.
 
bash3r thanks for exllent help !!!!

i found another manner more "intelligent" just issue : chsh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top