Re: Runlevel3 services





--- Ali Helmy <alihelmy@xxxxxxxxx> wrote:

On 23/04/06, Antonio Olivares
<olivares14031@xxxxxxxxx> wrote:

$ su -
password: ******
# service acpid start
# service messagebus start

Regards,

Antonio


I don't have the service in my usr/bin, nor even
when i su to root... i
press serv and tab and all i get is servertool and
others... how do i get to
use the service command?

--
Cheers,
A. Helmy
==================
One Life... LIVE It
==================
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe:
https://www.redhat.com/mailman/listinfo/fedora-list

serivice rcscript start|stop|restart
is a shortcut for
/etc/rc.d/init.d/rcscript restart
to save time/keystrokes.

[olivares@localhost ~]$ su -
Password:
[root@localhost ~]# service --help
Usage: service < option > | --status-all | [
service_name [ command | --full-restart ] ]

To list the services available do an
ls /etc/rc.d/init.d/ -l

you should get something like
[root@localhost ~]# ls /etc/rc.d/init.d/ -l
total 1116
-rwxr-xr-x 1 root root 1128 Aug 9 2004 acpid
-rwxr-xr-x 1 root root 1769 Oct 12 2004 amd
-rwxr-xr-x 1 root root 834 Sep 28 2004 anacron
-rwxr-xr-x 1 root root 1429 Jun 21 2004 apmd
-rwxr-xr-x 1 root root 4404 Aug 31 2004
arptables_jf
-rwxr-xr-x 1 root root 1041 Oct 12 2004 arpwatch
-rwxr-xr-x 1 root root 2266 Jun 15 2004 atalk
-rwxr-xr-x 1 root root 1176 Oct 5 2004 atd
-rwxr-xr-x 1 root root 12603 Oct 15 2004 autofs
-rwxr-xr-x 1 root root 1137 Oct 8 2004 bgpd
-rwxr-xr-x 1 root root 1368 Aug 16 2004 bluetooth
-rwxr-xr-x 1 root root 1222 Jul 2 2004 bootparamd
-rwxr-xr-x 1 root root 1420 Sep 28 2004 canna
-rwxr-xr-x 1 root root 1572 Oct 20 2004 cpuspeed
-rwxr-xr-x 1 root root 1297 Oct 15 2004 crond
-rwxr-xr-x 1 root root 2312 Oct 26 2004 cups
-rwxr-xr-x 1 root root 1424 Oct 22 2004
cups-config-daemon
-rwxr-xr-x 1 root root 3315 Oct 5 2004 cyrus-imapd
-rwxr-xr-x 1 root root 1502 Aug 31 2004 dc_client
-rwxr-xr-x 1 root root 1344 Aug 31 2004 dc_server
-rwxr-xr-x 1 root root 1606 Oct 18 2004 dhcp6s
-rwxr-xr-x 1 root root 1497 Oct 6 2004 dhcpd
-rwxr-xr-x 1 root root 1448 Oct 6 2004 dhcrelay
-rwxr-xr-x 1 root root 1065 Oct 4 2004 dictd
-rwxr-xr-x 1 root root 4565 Sep 29 2004 diskdump
-rwxr-xr-x 1 root root 917 Oct 21 2004 dovecot
-rwxr-xr-x 1 root root 968 Aug 16 2004 dund
-rwxr-xr-x 1 root root 1761 Oct 7 2004 exim
-rwxr-xr-x 1 root root 1944 Oct 18 2004 firstboot
-rwxr-xr-x 1 root root 1580 Oct 28 2004 FreeWnn
-rwxr-xr-x 1 root root 10721 Oct 27 2004 functions
-rwxr-xr-x 1 root root 1036 Sep 6 2004 gkrellmd
-rwxr-xr-x 1 root root 1778 Oct 21 2004 gpm
-rwxr-xr-x 1 root root 1388 Oct 28 2004 haldaemon
-rwxr-xr-x 1 root root 6029 Oct 3 2004 halt
-rwxr-xr-x 1 root root 1001 Aug 16 2004 hidd
-rwxr-xr-x 1 root root 266 Sep 22 2004 hpoj
-rwxr-xr-x 1 root root 2786 Oct 15 2004 httpd
-rwxr-xr-x 1 root root 1018 Oct 29 2004 iiim
-rwxr-xr-x 1 root root 2797 Oct 5 2004 innd
-rwxr-xr-x 1 root root 7214 Sep 17 2004 ip6tables
-rwxr-xr-x 1 root root 4606 Oct 21 2004 ipsec
-rwxr-xr-x 1 root root 7135 Sep 17 2004 iptables
-rwxr-xr-x 1 root root 2423 Jun 15 2004 ipvsadm
-rwxr-xr-x 1 root root 1487 Oct 4 2004 irda
-rwxr-xr-x 1 root root 1744 Oct 20 2004 irqbalance
-rwxr-xr-x 1 root root 6183 Oct 5 2004 isdn
-rwxr-xr-x 1 root root 1305 Jun 15 2004 isicom
-rwxr-xr-x 1 root root 1775 Aug 31 2004 kadmin
-rwxr-xr-x 1 root root 1084 Aug 31 2004 kdcrotate
-rwxr-xr-x 1 root root 652 Sep 3 2003 killall
-rwxr-xr-x 1 root root 1282 Aug 31 2004 kprop
-rwxr-xr-x 1 root root 1269 Aug 31 2004 krb524
-rwxr-xr-x 1 root root 1434 Aug 31 2004 krb5kdc
-rwxr-xr-x 1 root root 2095 Oct 12 2004 kudzu
-rwxr-xr-x 1 root root 3068 Aug 19 2004 ldap
-rwxr-xr-x 1 root root 1684 Sep 29 2004 lisa
-rwxr-xr-x 1 root root 3097 Oct 14 2004 lm_sensors
-rwxr-xr-x 1 root root 3259 Oct 18 2004 mailman
-rwxr-xr-x 1 root root 1700 Oct 4 2004 mdmonitor
-rwxr-xr-x 1 root root 1613 Oct 4 2004 mdmpd
-rwxr-xr-x 1 root root 1520 Oct 4 2004
mDNSResponder
-rwxr-xr-x 1 root root 1746 Oct 13 2004 messagebus
-rwxr-xr-x 1 root root 1540 Oct 20 2004
microcode_ctl
-rwxr-xr-x 1 root root 2467 Oct 12 2004 mysqld
-rwxr-xr-x 1 root root 3184 Oct 18 2004 named
-rwxr-xr-x 1 root root 9037 Sep 29 2004 netdump
-rwxr-xr-x 1 root root 1283 Sep 29 2004
netdump-server
-rwxr-xr-x 1 root root 5739 Aug 12 2004 netfs
-rwxr-xr-x 1 root root 1303 Sep 30 2004 netplugd
-rwxr-xr-x 1 root root 8411 Sep 27 2004 network
-rwxr-xr-x 1 root root 1475 Oct 29 2004
NetworkManager
-rwxr-xr-x 1 root root 4040 Oct 17 2004 nfs
-rwxr-xr-x 1 root root 2835 Oct 17 2004 nfslock
-rwxr-xr-x 1 root root 1299 Oct 4 2004 nifd
-rwxr-xr-x 1 root root 2154 Oct 27 2004 nscd
-rwxr-xr-x 1 root root 3055 Oct 11 2004 ntpd
-rwxr-xr-x 1 root root 1161 Oct 8 2004 ospf6d
-rwxr-xr-x 1 root root 1137 Oct 8 2004 ospfd
-rwxr-xr-x 1 root root 1144 Aug 16 2004 pand
-rwxr-xr-x 1 root root 4431 Sep 29 2004 pcmcia
-rwxr-xr-x 1 root root 1877 Aug 12 2004 portmap
-rwxr-xr-x 1 root root 2597 Oct 18 2004 postfix
-rwxr-xr-x 1 root root 6803 Oct 23 2004 postgresql
-rwxr-xr-x 1 root root 9332 Sep 9 2004 privoxy
-rwxr-xr-x 1 root root 1021 Sep 1 2004 psacct
-rwxr-xr-x 1 root root 1821 Oct 6 2004 radiusd
-rwxr-xr-x 1 root root 1501 Aug 26 2004 radvd
-rwxr-xr-x 1 root root 1066 Jun 15 2004 rarpd
-rwxr-xr-x 1 root root 790 Oct 20 2004 readahead
-rwxr-xr-x 1 root root 795 Oct 20 2004
readahead_early
-rwxr-xr-x 1 root root 1782 Oct 27 2004 rhnsd
-rwxr-xr-x 1 root root 1120 Oct 8 2004 ripd
-rwxr-xr-x 1 root root 1156 Oct 8 2004 ripngd
-rwxr-xr-x 1 root root 1404 Jun 15 2004 routed
-rwxr-xr-x 1 root root 1920 Oct 17 2004 rpcgssd
-rwxr-xr-x 1 root root 1803 Oct 17 2004 rpcidmapd
-rwxr-xr-x 1 root root 1898 Oct 17 2004 rpcsvcgssd
-rwxr-xr-x 1 root root 1009 Jul 12 2004 rstatd
-rwxr-xr-x 1 root root 1113 Jul 12 2004 rusersd
-rwxr-xr-x 1 root root 1069 Sep 29 2004 rwalld
-rwxr-xr-x 1 root root 1010 Jun 15 2004 rwhod
-rwxr-xr-x 1 root root 1547 Oct 7 2004 saslauthd
-rwxr-xr-x 1 root root 3348 Sep 1 2004 sendmail
-rwxr-xr-x 1 root root 1175 Jul 10 2002 single
-rwxr-xr-x 1 root root 2402 Apr 7 08:12 slmodemd
-rwxr-xr-x 1 root root 1790 Apr 7 08:12 slmodemd~
-rwxr-xr-x 1 root root 2247 Oct 20 2004 smartd
-rwxr-xr-x 1 root root 2020 Oct 19 2004 smb
-rwxr-xr-x 1 root root 1578 Oct 15 2004 snmpd
-rwxr-xr-x 1 root root 1202 Oct 15 2004 snmptrapd
-rwxr-xr-x 1 root root 1434 Oct 18 2004
spamassassin
-rwxr-xr-x 1 root root 3283 Oct 18 2004 squid
-rwxr-xr-x 1 root root 2885 Sep 20 2004 sshd
-rwxr-xr-x 1 root root 1369 Aug 2 2004 syslog
-rwxr-xr-x 1 root root 1094 Jun 30 2004 sysstat
-rwxr-xr-x 1 root root 2796 Jul 7 2004 tux
-rwxr-xr-x 1 root root 1975 Oct 5 2004 ups
-rwxr-xr-x 1 root root 1896 Oct 6 2004 vncserver
-rwxr-xr-x 1 root root 1880 Oct 4 2004 vsftpd
-rwxr-xr-x 1 root root 1555 Oct 19 2004 winbind
-rwxr-xr-x 1 root root 3710 Oct 20 2004 xfs
-rwxr-xr-x 1 root root 2497 Jun 18 2004 xinetd
-rwxr-xr-x 1 root root 2497 Oct 15 2004 ypbind
-rwxr-xr-x 1 root root 1638 Oct 14 2004 yppasswdd
-rwxr-xr-x 1 root root 1624 Oct 14 2004 ypserv
-rwxr-xr-x 1 root root 1133 Oct 14 2004 ypxfrd
-rwxr-xr-x 1 root root 1036 Oct 30 2004 yum
-rwxr-xr-x 1 root root 1110 Oct 8 2004 zebra
[root@localhost ~]#

Hope this helps,

Antonio


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: how to change roots shell
    ... Im going to see if I can walk a user at the site through single user mode. ... su to root or even login as root. ... Do You Yahoo!? ... Mail has the best spam protection around ...
    (freebsd-questions)
  • Re: arts/ALSA problem after unstable upgrade (solved)
    ... ...as root; ... Do You Yahoo!? ... Mail has the best spam protection around ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Newbie cannot start graphical desktop
    ... > You are trying to use X programs as root? ... with Knoppix and my monitor now perfectly configured. ... Do You Yahoo!? ... Mail has the best spam protection around ...
    (Debian-User)
  • Re: Stopping a Service with cgi
    ... Your script will run with full root privileges. ... Some systems don't support secure set-id scripts, ... Do You Yahoo!? ... Mail has the best spam protection around ...
    (perl.beginners)
  • Re: What will you be hunting with this Fall?
    ... > a rear sight and a slightly prouder front sight than ... > add a forward sling loop and a sling button toward the ... > Do You Yahoo!? ... Mail has the best spam protection around ...
    (rec.hunting)