LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 02-21-2005, 06:52 AM   #1
ziox
Member
 
Registered: Apr 2004
Distribution: RedHat, Fedora, Suse, Debian, Gentoo, Mandrake
Posts: 132

Rep: Reputation: 15
useradd,wall,shutdown,inetd,xinetd


Hi ....
Actually i've a bunch of questions i saw then in an exam and i'm frustrated with...

==============================================
tcpdchk
checks the syntax of /etc/hosts.allow , deny ...??

is it still existed when using xinetd ...?..
____________________________________________________

ftpconversions
is this file still existed ..?...is it related with vsftpd...

which daemon it is for ..?
____________________________________________________

How to take a service out from being under xinetd and make it stand alone ?
whats required to convert from inetd to xinetd ?...xinetd 'll convert the configuration files to the new syntax...or i've to creat xinetd.conf myself??

_____________________________________________________

Is there any limitation of username characters..?....
6 , 8 , 12 or 18
the answer was 8...
but it worked normal with 19 character ...
_____________________________________________________

Is kmod a valid command and could be used to load modules in kernel 2.4.x ?

i didn't here about it before....
______________________________________________________

You wish to notify all users that you have to take down a service on which
they rely ...
what command 'll allow you to send a message to all currently logged on users ? <just the command>


the answer was shutdown ....why not wall ..........??? and they'll know it's from the root also ...




_________________________________________________________


Sorry I know that they looks silly questions but necessary to me ...

_____________________________________________________
 
Old 02-21-2005, 09:34 AM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 66
I'll take on a few of these....

Was this exam assuming a certain situation?!?

Take removing something from xinet.d and making it standalone for instance.... The procedure is hardly always the same. Some server programs have built in support to run daemonized and handle everything themselves. Some don't have that kind of support. For instance, it is quite easy to move proftpd from xinet.d to standalone. The same can't be said for qmail-smtpd which requires some other tools if you are running it outside of inet.d or xinet.d.

As far as the tcpdchk... I don't use it, and I don't believe xinet.d uses it either. I believe you set the allowed and denied hosts in the individual xinet.d config files but honestly I'm not terribly familiar with xinet.d since I never use it.

Username lengths typically do default to a max of 8 but this isn't a Linux restriction at all. In fact, the kernel uses UID numbers and GID numbers exclusively and they get translated to user names and group names via the /etc/passwd and /etc/group files. Max length is usually only enforced by the useradd program and can be changed by changing an environmental variable. We usually default it to 8 to be compatible with other unix systems which had a hard max at 8.

As far as I know kmod is a kernel system dealing with modules. insmod, modprobe, rmmod, and lsmod are the user space utilities.

As for the shutdown questions... I would have said wall as well.... I was under the impression that shutdown could only be used to notify and change the runlevel (aka reboot, shutdown, go to maintenance mode, ect) and couldn't be used to take down one service... but this functionality could exist and I have just never had a need for it.
 
Old 02-22-2005, 07:05 PM   #3
ziox
Member
 
Registered: Apr 2004
Distribution: RedHat, Fedora, Suse, Debian, Gentoo, Mandrake
Posts: 132

Original Poster
Rep: Reputation: 15
Thanks
Your replay was informative of course...
this exam is was for LPI 117-102
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Inetd or Xinetd? allelopath Linux - Software 2 04-13-2005 02:03 PM
xinetd vs inetd alaios Linux - Security 6 05-01-2004 12:30 PM
inetd vs xinetd nero64 Linux - Newbie 1 11-26-2002 09:13 AM
inetd VS xinetd dave4545 Linux - Newbie 22 10-24-2002 08:07 PM
Xinetd vs. Inetd JHuizingh Linux - General 2 07-19-2002 10:45 PM


All times are GMT -5. The time now is 03:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration