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!

Resctricted Korn shell

Status
Not open for further replies.

xyz786

IS-IT--Management
Apr 5, 2006
45
US
How can I resctict korn shell for an user something like /usr/bin/ksh -r ,I was trying to add /usr/bin/rksh in /etc/security/login.cfg file anf tried to change the shel to /usr/bin/rksh but it was giving errors, I think rksh was not in the path mentioned above.So how can I resctrict a user to kown shell?

Thanks
 
why don't you change the users shell in /etc/passwd to /usr/bin/rksh?

Regards,
Chuck
 
yes what cspilman said is right!

i sometimes do the same but going to smitty users --> Change / Show Characteristics of a User --> User Name --> Initial PROGRAM

Regards,
Khalid
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top