nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Issue related to shells

This is a discussion on Issue related to shells within the Getting started tutorials forums, part of the Linux Getting Started category; What is the difference between login shell-non login shell and nologin shell? How will you classify whether it's login shell ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Getting started tutorials

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-09-2007, 11:44 PM
Junior Member
User
 
Join Date: Jul 2007
Location: Hyderabad
My distro: Redhat RHEL, Solaris
Posts: 29
Rep Power: 0
vaibhav.kanchan is on a distinguished road
Unhappy Issue related to shells

What is the difference between login shell-non login shell and nologin shell? How will you classify whether it's login shell or non login shell in standalone linux system? What do you mean by Interactive shell and non Interative shell? I will be very thankful to you if I get any suggestion on it...
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-11-2007, 04:49 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Any distro with shell
Posts: 973
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Quote:
Originally Posted by vaibhav.kanchan View Post
What is the difference between login shell-non login shell and nologin shell? How will you classify whether it's login shell or non login shell in standalone linux system? What do you mean by Interactive shell and non Interative shell? I will be very thankful to you if I get any suggestion on it...
login shell - you get $ or # prompt and you can type commands
non login shell - no $ or # prompt and no need to type commands, it is good for running script and automated stuff
nologin shell - User has account but cannot login to server, useful for email/pop3 services. Also useful for running daemon process such as httpd
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
  #3 (permalink)  
Old 07-12-2007, 10:59 PM
Junior Member
User
 
Join Date: Jul 2007
Location: Hyderabad
My distro: Redhat RHEL, Solaris
Posts: 29
Rep Power: 0
vaibhav.kanchan is on a distinguished road
Exclamation Thx for your reply..

thx a lot for replying to my query.

Do system users usually have non loginshell? I am asking this because they do not have permissions like normal users and root. Am I correct?
Reply With Quote
  #4 (permalink)  
Old 07-12-2007, 11:15 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Any distro with shell
Posts: 973
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Quote:
Originally Posted by vaibhav.kanchan View Post
thx a lot for replying to my query.

Do system users usually have non loginshell? I am asking this because they do not have permissions like normal users and root. Am I correct?
No problem.

Usually yes, system account cannot be used for other purpose
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
  #5 (permalink)  
Old 03-25-2008, 12:52 AM
Member
User
 
Join Date: Mar 2008
My distro: Debian, Slackware, LFS
Posts: 83
Rep Power: 1
Tux-Idiot is on a distinguished road
Default

man 1 login
man 5 login.defs
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
its related to linux , interrupts.. venkateswarlu Coding in General 3 12-11-2007 05:28 PM
How to get xen related api's in Suse sles10 sp1 namitha XEN 1 12-05-2007 03:12 PM
lighty: mysql issue when chroot enabled TECK Web servers 11 11-24-2007 11:06 AM
Log Off Issue tkinsella Linux software 1 08-30-2005 03:03 PM
What is heap and how it is a related with gcc? Coding in General 3 06-03-2005 10:41 AM


All times are GMT +5.5. The time now is 04:33 AM.


Powered by vBulletin® Version 3.7.3 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36