The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Changing userID and Changing group and GID deal732 Shell Programming and Scripting 2 04-18-2007 07:09 AM
Version of Shells? Xplore Linux 2 08-06-2005 07:41 AM
Shells dino_leix UNIX for Advanced & Expert Users 3 06-08-2005 03:07 AM
switching shells?? xNYx UNIX for Dummies Questions & Answers 6 11-21-2002 12:43 PM
%.*s function in shells qanda Shell Programming and Scripting 6 08-20-2002 05:49 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-08-2005
Registered User
 

Join Date: Feb 2005
Posts: 1
Stumble this Post!
Changing Shells on IBM AIX

I found some answers as to how to change shells on Linux and FreeBSD but I am running AIX and was wondering if anyone knew the command for changing shells on this platform.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 02-08-2005
Registered User
 

Join Date: Jan 2005
Posts: 97
Stumble this Post!
Quote:
Originally Posted by clairepst
I found some answers as to how to change shells on Linux and FreeBSD but I am running AIX and was wondering if anyone knew the command for changing shells on this platform.

On AIX to list the available shells, at the Unix prompt, enter:

chsh

The system will then ask you if you really want to change your shell. If you press y and then Enter, you will be prompted to enter the full path of the new preferred shell. For example, to change to bash, enter:

/usr/local/bin/bash
Reply With Quote
  #3 (permalink)  
Old 05-28-2007
Registered User
 

Join Date: May 2007
Posts: 1
Stumble this Post!
Edit the /usr/lib/security/mkuser.default file

Hi there,

A default shell can be changed in the subject file.

Thanks.
Reply With Quote
  #4 (permalink)  
Old 05-30-2007
Bughunter Extraordinaire
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,099
Stumble this Post!
Beware!

Note that changing your login shell can pose problems as in AIX the allowed login shells are listed in /etc/shells AND in /etc/security/login.defs. You must edit both files and make sure your desired shell is listed in there, otherwise you would lock yourself out from the system by changing your login shell.

bakunin
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 03:53 PM.


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

Content Relevant URLs by vBSEO 3.2.0