Sudo With No Password
Nov 27, 2008
I have the user "tech" added to my system. I want that user (tech) to be able to use sudo, but for only *one* command. ssh. I also want this to utilize the "NOPASSWD" feature.
What's the line I need to add to /etc/sudoers to allow only SSH (and sudo with the no password).
View 4 Replies
ADVERTISEMENT
Apr 8, 2009
Which do you use primarily and why?
Personally I try to use sudo as much as possible, but as often as I'm moving around the file system it gets a little rough sometimes and I have to use su.
View 7 Replies
View Related
Apr 21, 2008
i have a cent os 5 box with directadmin on id like the user apache to be able to run iptables or apf but every time i allow apache to run the command its fine untill you have to add the extra command to tell it to drop then it just comes up with permissions denied
can any one help me with this please?
i've tryed
apache ALL = (root) NOPASSWD: /sbin/iptables
apache ALL=(ALL) ALL
and it still wont let me use apache to write to the deny rules list
View 1 Replies
View Related
Jul 9, 2009
How do I login to root with my sudo username and password? I do type su - in putty, but it gives me a "Disconnected: No supported authentication methods available."
View 6 Replies
View Related
Mar 25, 2007
I used the great security tip to get an email when a user logs in as root but is there any way to get the same kind of email when a user starts sudo?
View 2 Replies
View Related
Dec 21, 2008
one of my dedicated is a kind of semi managed.
They guys monitor it 24 hours and if some thing goes wrong like
apache is dead they fix it.
how can I limit their access and authoriy over my Server while
I can let them to monitory my server!
I know nothing about server management and my other dedi is mully managed not this one.
View 5 Replies
View Related
Nov 19, 2013
Everyday after Backup Panel (Tasks from Backup Manager), I receive next error:
<?xml version="1.0" encoding="utf-8"?>
<execution-result status="error">
<object name="domain.ru" type="domain">
<message severity="error" id="416a91ad-e5e7-480b-b6b4-a60157b8eaae" code="InformationalException">
<description>Could not find password for account id '2648'. Return empty password</description>
</message>
</object>
</execution-result>
Resolve -> only reconfigure domain. How can I automatic fix this problem?
View 5 Replies
View Related
Jun 17, 2014
today i changed the password for the admin panel for a customer (username eg. mylogin). 10 minutes later he called me and said that he cannot get into his emailaccount anymore. Checked the password and saw that the emailpassword for his emailaddress (eg. mylogin@mydomain.com) is now the same from the admin panel login. So i changed the emailpassword and checked the admin panel login - it now has the emailpassword. What a mess.. I'm running Plesk Panel 11.5.30 MU47.
View 1 Replies
View Related
Nov 22, 2007
How to change the Password of my FTP?
I know how to change the pwd. of cPanel, but I don't know how to change the pwd. of FTP?
View 10 Replies
View Related
Oct 2, 2007
there is anyway to know the password of 1 user on cPanel knowing the root password?
View 5 Replies
View Related
Jan 19, 2007
about MY-SQL Password Security!
my Server is : CentOS and my control panel is : Cpanel
my Freand have a mySQL password, but he donot know ROOT Password ( i change root password )
my Freand is a bad Boy )
can he attack Mysql or Mysql user by mysql password?
if he can attack server by Mysql password please help me about change Mysql password by CPANEL
View 3 Replies
View Related
Feb 16, 2007
I have debian 3.1 sarge and 2.6.19-grsec kernel.
I have successfully changed a shell user password but I cannot login with it via ssh cos its says wrong pass (with previous password can login) as well as any other users pass says wrong pass after a change.
View 1 Replies
View Related
May 16, 2009
i want to build my 2nd server later,
i get a problem,
i wonder how can not manage my password,
i can set them all the same? or differnet?
the same: will it too dangerous?
different: it may hard to save the password.
View 13 Replies
View Related
Apr 3, 2009
I am transfering my database to a new host and well I need to create the same database (same name and username) along with the same password I used before (because a script im using is connected to it) then import the old .SQL files.
However I dont know how I can find out the current password linked to that database (When you create one it asks you for a password remember?) Anyclue how to find it out? I cant change it I need to know what it is still.
I am using cPANEL
View 5 Replies
View Related
Aug 17, 2008
do you set grub passwords?
what problems could i be facing if i skip that, i'd guess one cannot access file system via some grub parameters,
it can only be used to lower performance?
View 2 Replies
View Related
Jun 1, 2008
is there any chance to reset WHM password?
i have 2 root user account
1. root (this password same as the WHM password)
2. admin (i know this password)
isthere any chance to change root password with my admin password
View 3 Replies
View Related
Mar 13, 2008
My computer's HDD crashed last night and I only have an old backup.
The problem is my new server's root password was stored there and it's 20 digits totally random password.
Is there any way to reset the server password by the dedicated server provider?
I haven't asked my provider yet.
View 8 Replies
View Related
Apr 9, 2007
how to change an FTP Password through SSH for a particular account
i.e i got a subdirectoryt and FTP account set up for /forum
but i cant remember what the password was..
but im logged in to root via SSH can anyone tell me how to reset this please?
im using Freebsd
View 1 Replies
View Related
Apr 6, 2007
Sometimes when you upload to ftp, the password window keeps appearing.
You type in the correct password, and then it keeps appearing and appearing as you upload files.
Why is that?
Is it my fault or hosting's fault.
What are the good web ftp clients with no time and size limits?(not net2ftp)
View 3 Replies
View Related
Jan 17, 2007
if this is possible, when I create a new client in Plesk I want to automatically generate a complicated password, as opposed to me making up one for a client...
View 2 Replies
View Related
May 18, 2007
Can I set a password for tar.gz files in SSH command?
how can I do it ? if not what's your suggestion for secure files?
View 4 Replies
View Related
Jun 29, 2007
May I know how to change the password of the root and directadmin through SSH?
View 14 Replies
View Related
May 9, 2007
I am using HC7 to manage my hosting plans for my company. The hosting Server have Mail server (MDaemon) and it configured. However, SMTP service in IIS6.0 is not enable. I tried to get password to login HC7. it is tested 2 times :
first time : Boths SMTP service in MDaemon and IIS are enable ....result : all things are ok second times : SMTP service is disable in IIS, SMTP service in MDaemon still enable...result : anymail are sent customers to get password.
I suggested : Enable SMTP service in IIS, but my boss (before he also worked with windows hosting ) said that it not need to enable.
View 1 Replies
View Related
May 29, 2007
May 28 16:23:06 server sshd(pam_unix)[13017]: authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=58.56.106.248 user=root
I got so many of this line in my server log.
First of all, where is the server log located anyway? I got this from SIM.
May 28 16:23:09 server sshd(pam_unix)[13037]: authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=58.56.106.248 user=root May 28 16:23:11 server sshd(pam_unix)[13045]: authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=58.56.106.248 user=root May 28 16:23:11 server sshd(pam_unix)[13061]: authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=58.56.106.248 user=root May 28 16:23:13 server sshd(pam_unix)[13066]: authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=58.56.106.248 user=root May 28 16:23:13 server sshd(pam_unix)[13067]: authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=58.56.106.248 user=root May 28 16:23:13 server sshd(pam_unix)[13071]: authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=58.56.106.248 user=root May 28 17:00:02 server ntpdate[19626]: adjust time server 192.5.41.40 offset 0.343837 sec May 28 18:00:07 server ntpdate[28711]: adjust time server 192.5.41.40 offset 0.344493 sec May 28 19:00:06 server ntpdate[3218]: adjust time server 192.5.41.40 offset 0.342326 sec May 28 20:00:02 server ntpdate[8283]: adjust time server 192.5.41.40 offset 0.341603 sec May 28 21:00:07 server ntpdate[13899]: adjust time server 192.5.41.40 offset 0.343715 sec May 28 21:37:45 server sshd(pam_unix)[17268]: authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=217.156.110.24 user=root May 28 21:37:45 server sshd(pam_unix)[17271]: authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=217.156.110.24 user=root May 28 21:37:45 server sshd(pam_unix)[17270]: authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=217.156.110.24 user=root May 28 21:37:45 server sshd(pam_unix)[17254]: authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=217.156.110.24 user=root
View 13 Replies
View Related
Jul 29, 2009
I am wanting to setup rsync to always login, so I don't want to use keys. Is it possible to put the password in the rsync command leave.
If so how do I do this?
Or do I have to use: --password-file=/path/to/password/file
View 5 Replies
View Related
May 17, 2008
I have created a password file in /root/passw.txt
then run command
rsync -ave 'ssh -p 1234' --password-file=/root/passw.txt admin@10.0.0.10:/home/admin/backups/* /backups
But it still asks for the password. How can I fix it?
View 3 Replies
View Related
May 26, 2009
In my linux vps (cpanel based) hackers have hacked the password of the user ( website owner ) and he have uploaded some hack files(PHP) through FTP. Sometimes the hacker uploads perl/CGI scripts and sends spam mails .This happens frequently in server. How the hacker gets the users password? How can i prevent my users and server from this security issue?
View 7 Replies
View Related
Mar 27, 2009
I was using Direct Admin Panel, now expired!
How can we change an email password from - 'root' user?
I know we can change main domain email password by 'passwd user'. But how to change other emails with that domain?
They are surely located in /etc/vitual/domain/password , but in hashed format.
How to change via command line?
View 7 Replies
View Related
Mar 17, 2009
Is there is any method to break grub password.
View 2 Replies
View Related
Apr 13, 2009
HyperVM seems to have messed up its passwords during rsyncing. Is there a way I can force a password reset without the lost password feature?
View 11 Replies
View Related
Jun 11, 2009
I have dedicate servers and I want to change the root password. I'm using whm/cpanel.
What happen when I forget my root password?
View 9 Replies
View Related