Sponsored Content
Operating Systems Linux Red Hat Would like to stop service authentication Post 302969049 by bbbngowc on Thursday 17th of March 2016 10:35:43 AM
Old 03-17-2016
Would like to stop service authentication

Hello All.

I'm trying start services as an Admin user on CentOS 7. I'm able to start the service as the user but it prompts me for a password. How do I get the user to start a service without being prompted? For example; If I attempt to start the sendmail service as my user2, I receive the following:

Code:
[user2@sserver2 ~]$ systemctl start sendmail
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to manage system services or units.
Multiple identities can be used for authentication:
 1.  user1
 2.  user2
Choose identity to authenticate as (1-2):

How do I stop this?
 

6 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

how to stop others users to stop viewing what i am doing ?

Hi , I have one question, suppose i am a normal user and when i use 'w' command , it shows who is logged on and what they are doing . Now i want to stop others users to know what i am doing accept the root ? can i do this ? thanks (5 Replies)
Discussion started by: mobile01
5 Replies

2. AIX

How to stop perl service

how to stop perl service on AIX? how to find if per service runing? (4 Replies)
Discussion started by: rainbow_bean
4 Replies

3. Linux

Why service (start|stop) can not be called from cron?

Hi, When I googled, I came to know that I can not call the command "service <service-name> start" from cron, insted I have to specify path to the service-name. I wanted to know the reason. Thanks, Hansini (3 Replies)
Discussion started by: hansini
3 Replies

4. Solaris

solaris samba configuration without wins service from authentication window server/Active directory

Hi All, We are using solaris samba server for our company project to provide access to code to our development team.Recently our ICT has disabled wins service on Active directory due which user are not able to connect to samba share and they are getting error "No logon server available" as samba... (2 Replies)
Discussion started by: sahil_shine
2 Replies

5. AIX

To stop ftp service on VIO

Hi all, How can I close ftp port 21 on VIO server. Best regards, ---------- Post updated at 10:06 AM ---------- Previous update was at 08:45 AM ---------- I resoved with switch to OS mode. $ oem_setup_env (0 Replies)
Discussion started by: getrue
0 Replies

6. UNIX for Beginners Questions & Answers

Stop http service, yum still work CentOS7

Can anyone explain me why yum still working when I stop http service on my localmachine. If I'm not wrong, yum repository use port 80 and 443, so stop http service should technicly stop possibility to install packages ? (6 Replies)
Discussion started by: veloxcbr
6 Replies
GNUNET-ARM(1)						      General Commands Manual						     GNUNET-ARM(1)

NAME
gnunet-arm - control GNUnet services SYNOPSIS
gnunet-arm [options] DESCRIPTION
gnunet-arm can be used to start or stop GNUnet services, including the ARM service itself. The ARM service is a supervisor for GNUnet's service processes. ARM starts services on-demand or as configured and re-starts them if they crash. OPTIONS
-c FILENAME, --config=FILENAME Use the configuration file FILENAME. -e, --end Shutdown all GNUnet services (including ARM itself). Running "gnunet-arm -e" is the usual way to shutdown a GNUnet peer. -h, --help Print short help on options. -L LOGLEVEL, --loglevel=LOGLEVEL Use LOGLEVEL for logging. Valid values are DEBUG, INFO, WARNING and ERROR. -i SERVICE, --init=SERVICE Starts the specified SERVICE if it is not already running. More specifically, this makes the service behave as if it were in the default services list. -k SERVICE, --kill=SERVICE Stop the specified SERVICE if it is running. While this will kill the service right now, the service may be restarted immediately if other services depend on it (service is then started 'on-demand'). If the service used to be a 'default' service, its default- service status will be revoked. If the service was not a default service, it will just be (temporarily) stopped, but could be re- started on-demand at any time. -s, --start Start all GNUnet default services on this system (and also ARM). Naturally, if a service is demanded by a default service, it will then also be started. Running "gnunet-arm -s" is the usual way to start a GNUnet peer. -I, --info List all running services. -v, --version Print GNUnet version number. BUGS
Report bugs by using Mantis <https://gnunet.org/bugs/> or by sending electronic mail to <gnunet-developers@gnu.org> SEE ALSO
gnunet-service-arm(1) GNUnet Jan 4, 2012 GNUNET-ARM(1)
All times are GMT -4. The time now is 07:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy