Changing Shells on IBM AIX


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
# 1  
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.
# 2  
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
# 3  
Edit the /usr/lib/security/mkuser.default file

Hi there,

A default shell can be changed in the subject file.

Thanks.
# 4  
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
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #129
Difficulty: Easy
The original Linux source code was developed by Linus Torvalds and the GNU Foundation.
True or False?

10 More Discussions You Might Find Interesting

1. AIX

IBM Virtual Machine OS on intel x86 and x64? IBM AIX OS on IBM Virtual Machine?

Hi There, I have zero information and zero knowledge for IBM virtual machine except Amazon cloud and VMware ESXi (Only Linux OS available). Anyone could provide me the following answer - Can IBM VM been deploy on X86 and X64 (Intel Chip)? If answer is yes any chance to deploy AIX OS... (13 Replies)
Discussion started by: chenyung
13 Replies

2. AIX

IBM P5 AIX Installtion

Hello, I am new to the area of ​​IBM AIX. I want a AIX 6.1 on IBM P5 server with four scsi hard disk size is 72GB each. after the the new boot from cdrom for the installtion. I could not find any Hard Disk (hdisk0). how can I configure the hard disk or find the Hard disk by first... (1 Reply)
Discussion started by: alkhatw
1 Replies

3. AIX

pwage-aix for IBM AIX servers

This is the password aging script for aix just completed. So far tested and still testing on one of our aix server running 5.3.0.0. So anyway as you can see it is very similar to pwage-hpux-T the only difference on aix /etc/passwd file looks in this format. Also for this script to work you need to... (0 Replies)
Discussion started by: sparcguy
0 Replies

4. AIX

IBM AIX on IBM Eseries & x series server

Hi, I want to know whether IBM AIX can be installed on the IBM e series and x series server hardware? Thanks & Regards Arun (2 Replies)
Discussion started by: Arun.Kakarla
2 Replies

5. AIX

Completed IBM AIX

Yesterday I complted IBM AIX Certification (000-223). Passed 74% (8 Replies)
Discussion started by: udayn
8 Replies

6. AIX

Command for changing date in IBM AIX

Hello everybody, plz tell me the command for chaging the date paramater in IBM AIX.. (3 Replies)
Discussion started by: oracle_rajesh_k
3 Replies

7. UNIX for Dummies Questions & Answers

changing shells in unix (im using putty)

hi. im new here. im taking a UNIX OS class and im in need of some help how do i change my shell in UNIX? for homework i need to edit the tcshrc file (to include aliases) in my home directory but its not there. so i think switching shells will create the file. am i correct? I'm using PuTTy.... (1 Reply)
Discussion started by: alpha_centauri
1 Replies

8. AIX

ibm aix L1

hello all, can anyone send me ibm aix L1 interview questions... thank u guys...jiyojith (0 Replies)
Discussion started by: jiyojith
0 Replies

9. UNIX for Advanced & Expert Users

how is IBM-AIX better..?

why IBM-AIX is preferred over HP-UX ..... In what way it is better for infrastructure......? Suggestions are welcome... Suggest you read the RULES (0 Replies)
Discussion started by: bishweshwar
0 Replies

10. AIX

Help-----ibm Aix???

:confused: Hello everybody, I am a totel dummy when it comes to UNIX!!! Must be wondering what I am doing here right? I'm most keen on knowing about-it-all. I need help. Wanna know all about the IBM AIX. The versions, the latest. Please tell me how do I go about my search. Thanks a... (3 Replies)
Discussion started by: rtanuja
3 Replies

Featured Tech Videos