Fedora :: Unable To Use Crontab As User On System?

Mar 31, 2011

I am unable to use crontab as a user on my system.

Code:
The error is: You (user) are not allowed to access to (crontab) because of pam configuration. I did just recently do an update but I am not sure why this is acting up. I also tried it as root and it also failed with a similar message. I had several crons that ran daily and they are not currently working also. I have selinux Disabled and it has been that way for some time.

View 5 Replies


ADVERTISEMENT

Software :: Crontab Script Execution - Different Behavior User-cronfile <-> System-wide Cronfile

Feb 26, 2010

Script iptables_reset.sh

Code:

#!/bin/bash
IPTABLES="$(which iptables)"
$IPTABLES -P INPUT ACCEPT
$IPTABLES -P FORWARD ACCEPT

[code]....

This works if I edit the system-wide crontab in /etc/crontab like this:

Code:

0 12 * * * root /root/iptables/iptables_reset.sh

But it won't work, if i edit roots user-cronfile by using crontab(1):

Code:

crontab -l
# m h dom mon dow command
0 12 * * * /root/iptables/iptables_reset.sh

The log entry is the same for system-wide and user-cronfile:

Code:

/USR/SBIN/CRON[5135]: (root) CMD (/root/iptables/iptables_reset.sh)

I tried different things and found out,if i don't use the "$(which iptables)"substitution in the script, it also works with the user-cronfile.

View 4 Replies View Related

Red Hat / Fedora :: Shutdown System Through Crontab?

Jun 11, 2009

I am practicing on "crontab" and am able to get system status in time but I want to shut my system through crontab.#15 12 11 06 thu init 0

View 1 Replies View Related

General :: Crontab Not Working \ Edited Crontab File Using Crontab -e?

Apr 27, 2010

I am using Linux 64 bit Redhat Linux. I am trying to setup simple crontab as follow...1. Edited crontab file using crontab -e2. Listed the file once to verify it using crontab -l. This will display as.. 18 5 * * 2-3 ksh $HOME/testScript.sh > $HOME/testscript.out3. Logged in a root and restarted cron deamon using "/etc/init.d/crond restart"As per my understanding now my testScript should start running at 5:18 am Thuesday

View 3 Replies View Related

General :: Unable To Create System User?

Aug 18, 2009

lately i notice that when i add a new user withthe useradd and passwd command, and then try to login using this new account, am being prompted with a message,saying ' you cannot access /home/newuser. that the account doesnot have permission on his home directory. i have even tried go give the user(john) ownership over his home directory with the #chown -R john:john /home/john

View 8 Replies View Related

Ubuntu :: Unable To Boot After Upgrade - System Ask For User Id

Jan 2, 2010

I have dual boot (wubi) Windows XP. It was working smooth until I upgrade ubuntu 9.10. At the boot screen I choose Ubuntu, then it ask me wich version, then it freeze. I tried the recovery version, but then it ask me for a user ID login and password. At this point I'm able to enter the user , but it don't type anything on the password and keep asking me to enter the user id and password again, and again.

View 2 Replies View Related

General :: Unable To Change System Time As Non-Root User

May 6, 2011

I need to edit the system time as a not-root user. I am carrying out the following actions in my program.

1. Read the User Id of the process. User_ID= getuid()
2. Printing Capabilities(Permitted, Efffective, Inheritable)of the process
3. Setting UID = 0, using setuid(0)
4. Calling the prctl(), function to keep capabilities
5.Switching the UID from root to User_ID of the process
6. What we have now is a process with root capabilities as a non root user
7. On printing Permitted, Effective, Inheritable capabilities, I get the following
--> Permitted = 0xfffffeff = Effective
Inheritable = 0x0; with UID = 1001;
8. I then try and set the system time with --> system("date -s 10:00");
9. I get an error: date: cannot set date: Operation not permitted
10. I am unable to understand as to why I cannot set the time even thought the capability bit CAP_SYS_TIME in the Permitted and Effective sets are SET.

View 3 Replies View Related

Ubuntu :: Create A User Crontab, Without For Rood Privileges?

Mar 20, 2011

i know the subject is hard to understand but i did my best with it. the problem: i have 2 HDs on my Ubuntu OS, the first is 1TB and the other is 500GB, i want to do a backup with rsync from my 1TB HDs (in with the Ubuntu is on it) to the 500GB.

on the 500GB i have a partition called Backup. what i did: i have created a user crontab that dose two things: 1. mount the Backup partition from the 500GB to a folder called /~/Backup on my home directory which is on the 1TB HD.

2. i wrote the proper rsync command for the backup to go.

[Code]...

View 9 Replies View Related

Fedora :: Write A Crontab Entry Using "crontab -e"

Jul 21, 2011

I was trying to write a crontab entry using "crontab -e"


Code:
0 0 * * * cp /var/log/httpd/domains/mydomain.net.log
/home/admin/logs/mydomain.net.log

crontab is giving me this error:

Code:
"/tmp/crontab.XXXXfMOnRS":2: bad minute
errors in crontab file, can't install.

I've tried a dozen different values for the minute, but it's still giving me the same error.

View 5 Replies View Related

General :: Viewing All Crontab Files On A System?

Nov 16, 2009

Is there a way to view all the crontab files, owned by root, users, and other system accounts, that exist on a system simultaneously rather than having to go the individual accounts? The distribution in question here is the Debian 4.0 release.

View 2 Replies View Related

General :: Possible Disabling Crontab Job Without Deleting Crontab Description Entry

Jun 23, 2011

is it possible disabling a crontab job without deleting the crontab description entry (by crontab -e)?I could also accept to change the entry itself. Now it's:0 0 * * 0-6 /home/me/cron/script.csh

View 4 Replies View Related

General :: Unable To Find Directory Listed In /etc/crontab File?

Feb 10, 2011

when a script in /etc/cron.d directory will be executed?. I know that scripts in cron.daily will be executed daily [ set in /etc/crontab file]? Cant able to find this directory listed in /etc/crontab file?

View 2 Replies View Related

Fedora :: Unable To Login As Root Or Any Other User?

Jul 6, 2010

After upgrading FEdora 13, user ravi was added. Then after few days neel was added. Both of the users were already existing. So when attempting login to neel, we found that every file is owned by ravi. So we did$chown -R neel:neel But after that problem started and when we rebooted the machin, there were no list of users on login screen. (then I connected to that comp remotely, it worked, but somehow I was not able to switch to root) It says incorrect password (though I new it very well). So I went to maintenance mode and changed the root password, and rebooted. Still problem persists.Now I am not able to login as root (from anywhere, login screen , terminal, remote)No list of usernames on login screen ( but i can choose, other and type login-password)

View 5 Replies View Related

Red Hat / Fedora :: Unable To Login As Root User In F10?

Jan 14, 2010

I have just upgraded my laptop from F8 to F10, and I am unable to login to the system as root user.At login, it provides 2 options, one is the user I created and another called 'other'.On selecting 'other' and providing uid/passwd as 'root/<rootpassword>, it says "Unable to Authenticate User"!!However, when I tried to access my windows partition, it happily accepted the root password

View 4 Replies View Related

Red Hat / Fedora :: Unable To Ftp Fc12 With A User Name And Password

Jun 19, 2010

I am able to ftp the root of my EC2 instance of fc12 with a private key. I do not know what commands were given to fc12 to get it to act this way but that is okay, it works for me.

I have created accounts for my users and set a password for each of them. The problem is that I am unable to ftp fc12 with the user name and password. The error message I get says there is no supported authentication method available.

I presume I must somehow change server security or something to allow access to users with passwords but I do not know how to do this.

View 3 Replies View Related

Red Hat / Fedora :: User Unable To Login Through SSH Onto New Account?

Jul 15, 2011

