General :: Ommand To Check Expired Accounts?
Sep 9, 2010Is there a command to see what user accounts are set to expire or expired.(OS = Red Hat)
View 1 RepliesIs there a command to see what user accounts are set to expire or expired.(OS = Red Hat)
View 1 Replieshow to find expired account
View 6 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
me know how to find expired account in linux. I am using RHEL 4.0
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 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'm using sendmail and I'm trying to set up some forwarding accounts. It seems simple enough but all the results I've gotten on Google so far are pretty unhelpful. Isn't there a straightforward tutorial somewhere?
View 4 Replies View RelatedI 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 RelatedWe 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 will expain my setup :
SERVER 1 - SHARED ACCOUNTS
SERVER 2 - RESELLER ACCOUNTS
On server 2, all of a sudden my resellers are complaining that the accounts they create are not working, so I checked out.. and I realised that the accounts all have 'Unknown' as the IP.
So, steps I took so far...
1. Rebuilt Apache
2. Restarted the server
After each of these steps I have created new accounts, and still I have this error.
On 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.
I am looking at creating two user accounts for "contract system admins"..These guys will be performing sys admin duties for a sever -- however, I am still concerned about security of data. For example, the server contains password information for our database, etc.Besides making them sign an NDA, etc. what other security mechanisms could I put in place to ensure that they don't just go buck wild. For example, when someone makes a sudo command, is this logged?
what are some recommendations for general security practices?
i'm configuring sendmail for a little office but i was requested for two domains e.g. [URL] and [URL] i've created this two domains but at the moment i create a user account how could i make the difference between wich domain the user belongs?
View 1 Replies View RelatedWhat is the least painful way to temporarily prevent uploads to an FTP server by certain accounts? they all only upload directly to their home directory setup in /etc/password
View 1 Replies View RelatedFC11, 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.
My Linux laptop has recently been hanging for no apparent reason, and so I have been using a Mac OS X laptop in the meantime. I just installed Thunderbird and wanted to copy all my preferences and account settings to the new laptop. All email accounts are IMAP based.Can I simply copy the data, or does Thunderbird for OS X store data in a different format from OS X? What about if I wanted to copy the preferences to Thunderbird under Windows? Finally, what files do I copy? I haven't powered up the Linux laptop yet but I'm guessing there's a ~/.thunderbird/ directory, can I just copy this to the Mac?
View 1 Replies View RelatedI have been using a cron job to duplicate a folder into another users account every day and someone suggested using symbolic links instead although I cannot get them to work. In summary user GAMER generates log files that they want to access via HTTP, however I only have a web-server in the user account SERVER, in the past I would copy the logs folder from GAMERS account into SERVER/public_html/. and then chmod the files so the server could access them. Trying to use symbolic links I set up a link from root (as only root can access both accounts) I used: ln -s /home/GAMER/game/logs/ /home/SERVER/public_html/logs
However it seems that only root can use this link, I tried chmoding the link, all the files in the gamers /game/logs/*, /game/logs itself to 777 as well as changing chown and chgrp to server the files still cannot be read. When viewed from servers account my shell shows the link and where it is to hi-lighted in black with red text. /home/GAMER/game/ (chmod & chgrp) drwxrwxrwx 3 SERVER SERVER 4096 2011-01-07 15:46 logs
/home/SERVER/public_html (chmod -h & chgrp -h)
I am trying to figure out a way to pull the user information from local users on a Linux server. I have approximately 40 servers running SUSE and Ubuntu that are using Microsoft Active Directory in order to authenticate. Our internal auditing group has made us disable root ssh ability, I was doing this with clusterssh, but I can login as me then su on the server to conduct root, admin, work. This is an ongoing request to get the local users and it is a painfully slow process since I have to login to each server to get the /etc/passwd file. Is there another way to get the local user information? They are now asking about seeing the last logon date or if the account is disabled, any thoughts there as well?Most of our auditors think Windows and I am trying to make my life easier but not sure what options I have. I need to get local accounts and if they are active or disabled plus last logon date. I'm sure there will be more but if I can get the basics adding more shouldn't be too difficult but I guess I'll cross that bride when I get there.
View 7 Replies View RelatedI am trying to create users accounts reading from a file. I can get it to show if the user already exists but I want it to instead of not creating the user account to create e.g. Scott1 etc.The code i have so far is :
#!/bin/bash
while read line
do
[code]...
I have couple of users in one machine. I can access the /etc/passwd,/etc/shadow and /etc/group files in this box. I have another box. I want to create some user accounts in the second box by just looking in the passwd, shadow and group files in the first box. I would just copy over the corresponding lines into the corresponding for whichever accounts I want to create as new and also change the lines for which I want to update the account information. Is this possible and will also the passwords work fine? Please also let me know there is any good tool for automatically doing this kind of stuff. Both the boxes that I have are Ubuntu machines though one is running Ubuntu 8.04 and the other is 10.04.
View 5 Replies View Relatedi have a linux box at work that was configed by some that has left the company. we have an email add: e.g test@test.com, if you enter that mail add to a new email it then sends the mail to several email accounts the are on the server.i would like to remove and add new users onto that email address, is there anyone out there that can help?
View 1 Replies View RelatedThe default output audio port Ubuntu doesn't work on my system. It should be "Analog Mono Output/Amplifier", instead of "Analog Output/Amplifier". I can easily change that in sound preferences, just by choosing the right port in the "Output" tab. The problem is this would only apply to a single account, and I would like to change it system-wide, so it applies to all accounts on the system (I have more than 100 users...).
Update: I can achieve the same effect as I would by changing it in sound preferences using the following command: pacmd 'set-sink-port' 'alsa_output.pci-0000_00_1f.5.analog-stereo analog-output-mono;output-amplifier-on' Unfortunately that's still not system-wide,
I wrote a small script that gets me the list of enabled system accounts in my system.
I figure '*' & '!' (in field #2 of /etc/shadow) mean that the account is disabled or they cannot login, hence 'safe-to-ignore'
Code:
IFS=$'
'
for i in `cat /etc/passwd` #get each line in the passwd file
do
var1=`echo $i | cut -d':' -f3` #get user ID field
if [ $var1 -lt 500 ] && [ $var1 -gt 0 ] #compare to extract relevant IDs
[Code].....
BTW i figure the following command gives me the list of system users, but i am not able to find a way to process it further... :-(
Code:
awk -F":" '$3 >= 1 && $3 < 500 { print $1 }' /etc/passwd