Unix Technical Forum

Setting default shell in AIX

This is a discussion on Setting default shell in AIX within the AIX Operating System forums, part of the Unix Operating Systems category; --> Can anyone tell me how to set the default shell in AIX. I have the ..profile file in which ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 08:05 AM
smiletolead
 
Posts: n/a
Default Setting default shell in AIX

Can anyone tell me how to set the default shell in AIX. I have the
..profile file in which I have the
line 'export SHELL=/usr/bin/bash'. But this doesn't make bash as my
default shell.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 08:05 AM
 
Posts: n/a
Default Re: Setting default shell in AIX

smiletolead <developeratca@gmail.com> wrote:
s> Can anyone tell me how to set the default shell in AIX. I have the
s> .profile file in which I have the
s> line 'export SHELL=/usr/bin/bash'. But this doesn't make bash as my
s> default shell.
s>

Either done by setting the "Initial PROGRAM" to that shell in 'smitty mkuser'
on a user-by-user basis, or edit the '/usr/lib/security/mkuser.default' file.

--
"... I shook my family tree, and a bunch of NUTS fell out ..."
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-05-2008, 08:05 AM
Gary R. Hook
 
Posts: n/a
Default Re: Setting default shell in AIX

bela@bluedog.cc.emory.edu wrote:
> smiletolead <developeratca@gmail.com> wrote:
> s> Can anyone tell me how to set the default shell in AIX. I have the
> s> .profile file in which I have the
> s> line 'export SHELL=/usr/bin/bash'. But this doesn't make bash as my
> s> default shell.
> s>
>
> Either done by setting the "Initial PROGRAM" to that shell in 'smitty mkuser'
> on a user-by-user basis, or edit the '/usr/lib/security/mkuser.default' file.


"chsh" should do the trick.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-05-2008, 08:11 AM
A.Teterkin
 
Posts: n/a
Default Re: Setting default shell in AIX

Also you can do it by manually editing /etc/passwd
May be it is a wrong way, but I didn't have problems so far.
And smitty parses this correctly.
Some how I couldn't do that through smitty itself.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-05-2008, 08:11 AM
Dave
 
Posts: n/a
Default Re: Setting default shell in AIX

smitty chuser will allow you to change it

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:54 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com