Skip to Main Content
Linux Applications on pSeries
book

Linux Applications on pSeries

by Dr. Jan-Rainer Lahmann, Luis Ferreira, Janethe Co, Bjorn Roden
February 2003
Intermediate to advanced content levelIntermediate to advanced
328 pages
7h 36m
English
IBM Redbooks
Content preview from Linux Applications on pSeries
276 Linux Applications on pSeries
After you have executed the chsec command, use the lssec command to verify
that the shells attribute is correct, and if so, then remove the
/etc/security/login.cfg~1 file since it is not needed anymore:
lssec -f /etc/security/login.cfg -s usw -a shells
Since the list of allowed shells has been updated with the /usr/bin/bash
command, we can now update the login shell for a user account in the
/etc/passwd file; use the chuser command. In the following example we change
the login shell to bash for the groda user:
chuser shell=/usr/bin/bash groda
If the list of allowed shells is not updated properly, you will get a ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Red Hat Linux 6: Visual QuickPro Guide

Red Hat Linux 6: Visual QuickPro Guide

Harold Davis
Test Driving Linux

Test Driving Linux

David Brickner
Troubleshooting CentOS

Troubleshooting CentOS

Jonathan Hobson

Publisher Resources

ISBN: 0738427950Purchase book