Server :: Cron Reporting User Account Expired, Chage -l Shows It Never Expires?

Jan 4, 2010

I've got a server running CentOS 4.8 (binary compatible RHEL 4.8 clone) that's decided all the accounts are expired.I've tried this on multiple accounts so far, to no avail.chage -l <username>Shows that the account never expires. In this case the problem was first noticed with the root account, then I tested it with my user account, and got the same answer, the account never expires.For the test I added a crontab to my account, and to roots, ever minute run "whoami"In the log I get (once for each crontab):rond[]: User account has expiredRecycling crond doesn't help, and I can't recycle the box itself as I've got users on it (pounding away at the poor box at that).

Several searches so far have only turned up that locked root accounts (ala debian/ubuntu) can cause this, and check or correct the age of the account using chage.Comparing entries in /etc/shadow to other boxes where everything is kosher doesn't seem to help either: the important bits are identical.

Working box:
kschmitt:$1$QykLetnt$ynSZ.7uKQSRnS3lsYe01w1:14613:0:99999:7:::
Screwie box:

[code]...

View 5 Replies


ADVERTISEMENT

General :: User Account Got Expired?

Feb 19, 2010

two days before I have formatted my / partition and everything seems to working fine. Next day I came to office and try to login as root through ssh. I am getting the error: [sunheer@svn ~]$ ssh root@192.10.10.23

root@192.10.10.23's password:
Permission denied, please try again.
root@192.10.10.23's password:

I thought the password were wrong and I rebooted the server in to run level 1 and reset the password and it started to work. Again on next day the account got same problem.his started to happen after formatting the / partition

View 6 Replies View Related

Server :: Account Should Be Expired If Not Logged In For 15 Days Through FTP?

Mar 23, 2011

We have one ftp server. Number of users are using it remotly. My requirement is that suppose any user is not connecting to the server using FTP for 15 days then account should get expired/locked automatically. Is it possible?

View 5 Replies View Related

General :: How To Find Expired Account

Oct 22, 2010

how to find expired account

View 6 Replies View Related

General :: Using RHEL 4.0 To Find Expired Account?

Oct 22, 2010

me know how to find expired account in linux. I am using RHEL 4.0

View 1 Replies View Related

Server :: Rsync Using Www As User Gives Ssh Error - User Www Not Allowed Because Account Locked

Feb 11, 2011

Apache is run as www as is all the files/folders. People are uploading via FTP, scp, so the problem is if I chmod so everyone can read, then rsync as a user it works until new files are added which then my ; if rsync fails with a permission denied. Now I can add a chmod in the script so everyone can read, but since www can already read, I figured I would just change my script to use www. I added the ssh key to his authorized_keys file, but when I try to just ssh in I see this in the secure file;

server sshd[29539]: User www not allowed because account is locked
sshd[29539]: Failed none for invalid user www from ip port 54983 ssh2

Now I read a few places already saying I need to add a password to the account, etc. but before I jump and try all I read, 1st major one, will this now break apache? Will this affect any startup things, etc. and .... will that unlock that user for ssh in or is there another preferred method?

View 6 Replies View Related

Server :: Cron Does LDAP Query For Local User?

May 19, 2010

We've got crontabs set up in /etc/cron.d to run various things, and we have them running as a specific local user.

Watching the LDAP logs, I can see the servers in question making requests for that username to the LDAP server every time cron runs, even though that user isn't in LDAP and is only local. nsswitch is configured to do "files ldap" as well.

The constant stream of LDAP queries is killing LDAP and making it impossible to log into our boxes.

why cron is querying LDAP for a local user?

View 1 Replies View Related

Server :: Script Not Being Executed By Cron In Oracle User?

Mar 5, 2010

I have oracle installed on Linux I want to schedule a script "backup.sh" to run in oracle user.

oracle@linux1]crontab -e
*/2 * * * * /tmp/backup.sh
this script does not execute by cron.
But
oracle@linux1 tmp] ./backup.sh ------executes successfully

I don't know why the script is not being executed by cron.

View 1 Replies View Related

Server :: Add New User Account Nagios Over Ubuntu Server ?

Nov 26, 2010

I need to add a aditional user account for monitoring web over nagios.

View 2 Replies View Related

Server :: Can't Log In Over SSH - Shows Invalid User When They Really Aren't

Oct 21, 2010

Recently I started having this problem where most users on the system are unable to log into the system over SSH. Their user name and password is correct, however it shows them as invalid when they are in fact valid. I've tried changing their password but that didn't work. I also tried deleting their account, as well as their home directory, and then recreating the account, but that didn't work. Only root and perhaps one or two other select accounts are able to log in without problems. I even tried a reboot to see if that would fix it, but as I theorized, it wouldn't. I also checked and ensured their home directory was chowned to them, and that they even had a home directory. Any assistance would be greatly appreciated to help me get this issue resolved. As a dsie note, they are showing up as invalid in /vars/logs/auth.log. Running Debian 5.0 Lenny.

View 4 Replies View Related

Server :: Automatic Boot To An User Account?

Jun 3, 2010

I have just installed Centos 5, and created two user account in it. how can i set it up that it will automaticaly boot to one of the user acount upon bootup?

View 2 Replies View Related

Server :: How To Delete User Account From LDAP

Feb 4, 2010

I configured LDAP. But added a user mistakenly, how can I delete that user account from LDAP. How to create home directory for LDAP users.......

View 1 Replies View Related

Server :: Cannot Startx By User Account Oracle?

Feb 3, 2010

Startx by non-root user account in red hat linux kernel 2.6. How can I use the command "startx" by other user account such as "oracle"? I cannot startx by user account oracle?

Code:
[oracle@localhost ~]$ startx

Fatal server error:
PAM authentication failed, cannot start X server.
Perhaps you do not have console ownership?

Please consult the The X.Org Foundation support at [URL] for help.
[1]+ Stopped startx
[oracle@localhost ~]$

View 1 Replies View Related

Server :: Lock User Account If He Is Not Logged In?

Nov 24, 2009

I am running a mail server with combination of dovecot,sendmail and squirremail as web client. I want to change the password of the user if he/she not logged in for 21 days.

View 4 Replies View Related

Red Hat / Fedora :: Server Creates User Account In /etc/passwd?

May 16, 2011

I have just got my Openldap server up and running howerver, I admit I'm a little confused about authenticating a client mechine to the server. When I create an account on the ldap server, does this mean that the server creates a user account in the /etc/passwd, or somewhere else on the server?

View 2 Replies View Related

Server :: 389 DS - Cannot Create Home Directory For User Account

Jul 30, 2011

I am using NIS and I want to replace this with 389 ds. I have installed 389 ds and configured it. I could create user account from 389-console. But it does not create user home directory. Do I have to create user account and user home directory in linux first?

View 1 Replies View Related

Server :: User Control Panel For Email Account

Nov 12, 2009

I've a mail server(Postfix) running on Slackware linux 12.1 . I need to configure a control panel so that one can create/delete/modify an email account as well as manage email alias.

View 1 Replies View Related

Server :: Df Reporting 100% But Du Reporting 20%?

Apr 15, 2011

Today morning I logged on to one of our servers (through ssh -X) to perform a routine maintenance. When I tried to open a GUI application, it failed to connect to the X server of the workstation. Eventually I ended up issuing the command

Code:

df -h /

and shockingly it showed that / is 100% used. I checked / using

Code:

du --max-depth=1 -xh /

to check the sizes of the individual directories, which showed that only about 18% of the / is used and that confused me badly. There was no quick solutions when I googled around; but luckily I found the following link which nicely explained the issue I had:

[URL]


All I did was found out the services responsible for those unreleased files (using lsof +L1) and restarted them. That is it. Now df reports only 18% of the disk is used and all my X things started working again, thanks to Walker.

View 1 Replies View Related

Ubuntu Networking :: Network Server One User Account To Login To Any PC

May 8, 2011

Network server to administer accounts for all users, one login ie at login select or type in user name and password to login - so that I don't have to setup users separately on all PC's so that they can login from any computer.

View 3 Replies View Related

Networking :: Allow Remote Access To Server Running On User Account?

Jul 11, 2010

In the past, I've installed Internet services as daemons and as xinetd.d with no problems. Those approaches do not meet my needs. And, perhaps, nothing will.

- the service was converted from VB-6 to wxPython. It has a GUI which is accessed with either "remote desktop" or VNC.
- the wxPython service works on Windows and can be accessed from other hosts on my LAN
- the wxPython service works on CentOS and Fedora, but can only be accessed from within the server host. Even from other user-ids. But, I cannot get to it from other hosts.
- ipchains AKA firewall ports are marked for INPUT.
- The server host uses autologin to fire up a useid in group "user". I do not want it running as "root". the .bash_profile fires the service up.
- the service is heavily mult-threaded, and supports devices connected to serial ports asynchronously with the ephemeral port threads (all this works).

There are some programming solutions that I would rather not develop.
- a proxy service that runs under xinetd.d.
- separate the GUI code from the Internet and serial port code. Allocate a "control" port for remote GUI control. a'la SAMBA & SWAT

Is there any hope, that I can run it as is, by doing some network configuration stuff.

View 8 Replies View Related

Networking :: In PPTP Server - Limit Bandwidth Per User & No. Of Connection Per Account?

Apr 2, 2010

recently i rent a xen vps intended to setup a PPTPD vpn server for me and my friends. so we can by-pass the great firewall in china and get back on ....., facebook and stuff. i have already setup the server and i can connect to it without any problem. but i still want to do some further configuration the server:

1. i want to limit the bandwidth to 400k/s per connection.
2. i also want to limit the max connection per user a/c

i have some thoughts on the 2nd requirement. in the user configuration file of /etc/ppp/chap-secret, you can specify the range of ip the user can get, does it limit the max connection per user a/c? or they can connect anyway, just every now and then a box pop up says conflict in IP address?

View 1 Replies View Related

Server :: Ldap Password Sync With Samba And Unix User Account?

Apr 21, 2010

I setup openldap and samba on 9.10. The ubuntu desktop client gets authenticated successfully with the server.

But when I do a passwd on the client, only the ldap passwd is getting changed but not in the samba and the unix user account.

My smb.conf

Code:
passdb backend = ldapsam:ldap://192.168.3.100
ldap suffix = dc=example,dc=local
ldap user suffix = ou=People
ldap group suffix = ou=Groups

[Code]....

View 4 Replies View Related

Server :: Unable To Login To A User Account Even After Clearing The Password From Root Using Passwd -d

Aug 10, 2010

Not able to login to a user account, even after clearing the password from root using passwd -d

[root@ivrsdb1_pnq /]# passwd -S oracle
Password locked.
[root@ivrsdb1_pnq /]# passwd -u -f oracle
Unlocking password for user oracle.

[code]....

View 3 Replies View Related

OpenSUSE :: 11.4 Konqueror User Account Bug New Account No Bug

Jul 16, 2011

I have a problem with the Google search box top right corner in Konqueror, when entering search I recieve an error page "Unsupported Protocol" Google asks for ioslave or kioslave. Also when highlighting text on a page and right clicking with the mouse no search option is given. I created a new user and all works as it should for the new user. What is wrong with my user account? I have reset default values in Konqueror setup.

View 3 Replies View Related

Ubuntu Servers :: Is There Anything Better That Offers Per-user Location Reporting?

May 23, 2010

I am trying to set up SARG to provide reporting from a squid proxy server.After installing Squid & SARG, I am a little confused as to how SARG has configured itself to run.Should this conflict? Or at least create a race condition? In any event SARG and sarg-reports looks like they have not been updated in a few years.is there anything better that offers per-user location reporting?

View 1 Replies View Related

Server :: Possible "chage" Command Corrupted After Build?

May 24, 2011

After doing an install using Redhat 5.6 which a kickstart, it seems the "chage" command is not working properly like it should.I assume it somehow got corrupted during the build and I want to reinstall it through whatever rpm package it came fromDoes anyone know what the command would be to find which rpm package it came from?

View 3 Replies View Related

Ubuntu :: Send Emails From Cron Without Logging Into An Account

Oct 4, 2010

I am looking to send emails from cron for backup information. However, all the programs I have found (mail, mutt) require the password in plain text. Does anyone know of a more secure method? In fact, if it is only sending, is there a way to do this without logging into an account? What is the simplest way, without making it check emails too?

View 3 Replies View Related

General :: Automatically Trigger A Cron Job Each Time I Log In On System Account?

Jul 27, 2011

Is there any way to automatically trigger a cron job each time I log in on my linux account.

View 9 Replies View Related

Networking :: Make PPTP Routing / Specify An Expired Date For Each Pptp User?

Mar 13, 2010

i have a VPN server PPTPD on Centos 5.3

eth0: 62.2.2.x (public on the internet)
GW: 62.2.2.1 (cisco router)

i want to configure my ppptp server to allow users access internet with their own public ips of class 62.2.3.0 62.2.4.0 62.2.5.0

every time i configure my server all users can get thier IPs but they only go out with my server IP same as NAT not routing.

can you show me the proper configuration to make my users connect with public IP and have internet access. use specific DNS ( i did this but some users can not brows by DNS)

is there any way to specify an expired date for each pptp user.

View 1 Replies View Related

Ubuntu :: Access User Account 1 Home Directory From User 2 Work Space?

Jun 16, 2011

Do you think there is a way of accessing different user data from another account which I have set up.

Ie. user 1 = account has messed up

user 2 = account works fine

access user account 1 home directory from user 2 work space?

View 9 Replies View Related







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