/etc/rc2.d/ check if kerberos server is enabled in the log or not

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat /etc/rc2.d/ check if kerberos server is enabled in the log or not
# 1  
Old 06-12-2015
/etc/rc2.d/ check if kerberos server is enabled in the log or not

Hi,

I tried to execute a command to check if
  1. Kerberos server is enabled
  2. Printer Daemon is enabled
  3. GUI Login is enabled,

do advise how I check from the logs below on how to check whether the commands are valid or not?

Code:
ls -all /etc/rc2.d/

Code:
total 8
drwxr-xr-x.  2 root root 4096 May  6 17:10 .
drwxr-xr-x. 10 root root 4096 Jun 29  2012 ..
lrwxrwxrwx.  1 root root   20 Jun 29  2012 K01certmonger -> ../init.d/certmonger
lrwxrwxrwx.  1 root root   16 Jun 29  2012 K01smartd -> ../init.d/smartd
lrwxrwxrwx.  1 root root   22 Jun 29  2012 K02avahi-daemon -> ../init.d/avahi-daemon
lrwxrwxrwx.  1 root root   17 Jun 29  2012 K02oddjobd -> ../init.d/oddjobd
lrwxrwxrwx.  1 root root   13 Jun 29  2012 K05atd -> ../init.d/atd
lrwxrwxrwx.  1 root root   16 Jun 29  2012 K10psacct -> ../init.d/psacct
lrwxrwxrwx.  1 root root   19 Jun 29  2012 K10saslauthd -> ../init.d/saslauthd
lrwxrwxrwx.  1 root root   15 Jun 29  2012 K15httpd -> ../init.d/httpd
lrwxrwxrwx.  1 root root   15 Jun 29  2012 K16abrtd -> ../init.d/abrtd
lrwxrwxrwx.  1 root root   17 Jun 29  2012 K50dnsmasq -> ../init.d/dnsmasq
lrwxrwxrwx.  1 root root   20 Jun 29  2012 K50netconsole -> ../init.d/netconsole
lrwxrwxrwx.  1 root root   15 Jun 29  2012 K50snmpd -> ../init.d/snmpd
lrwxrwxrwx.  1 root root   19 Jun 29  2012 K50snmptrapd -> ../init.d/snmptrapd
lrwxrwxrwx.  1 root root   13 Jun 29  2012 K60nfs -> ../init.d/nfs
lrwxrwxrwx.  1 root root   20 Jun 29  2012 K69rpcsvcgssd -> ../init.d/rpcsvcgssd
lrwxrwxrwx.  1 root root   16 Jun 29  2012 K72autofs -> ../init.d/autofs
lrwxrwxrwx.  1 root root   16 Jun 29  2012 K73ypbind -> ../init.d/ypbind
lrwxrwxrwx.  1 root root   19 Jun 29  2012 K74haldaemon -> ../init.d/haldaemon
lrwxrwxrwx.  1 root root   14 Jun 29  2012 K74nscd -> ../init.d/nscd
lrwxrwxrwx.  1 root root   14 Jun 28  2012 K74ntpd -> ../init.d/ntpd
lrwxrwxrwx.  1 root root   15 Jun 29  2012 K75netfs -> ../init.d/netfs
lrwxrwxrwx.  1 root root   17 Jun 29  2012 K75ntpdate -> ../init.d/ntpdate
lrwxrwxrwx.  1 root root   15 Jun 28  2012 K80kdump -> ../init.d/kdump
lrwxrwxrwx.  1 root root   14 Jun 29  2012 K80sssd -> ../init.d/sssd
lrwxrwxrwx.  1 root root   19 Jun 29  2012 K83bluetooth -> ../init.d/bluetooth
lrwxrwxrwx.  1 root root   17 Jun 28  2012 K83nfslock -> ../init.d/nfslock
lrwxrwxrwx.  1 root root   17 Jun 28  2012 K83rpcgssd -> ../init.d/rpcgssd
lrwxrwxrwx.  1 root root   19 Jun 28  2012 K83rpcidmapd -> ../init.d/rpcidmapd
lrwxrwxrwx.  1 root root   24 Jun 28  2012 K84wpa_supplicant -> ../init.d/wpa_supplicant
lrwxrwxrwx.  1 root root   15 Jun 29  2012 K86cgred -> ../init.d/cgred
lrwxrwxrwx.  1 root root   20 Jun 29  2012 K87irqbalance -> ../init.d/irqbalance
lrwxrwxrwx.  1 root root   21 Jun 29  2012 K87restorecond -> ../init.d/restorecond
lrwxrwxrwx.  1 root root   15 Jun 29  2012 K88nslcd -> ../init.d/nslcd
lrwxrwxrwx.  1 root root   15 Jun 29  2012 K89rdisc -> ../init.d/rdisc
lrwxrwxrwx.  1 root root   18 Jun 29  2012 K95cgconfig -> ../init.d/cgconfig
lrwxrwxrwx.  1 root root   19 Jun 28  2012 K95firstboot -> ../init.d/firstboot
lrwxrwxrwx.  1 root root   23 Jun 29  2012 S00microcode_ctl -> ../init.d/microcode_ctl
lrwxrwxrwx.  1 root root   17 Jun 29  2012 S01sysstat -> ../init.d/sysstat
lrwxrwxrwx.  1 root root   22 Jun 29  2012 S02lvm2-monitor -> ../init.d/lvm2-monitor
lrwxrwxrwx.  1 root root   22 May  6 17:10 S03vmware-tools -> ../init.d/vmware-tools
lrwxrwxrwx.  1 root root   19 Jun 29  2012 S08ip6tables -> ../init.d/ip6tables
lrwxrwxrwx.  1 root root   18 Jun 29  2012 S08iptables -> ../init.d/iptables
lrwxrwxrwx.  1 root root   17 Jun 29  2012 S10network -> ../init.d/network
lrwxrwxrwx.  1 root root   16 Jun 29  2012 S11auditd -> ../init.d/auditd
lrwxrwxrwx.  1 root root   21 Jun 29  2012 S11portreserve -> ../init.d/portreserve
lrwxrwxrwx.  1 root root   17 Jun 29  2012 S12rsyslog -> ../init.d/rsyslog
lrwxrwxrwx.  1 root root   18 Jun 29  2012 S13cpuspeed -> ../init.d/cpuspeed
lrwxrwxrwx.  1 root root   17 Jun 29  2012 S13rpcbind -> ../init.d/rpcbind
lrwxrwxrwx.  1 root root   19 Jun 29  2012 S15mdmonitor -> ../init.d/mdmonitor
lrwxrwxrwx.  1 root root   20 Jun 29  2012 S22messagebus -> ../init.d/messagebus
lrwxrwxrwx.  1 root root   24 Jun 29  2012 S23NetworkManager -> ../init.d/NetworkManager
lrwxrwxrwx.  1 root root   14 Jun 29  2012 S25cups -> ../init.d/cups
lrwxrwxrwx.  1 root root   15 Jun 29  2012 S26acpid -> ../init.d/acpid
lrwxrwxrwx.  1 root root   19 Jun 29  2012 S26udev-post -> ../init.d/udev-post
lrwxrwxrwx.  1 root root   14 Jun 29  2012 S55sshd -> ../init.d/sshd
lrwxrwxrwx.  1 root root   32 May  6 17:10 S57vmware-tools-thinprint -> ../init.d/vmware-tools-thinprint
lrwxrwxrwx.  1 root root   17 Jun 29  2012 S80postfix -> ../init.d/postfix
lrwxrwxrwx.  1 root root   15 Jun 29  2012 S90crond -> ../init.d/crond
lrwxrwxrwx.  1 root root   15 Jun 29  2012 S97rhnsd -> ../init.d/rhnsd
lrwxrwxrwx.  1 root root   11 Jun 29  2012 S99local -> ../rc.local


