![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using different shells in one script | sanjay1979 | Shell Programming and Scripting | 2 | 07-16-2009 06:59 PM |
| why we have different shells? | shahnazurs | UNIX for Advanced & Expert Users | 2 | 12-17-2008 12:36 AM |
| Changing Shells on IBM AIX | clairepst | AIX | 3 | 05-30-2007 05:45 AM |
| Version of Shells? | Xplore | Linux | 2 | 08-06-2005 11:41 AM |
| Shells | dino_leix | UNIX for Advanced & Expert Users | 3 | 06-08-2005 07:07 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
/etc/shells on /etc/passwd
Hi All,
Why does these list (below) doesn't belong to /etc/shells? sync:x:5:0:********************// :/sbin:/bin/sync shutdown:x:6:0:********************// :/sbin:/sbin/shutdown halt:x:7:0:********************// :/sbin:/sbin/halt webalizer:x:68:68:***************// Webalizer:/var/www/usage:/sbin/false [root@localhost ~]# Do I need to add all of it? Thanks for any comment you may add! |
|
|||||
|
Any executable you wish an account to be allowed to use as a shell should be listed in the /etc/shells file, /etc/shells only actually needs to contain the shells for interactive accounts, but to stop pwck(8) complaining you can add the others as well.
|
|
||||
|
As Tony said, the shells in /etc/shells are a list of the interactive shells for user accounts. The ones you listed are simply invoked for special accounts.
Where I work, we use special scripts to manage superusers as their shell that invokes the korn shell. It will not break anything. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|