General :: How To Find Expired Account
Oct 22, 2010how to find expired account
View 6 Replieshow to find expired account
View 6 Repliesme know how to find expired account in linux. I am using RHEL 4.0
View 1 Replies View Relatedtwo 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
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 RelatedI'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]...
All my statements are prefixed with an * ----before my text.*re's the story so far.....I've got a third party software that I'd like to upload to my dreamhost account. It prevents people stealing your download links, and it demands an IonCube loaderfor it to work.*---I'm new to all this and I don't understand when to write what commands in Shell tget an IonCube loader in my dreamhost account.
1. Which operating system you are using?
=>Linux
2. Which PHP version you are using?
[code]...
Is there a non-root shell command that can tell me if a user's account is disabled or not? note that there is a fine distinction between LOCKING and DISABLED:
LOCKING is where you prepend ! or * or !! to the password field of the /etc/passwd file. On Linux systems that shadow the passwords, this marker flag may be placed in /etc/shadow instead of /etc/passwd. Password locking can be done (at a shell prompt) via password -l username (as root) to lock the account of username, and the use of the option -u will unlock it.
DISABLING an account is done by setting the expiration time of the user account to some point in the past. This can be done with chage -E 0 username, which sets the expiration date to 0 days after the Unix epoch. Setting it to -1 will disable the use of the expiration date.
The effect of locking to to prevent the login process from using a supplied password to hash correctly against the saved hash (by virtue of the fact that the pre-pended marker character(s) are not valid output character(s) for the hash, thus no possible input can ever be used to generate a hash that would match it). The effect of disabling is to prevent any process from using an account because the expiration date of the account has already passed.For my situation, the use of locking is not sufficient because a user might still be able to login, e.g. using ssh authentication tokens, and processes under that user can still spawn other processes. Thus, we have accounts that are enabled or disabled, not just locked. We already know how to disable and enable the account - it requires root access and the use of chage, as shown above.To repeat my question: is there a shell command which can be run without root privileges which can output the status of this account expiration info for a given user? this is intended for use on a Red Hat Enterprise 5.4 system.The output is being returned to a java process which can then parse the output as needed, or make use of the return code.
Is there a command to see what user accounts are set to expire or expired.(OS = Red Hat)
View 1 Replies View RelatedI was observing the following behaviour:
py script:
os.mkdir(path) #all OK
operations_that_take_10hrs_to_complete()
os.mkdir(path) # permission denied
like I lost my sudo rights after some time ..
I am trying to open one site.When i open at home or internet cafe or at my friends place it opens properly but when i try to open it in my office i get this error and some other page opens "This domain is parked, pending renewal, or has expired.Please contact the domain provider with questions."
View 1 Replies View RelatedI'm looking for a script that can do two things: (1) determine the shortname of the user with the largest account in /Users and (2) look up their full/long name. I'm going to use this script to help identify who the user on a computer and while I know that's possible that a sometime-user may have a larger account than the normal-user on any given computer, the results of a script should be sufficient in most cases for my needs.I'm not sure the best way to around this. I know that can use "du -m -d1 /Users" as root:
root on torchwood
[ ~ ]$ du -m -d1 /Users
157 /Users/admin
[code]...
When I first installed Karmic, I created a dummy Ubuntu1 account to play around with and have long since forgotten everything about it. Now I am attempting to setup a real account and I cannot find a way to modify the account settings for the client software. Is there a way or do I have to purge it?
View 6 Replies View RelatedI had configured a gmail account in evolution and used it successfully until recently when after a restart evolution asks me again to configure an email (Evolution setup assistant wizard) again.I already have my email configured but something must be preventing evolution to find my email account. What can I do to recover all that?My .evolution/mail folder still has all the data for example (got there some hundreds MB still). and I also have there other folders: addressbook, calendar..etc
View 8 Replies View RelatedAs of 27/03/2011 it seems. I assume a renewal is pending?
View 1 Replies View RelatedMy hardware platform is an old laptop built on an ATI motherboard and chips. It has 1.9G of RAM and 80G Hd. After months of trying distros here and there I have settled on Ubuntu 6.06 Dapper drake because it has a built-in module for my ATI Radeon 200m, it uses the hardware good enough without necessarily setting some Grub-time parameters like noapic, noapci, etc.
But the LTS is already expired and I can no longer Synaptic for the applications that I am in dire need of. I have even tried to compile backward WinehQ 0.9.9 but it did not make, requiring me to update libs and gcc, which, aside from being over-engrossing I have no luxury of time for that. Also recent softwares are built upon newer kernels which Dapper cannot cope with.Is there a way to obtain a DVD containing all the software compatible to Dapper that I can use offline and include it in the source.list paths?
Or, is there an online repository STILL available today, canonical or not, that provides a key so that I can still apt-get or synaptic to it?Is there a work around that I can do of for my purpose?I have spent two days already thinking about and tinkering but the result of my labor is unsatisfactory
I get an expired key warning every time I add a repo from the OBS. Creation/expiration dates are the same each time. This alway happens in the OBS, not Packman or elsewhere. I've tried cleaning the metadata and cache, and doing a rebuild with rpm. I've removed all of the existing keys associated w/OBS. Somebody know what this is about? I can't think of anything else to try.
Code:
New repository or package signing key received:
Key ID: 9584A164BD6D129A
[code]...
I get this when checking for updates from the update manager:
"
W: GPG error: http://debian.wgdd.de jaunty Release: The following signatures were invalid: KEYEXPIRED 1287271627 KEYEXPIRED 1287271627 KEYEXPIRED 1287271627 KEYEXPIRED 1287271627
[code]...
I tried to install nvidia drivers & when I tried aptitude update it says that 'backports.debian .org' Release file has expired ignoring......How long does it normally take to update?
View 5 Replies View RelatedI utilize the dhcp server in Debian to hand out IP adressing for around 2500 clients. It works flawlessly except that the lease tables dont seem to release expired leases. I have tried setting shorter lease times with no luck. I can manually delete expired leases.
View 4 Replies View RelatedOn my linux machine, I've enforced a password expiry policy every 45 days. So, today when I tried to ssh to the host, I get the typical "WARNING: Your password has expired". Fine, no big deal. But when I enter my new password and confirm, instead of giving me a login prompt, it tells me passwd all auth tokens updated successfully, then next line, "Connection to <host> closed". I can re-ssh back into that host and all is well from here, but it's a nuisance having to go through the extra step. Is this something in the /etc/ssh/sshd_config somewhere or perhaps a PAM config issue?
View 2 Replies View RelatedWhen I resume my computer from suspend (or after it goes to screensaver), I am sometimes unable to log back in. The message on the lock box simply says 'Timeout has expired' or something to that effect.There is no way to get around that, all I can do is cold-boot loosing all the work I was doing (unsaved).I do not have desktop effects enabled.Running Gnome 2.32, OpenSUSE 114., n550 proc and x3150 Intel GMA
View 1 Replies View RelatedOccasionally my machine displays the following warning whenever left to itself for an hour or so. "www.windowsvistatestdrive.com:443 uses an invalid security certificate. The certificate expired on 09/16/2009 10:52 AM. (Error code: sec_error_expired_certificate)"
I am not trying to access this site. It is not always the same url. My machine, described below, is networked to an XP machine which recently had to be recovered after a viral attack. Since I am not usually interested I decline to use the certificate and the warning goes away.
FC11, 2.6.30.9-90.fc11.i586
Code:
Message from syslogd@server at Nov 1 21:41:58 ...
kernel:invalid opcode: 0000 [#1] SMP
Message from syslogd@server at Nov 1 21:41:58 ...
kernel:last sysfs file: /sys/devices/virtual/vc/vcsa2/dev
Message from syslogd@server at Nov 1 21:41:58 ...
kernel:Process kswapd0 (pid: 22, ti=dfa28000 task=dfa20ca0 task.ti=dfa28000)
Message from syslogd@server at Nov 1 21:41:58 ...
kernel:Stack:
Message from syslogd@server at Nov 1 21:41:58 ...
kernel: 00000002 00000001 c117a740 c12f52a0 c103ba20 c103ba60 c103baa0 c110a600
Message from syslogd@server at Nov 1 21:41:58 ...
kernel: c110a640 c110a6e0 c136f800 c10ebc40 c10ebc60 c10ebc80 c114e2e0 c114e260
Message from syslogd@server at Nov 1 21:41:58 ...
kernel:Call Trace:
Message from syslogd@server at Nov 1 21:41:58 ...
kernel: [<c048bf17>] ? shrink_list+0x24d/0x4e1
Message from syslogd@server at Nov 1 21:41:58 ...
kernel: [<c048893d>] ? get_dirty_limits+0x1f/0x2e1
Message from syslogd@server at Nov 1 21:41:58 ...
kernel: [<c0423803>] ? set_next_entity+0xa0/0x10c
Message from syslogd@server at Nov 1 21:41:58 ...
kernel: [<c0402286>] ? __switch_to+0x78/0xfb
Message from syslogd@server at Nov 1 21:41:58 ...
kernel: [<c042c374>] ? finish_task_switch+0x8d/0xa7
Message from syslogd@server at Nov 1 21:41:58 ...
kernel: [<c048c3c1>] ? shrink_zone+0x216/0x289
Message from syslogd@server at Nov 1 21:41:58 ...
kernel: [<c048c8dc>] ? kswapd+0x369/0x51b
Message from syslogd@server at Nov 1 21:41:58 ...
kernel: [<c048b14e>] ? isolate_pages_global+0x0/0x19b
Message from syslogd@server at Nov 1 21:41:58 ...
kernel: [<c044065d>] ? autoremove_wake_function+0x0/0x34
Message from syslogd@server at Nov 1 21:41:58 ...
kernel: [<c0422947>] ? complete+0x39/0x43
Message from syslogd@server at Nov 1 21:41:58 ...
kernel: [<c048c573>] ? kswapd+0x0/0x51b
Message from syslogd@server at Nov 1 21:41:58 ...
kernel: [<c048c573>] ? kswapd+0x0/0x51b
Message from syslogd@server at Nov 1 21:41:58 ...
kernel: [<c0440365>] ? kthread+0x4b/0x6f
Message from syslogd@server at Nov 1 21:41:58 ...
kernel: [<c044031a>] ? kthread+0x0/0x6f
Message from syslogd@server at Nov 1 21:41:58 ...
kernel: [<c0403f87>] ? kernel_thread_helper+0x7/0x10
Message from syslogd@server at Nov 1 21:41:58 ...
kernel:Code: f6 43 ea 01 75 24 8b 85 78 ff ff ff f6 40 08 40 0f 84 63 03 00 00 89 f0 e8 88 14 01 00 85 c0 0f 84 2d 03 00 00 bf 01 00 00 00 89 <f0> e8 db f0 ff ff 89 85 7c ff ff ff 8b 46 08 85 c0 78 2b 83 bd
Message from syslogd@server at Nov 1 21:41:58 ...
kernel:EIP: [<c048b90e>] shrink_page_list+0x1b0/0x56c SS:ESP 0068:dfa29d80
The semaphore timeout period has expired.
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 RelatedI have like 4 email addresses on one Ubuntu One account and I'd like to remove them all except my current email... I also have an old account I'd like to delete. I used the contact form but to no avail.
View 2 Replies View Relatedi 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.
Im pretty sure this is trivial to config, but I havent had any luck searching on google.My situation is: I want to forward any emails sent to my domain to another account. So:
Code:
root@domain -> another_acc
any_other_system_user@domain -> another_acc
any_unknown_user@domain -> another_acc
A friend of mine helped me set up a server which includes Squirrel Mail.It?s CentOS 5.3.I have a person who would like to access Squirrel Mail at remote sites.My questions is, I can create an account on the server which has KDE and the usual general applications and he would have the remote access Squirrel Mail but he doesn?t need nor does he want to access KDE or anything else on my server. He just want an account so he can use Squirrel Mail.
View 1 Replies View Related1) In one of the pages about the differences between Linux and Windows it mentioned that new drivers mans updating the kernal. In windows something like this would erase everything. Can the kernal be updated without losing everything? 2) Can you have more than 1 account on mint? (ex: Owner, Billy, Guest...)2.2) ...Can the accounts have different access levels? (ex: Admin vs user)2.3) ...Is it possible for one account to run a program the others don't? (ex: Billy's account will load a video enhancer program on start up, but as I don't watch as many videos my account won't.)
3) How can I tell which themes/add ons will and will not work on my Firefox once I have switched to Mint?4) One of the games that I would like to follow me on the transition does not work in Linux but supposedly works in WINE according to the manufacturer. Would WINE or something like it be available in Mint?5) How hard is it to make your own theme in Mint? I'm very attached to a theme I have used for over a decade now and reproduce it in every computer I use. Can icons from windows be imported? About the computer:This will be a home computer in a multi-user household. It will be a brand new build starting from scratch with a few old personal files (videos, pictures, music, ect) making the leap. The computer is mostly used for internet, music/movies, light office work, art (GIMP!), and some games (most of which can run on Linux).
I have 4 Linux machines with cluster.My target is to find all kind of IP address (xxx.xxx.xxx.xxx) in every file in the linux system remark: need to scan each file in the linux system and verify if the file include IP address if yes need to print the IP as the following
more /etc/inet/file.example1
182.23.2.4
255.255.0.0
10.10.1.1