Last edited by rbatte1; 06-12-2015 at 08:12 AM.. Reason: Converted text list to formatted list
# 2  
Old 06-12-2015
It's not scientific because you are just relying on the file names, but these files are read when you server changes run-level. When starting run-level 2, each of the S* scripts will be run in turn with a parameter of start This list gives you an idea of what will be attempted to be started, but the best way is to query the current state:-
Code:
service --status-all

This will list every service (started like this) so you may need to fileter the output.

Does that help?



Robin
# 3  
Old 06-13-2015
thanks robin, but the results files were back already. Is there anyway to read it from kerberos from rc2.d, if kerberos is there what will it look like.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Authenticating with SSSD / Kerberos against Windows Server 2012 R2

I'm authenticating with SSSD / Kerberos against Windows Server 2012 R2. I've setup credentails delegation using these options: Host * GSSAPIAuthentication yes GSSAPIDelegateCredentials yes GSSAPITrustDns yes For both client/server but no luck. I've read online that I need to run... (2 Replies)
Discussion started by: Devyn
2 Replies

2. HP-UX

Problem in Configuring kerberos Server on HPUX

Hi, I am getting this error during kerberos server setup in HPUX 11.31 : kdb_create: unknown LDAP backend error while adding master entry to the database ps -ef|grep ldap root 3905 1 0 13:11:36 ? 0:00 /opt/ldapux/bin/ldapclientd Unable to find out the meaning of this... (1 Reply)
Discussion started by: Amit Kulkarni
1 Replies

3. BSD

Kerberos log file does not log when ticket is destroyed

Hi, in the log file there is line when the ticket is issued but when an user destroys the ticket there is no record. Does someone have an idea? (0 Replies)
Discussion started by: gaspar
0 Replies

4. Red Hat

Kerberos Test Server for training purposes

Dear all I am appearing for the RHCE exam next week (wish me luck). While training for the exam, i am supposed to configure the client to log on using an LDAP server that is also using TLS and Kerberos for authentication. Server setup is not included in the exam requirements only the client... (7 Replies)
Discussion started by: abohmeed
7 Replies

5. Solaris

LDAP Problem during Kerberos setting for Win server 03 Active Directory

Hi, FYI, I'm new in Solaris I'm trying to use Kerberos on authenticating LDAP Client with the Active Directory on Windows Server 2003 on both Solaris 10 5/08 and Solaris 10 9/10 by referring to the pdf file kerberos_s10.pdf available at sun official site. ... (0 Replies)
Discussion started by: chongzh
0 Replies

6. Shell Programming and Scripting

Automating file transfer between two SSH enabled server.

Hi Experts, Few more words to the title, both the servers are ssh enabled but I have read only access to the second server, so I cannot automate SFTP process using RSA/DSA keys. I am using Control M to trigger the script and do not want any manual intervention to enter the password to complete... (4 Replies)
Discussion started by: nchourasiya
4 Replies

7. Shell Programming and Scripting

How ti check if passwordless ssh is enabled between two systems

I am writing a script which will execute commands on remote host only if they have a passwordless ssh setup. How do i check for that in my script (5 Replies)
Discussion started by: vickylife
5 Replies

8. Shell Programming and Scripting

Generate Public Key when the server is not ssh enabled

I am writing a script that needs to access various servers some of which are not ssh enabled. In order to access the ssh enabled servers I am using the following command to generate the public key : ssh-keygen -t rsa Is there a similar command for the other servers as well. If I try to use... (1 Reply)
Discussion started by: ravneet123
1 Replies
Login or Register to Ask a Question