I created an account using the following command:#useradd -g developers john and successfully changed the user password with:#passwd johnThe user is unable to login using the New Password using SSH. As a root I can login (#su - john) with no problem.

View 1 Replies View Related

Fedora Installation :: Unable To Login Using The Only User Account?

Mar 29, 2010

If I'm getting good at anything with Fedora, it would be making mistakes. I have Fedora 12 installed and it was running fine until I attempted to set the path in bashrc and cshrc for jdk. Now I am unable to login using the only user account I created at install. When I enter my password the login screens goes blank then my mouse pointer appears with the circling dashed loading symbol for a few secs and then brings me back to the login screen asking for my password again.

View 4 Replies View Related

Fedora :: Unable To Ftp A User Account On A EC2 Instance Of Fc12

Jun 19, 2010

I am able to ftp the root of my EC2 instance of fc12 with a private key. However, I am unable to ftp a user account on a EC2 instance of fc12.I do not know what commands were given to fc12 to create an AMI that uses a private key instead of a password.As root administrator I like it. However, I am trying to set up users in such a way that Windows users using "My Network Places" can access my EC2 instance of fc12. I have created accounts for my users and set a password for each of them (useradd). The problem is that I am unable to ftp the fc12 server with the user name and password. The error message the client gets when it tries to do so says there is no supported authentication method available. I presume I must somehow change server security or something to allow access to users with passwords but I do not know how to do this.

View 1 Replies View Related

Fedora :: Unable To Root User In GDM Face Browser?

May 30, 2011

I'm trying to get the "root" user to be included in the list of users that get displayed on the login page.

I found this:[URL]...which seems to indicate that if I add an "Include" line, with the "root" user, that would work. I found the /etc/gdm/custom.conf file, which was empty except for the section header lines, so I added an "Include=root" line, but even after rebooting I just get the regular users, and have to login by typing the "root" username, etc.

So, I was wondering, is there a way to get this to work? P.S. I understand about not wanting to allow root logins, but I need to do this in my situation.

View 4 Replies View Related

Red Hat / Fedora :: Authentication Failed \ Unable To Log In As Root Or Any Other User?

Nov 12, 2010

I was trying to install winbind on a RHEL5 machine and I had to reboot the RHEL machine. When it came back up, I'm not able to log in as root or any other user.When I use root and give a random password, it says invalid username or password but when I use the correct password, I get an Authentication failed pop up box (under GUI). SSh window says invalid password for random passwords and the SSH window disappears when I type in the right password.Can you please let me know if I can somehow get back in by stopping any of the services

View 3 Replies View Related

Ubuntu Servers :: After Using Crontab With /etc/crontab / Giving Error "can't Find Command Root"?

Aug 26, 2010

I have a question about using crontab with /etc/crontab...

I had a cron job that I needed to run as root. At the time I thought that sticking it in /etc/crontab would be a good idea. However, I used the crontab command to edit /etc/crontab, which I guess is not standard procedure? Specifically, I configured /etc/crontab as my local user's crontab (i.e. sudo crontab /etc/crontab) then added my cron job as I would a local user crontab (i.e. sudo crontab -e).

Originally, my cron job looked like this:

30 * * * * root /my/batch/script &> /dev/null

After adding the new cron job I started seeing errors. Something to the effect of "can't find command root" or something similar. So I removed the 'root' user definition from the cron job and the job started running fine. However, because this is /etc/crontab, there are other system related cron jobs that have been defined to run under the root account (e.g. "17 * * * * root cd / && run-parts --report /etc/cron.hourly" runs as root, etc.). So these pre-existing system cron jobs, which up until now have been running smoothly, are now generating "can't find command root" errors. But I think that the system cron jobs _are_ successfully being run someplace because logrotate seems to be working.

So what I _think_ is happening is that /etc/crontab is being run twice: once as the system crontab, and once as my sudoed local user's crontab. When I run crontab -l I see nothing, but when I run sudo crontab -l I can see the contents of /etc/crontab. I am reluctant to delete my sudoed local user's crontab, because then in the process I would be deleting the system crontab, and I do not know how I should restore the system crontab's contents. (I am still not sure as to the most appropriate way to edit the system crontab).

