Wednesday, April 29, 2009

Change Shell for user in Unix or Linux box

chsh -s /path/to/shell username


To change shell to ’sh’ from ‘bash’ for user ‘temp’  use below command:


Example : #chsh -s /bin/sh temp


 

No comments:

sanjay's shared items

My Blog List