Thread View: news.software.nntp
2 messages
2 total messages
Started by Avon
Sat, 18 Jul 2015 10:20
News user
Author: Avon
Date: Sat, 18 Jul 2015 10:20
Date: Sat, 18 Jul 2015 10:20
36 lines
2540 bytes
2540 bytes
Having installed Debian Jessie and now built and make installed 2.6.0rc2 I am
wondering about the best practice for using root account vs news account to
do further setup?
The docs talk of running things as news or creating things while as news. In
my past setup using ubuntu a lot of files created using apt-get install inn2
were created as user root and group root. So I ended up using sudo to obtain
root privs to make the changes I needed.
Now with Debian I can su - and become root or su news but at the moment can't
seem to login as news user.
It looks like the etc/password file is set to not allow a news user to login?
Some questions
1. Do I really need to be news user to do some of the setup steps or is
becoming root ok? The docs suggest I need to be news user.
2. How best to become news user? My default debian install does not seem to
allow it or perhaps it does but do I need to change the news user login
password as root to be able to do so? Just not sure about this.
Any advice etc. appreciated. It looks like I must slowly run though all the
set up steps again (and that's fine) but some of th steps I think that were
created by the ubuntu apt-get install experinece last time may not have been
done thi time... but hey I compiled 2.6.0rc :) so that's a good feeling for a
relative newcomer to tux :)
Best, Paul
--
Agency BBS, New Zealand | bbs.geek.nz | telnet: agency.bbs.geek.nz:23
Re: News user
Author: Julien ÉLIE
Date: Fri, 31 Jul 2015 13:06
Date: Fri, 31 Jul 2015 13:06
65 lines
3562 bytes
3562 bytes
Hi Paul, > Having installed Debian Jessie and now built and make installed 2.6.0rc2 I am > wondering about the best practice for using root account vs news account to > do further setup? I don't know what the best practice is related to news administration, not even if there *is* a best practice. I suppose people will tell you what they got accustomed to doing. > The docs talk of running things as news or creating things while as news. In > my past setup using ubuntu a lot of files created using apt-get install inn2 > were created as user root and group root. So I ended up using sudo to obtain > root privs to make the changes I needed. The philosophy of Ubuntu (and Debian) is that configuration files are modified by admins. As all INN's configuration files are in /etc/news, you have to get root privileges to modify them. You also start & stop INN with init.d scripts as root. Files created by INN (overview, articles, history...) then belong to the news user. > Now with Debian I can su - and become root or su news but at the moment can't > seem to login as news user. > It looks like the etc/password file is set to not allow a news user to login? > > 1. Do I really need to be news user to do some of the setup steps or is > becoming root ok? The docs suggest I need to be news user. The docs shipped with INN are not related to a distribution. If you install INN from sources, you will end up having everything owned by the news user. If you use the Debian package, you will have to become root to modify the configuration files. It OK to do that. > 2. How best to become news user? My default debian install does not seem to > allow it or perhaps it does but do I need to change the news user login > password as root to be able to do so? Just not sure about this. That's what I did. I added /bin/zsh in the news line of the passwd file. However, I did not add a password to that account. I access the news account either from root or from SSH keys. Note that I believe it's OK to add a password to the news user; you are free to do what best fits your needs and habits. If other people here want to share their experience, do not hesitate! -- Julien ÉLIE « – Heureusement, nous aurons bientôt le TGV ! – C'est quoi le tégévé ? – C'est le Transport Gaulois Véloce. » (Astérix)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads