LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
LinkBack Search this Thread
Old 02-07-2012, 06:04 AM   #1
jamesbon
Member
 
Registered: Jun 2010
Posts: 130

Rep: Reputation: 9
enabling ssh via chkconfig fedora 16


I want to permanently enable ssh on a Fedora 16 system.
I did


Code:
 chkconfig --add sshd --level 345 on
chkconfig version 1.3.57 - Copyright (C) 1997-2000 Red Hat, Inc.
This may be freely redistributed under the terms of the GNU Public License.

usage:   chkconfig [--list] [--type <type>] [name]
         chkconfig --add <name>
         chkconfig --del <name>
         chkconfig --override <name>
         chkconfig [--level <levels>] [--type <type>] <name> <on|off|reset|resetpriorities>
and then I did
Code:
[root@tinitin init.d]# chkconfig --level 345 sshd on
Note: Forwarding request to 'systemctl enable sshd.service'.
ln -s '/lib/systemd/system/sshd.service' '/etc/systemd/system/multi-user.target.wants/sshd.service'
but when I check

Code:
chkconfig --list sshd

Note: This output shows SysV services only and does not include native
      systemd services. SysV configuration data might be overridden by native
      systemd configuration.
What mistake have I done here?
 
Old 02-07-2012, 06:23 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 9,917

Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
systemd has replaced chkconfig and service.
http://fedoraproject.org/wiki/Systemd
 
Old 02-07-2012, 06:25 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 39,853

Rep: Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121
it clearly says that it's not managing that service, and is relaying the request.

sshd is enabled by default, so I'm not sure why you are needing to do this in the first place.

regardless of the (very useful and informative) error messages there, is sshd now starting on boot or not?
 
  


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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Enabling Remote Desktop in Fedora using SSH. khalidorama Linux - Newbie 11 02-21-2008 01:55 AM
Enabling Remote Desktop in Fedora using SSH. khalidorama Linux - Networking 2 02-10-2008 09:29 AM
Adding program to fedora startup: chkconfig and levels? jrbiochem Linux - General 2 07-09-2004 01:20 PM
Enabling SSH Heartz Linux - Newbie 1 04-10-2002 04:59 AM


All times are GMT -5. The time now is 08:04 AM.

Main Menu
 
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
Open Source Consulting | Domain Registration