How can I get out of this mess? I want /etc/crontab to go back to the way it was before--running _once_ as the system crontab. As for my new cron job, I'm willing to reconfigure it anywhere so long as I am still able to run it as root. Any ideas? (I am using Ubuntu 8.04 Server LTE)

View 2 Replies View Related

Software :: Scheduling Backup In Crontab When Put This File In Crontab To Schedule The Backup Program It Wont Run?

Apr 9, 2011

I have installed an application manager(monitoring application) on my linux server. Now, i need to have backup schedule for my application. The application itself has executive file to backup database.But when i put this file in my crontab to schedule the backup program it wont run!50 09 * * * root /opt/ME/AppManager9/bin/BackupMysqlDB.sh

View 1 Replies View Related

Fedora Installation :: Unable To Boot Or Switch User To Root On Fc13

Aug 18, 2010

Having just installed fc13 and downloaded the KDE package I attempted to log out as user and back in as root, but I keep getting a message about the wrong password. This is odd as the same password works in terminal if I try to become a SuperUser. I have tried turning off SELinux to no avail. I cannot log in from cold as root,only as user.

View 1 Replies View Related

Red Hat / Fedora :: Unable To Access Newly Added User In Home Directory

May 12, 2011

I have added a new user by following command :
root# useradd -u 100 -g 120 -d /product -s /bin/bash sandesh
I am not able to access it in /export/home directory..?

View 1 Replies View Related

General :: Difference Between Regular User And System User (and Groups)

Sep 28, 2010

What is the difference between creating a "regular" user and creating a "system" user on Linux?

For example:

Code:

adduser john

Code:

adduser --system john

Similarly it seems there are normal groups and system groups. Doing an internet search and reading man pages does not give much information on the whole concept of system and regular user/group.

View 1 Replies View Related

Fedora :: Grant Permission To Mount Ntfs File System For Normal User ?

Feb 19, 2010

I'm able to mount ntfs file system as root user but I want the same thing to be allowed to normal user .

I'm not much familier with linux environment so please explain me how to do that for normal user.

View 3 Replies View Related

Fedora :: Unable To Yum Update System?

Dec 9, 2009

I get the following message in my F11 system when I try to yum update system.

ERROR with rpm_check_debug vs depsolve:
kernel-uname-r = 2.6.27.37-170.2.104.fc10.i686 is needed by (installed) kmod-nvidia-2.6.27.37-170.2.104.fc10.i686-180.60-1.fc10.6.i686

[code]...

View 2 Replies View Related

Red Hat / Fedora :: Unable To Add System Call

Dec 3, 2010

iam trying to add a system call to the kernel version 2.6.33.7.Iam running fedora 13.I have followed all the steps given in this <hekimian-williams.com/?p=20 -> tutorial,but iam getting a error in make saying undfined reference to mysyscall in syscall_table_32.

View 1 Replies View Related

Fedora X86/64bit :: User That Can Only Make The Sound Card Work On A F10 X86_64 System Is Root

May 4, 2009

The only user that can make the sound card work on a F10 x86_64 system is root. For non root users, I am not seeing any error messages when a app tries to use/access the sound card, just nothing plays. As I said, for root everything works as expected. I am sure this is a permission/setup issue, but I have no idea where to start.

View 3 Replies View Related

Red Hat / Fedora :: No Crontab For Root?

Oct 28, 2010

I am setting my cron to work. I am in the roo account/ So first I type as vi crontab -e. Then it ask me type "visual" for normal mode and do that then I type the following as below 1 * * * * root usr/local/testClient/runClient.sh>/usr/local/testClient/cron1.log and press esc type wq. Then I restart the cron service /etc/init.d/crond stop and /etc/init.d/crond start. Lastly when I type crontab -l it tells me no crontab for root.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved