General :: Pam Time Restrictions Not Working?

Jan 14, 2010

I dont want to allow the user winny on saturday and sundays. I added the following line in the /etc/security/time.conf file.

login;*;winny;!SaSu0000-2400

Then i added the following line in the /etc/pam.d/login file.

account required pam_time.so

this is the first line of that login file. But if i tried to login with the username winny it allows me to get log in. Is anything has to be change?

View 14 Replies


ADVERTISEMENT

General :: PAM Password Restrictions Don't Seem To Be Working

Apr 21, 2010

I set some restrictions in /etc/pam.d/system-auth, but they don't seem to be affecting anything.

/etc/pam.d/passwd:

Code:

password required pam_cracklib.so retry=3 minlen=8
password required pam_unix.so md5 shadow use_authtok

/etc/pam.d/system-auth:

Code:

auth required pam_env.so
auth sufficient pam_unix.so likeauth nullok
auth required pam_deny.so

[code]....

View 3 Replies View Related

General :: Ssh Tunnel Username With Restrictions?

Mar 25, 2011

i have jsut setup a kvm virtual machine on my server. to connect to the VM from outside of the network i use ssh tunneling. what i would liek to know is if there is any way to create a new user with jsut ssh access. i dont want people to be able to edit files in ~/ or such. jsut need the user to estabilish the connection to the server

View 1 Replies View Related

General :: Internet Access Restrictions With Squid?

Dec 30, 2010

I am using internet web control through squid... All is working fine only some little bit issues.

(1) Sometime when i tried to open google.com or any site I got message (The requested URL could not be retrieved) Screen Shot Attached.) but again after sometimes same websites will open.

url

(2) I would like to block word 'sex'.. So I have edit squid.conf with the following acl

acl Blockword url_regex sex
http_access deny Blockword

but problem occur in some websites where 'sensex' word found in url. Then squid block 'sensex' url content website also..

View 2 Replies View Related

General :: Safety - Impose Restrictions To A Process On Linux?

Mar 25, 2011

Can I limit the system resources that a process can use on Linux? I want to configure the system to avoid that some specified processes use some system resources:

choose if a process is allowed to use network and Internet.

choose which files and folders that a process can read, write or execute.

choose if a process is allowed to use sound and graphics output, and printer.

choose the limit of memory that it can use.

View 2 Replies View Related

General :: Change The Restrictions To Some Normal Text Files?

Oct 23, 2010

I'm trying to change the restrictions to some normal text files and their result is not what is expected.

For example, when I put:

chmod 000 testfile.txt

on a file that is

-rwxrwxrwx,

it instead becomes

-r--r--r--.

It doesn't matter whether I do it with a root or the owner of the file, the result is the same.

Also, putting

chmod u-rwx testfile

results in the file becoming, again,

-r--r--r--.

Also, some doesn't have any effect, such as

chmod o-r testfile.

Even if I do this, the result is the same -rwxrwxrwx.

View 10 Replies View Related

General :: DST Time Change For Positive Timezones Not Working?

Jan 11, 2010

I was doing some testing which is required for some of my products

Here is the strange behaviour i observed

First i did set the timezone to PST 2010 (which is less than GMT basically negative timezone)

zdump -v /etc/localtime |grep 2010
/etc/localtime Sun Mar 14 09:59:59 2010 UTC = Sun Mar 14 01:59:59 2010 PST isdst=0 gmtoff=-28800
/etc/localtime Sun Mar 14 10:00:00 2010 UTC = Sun Mar 14 03:00:00 2010 PDT isdst=1 gmtoff=-25200

[Code]....

Note:in the above case when i did set time to 2:59:55 and said ok by then CEST became CET already. That could be the reason why DST is not happening.

I tried with few other positive and negative timezone configuration all the negative time zones resets back properly where as all the positive timezones doesn't

All my timezone files are up to date,i am using fedora 9

View 2 Replies View Related

General :: Mounting Hda5 And Sda7 Is Not Working At Same Time?

Sep 27, 2010

mounting file system in centos,(NTFS) I am able to mount hda5 which is NTFS in centos by editing /etc/fstab, but not able to mount sda7( also NTFS)at that same time,however after editing /etc/fstab i can mount one HDD at any time, making both entries in /etc/fstab is not working. BOTH HDDs are NTFS , one is SATA and other is IDE.

View 7 Replies View Related

General :: First Time User / Wireless Connection Not Working

Nov 28, 2010

Okay so I am a total newb to linux. I installed Ubuntu using Wubi and am trying to figure out how to get my wireless connection working. It occurred to me I may not have the right driver for use with Ubuntu for the wireless connection at my house. I couldn't find anything on the web to help..it appears I have a realtek RTL8102E wireless card in my laptop. I have absolutely no idea how to resolve this situation..I've looked on the web, but everythings pretty confusing. If I could get the wireless working it would be a good first step.

View 3 Replies View Related

General :: Flash Player Hasn't Been Working For Some Time

Oct 14, 2009

My flash player hasn't been working for some time and I downloaded Flash Player 10 tar.gz from the Adobe website.I followed the instructions on various websites as the ones on the adobe website were too complicated for me, and after eventually figuring out how to open a terminal window, the commands wouldn't work.

View 2 Replies View Related

General :: Calculation Of Working Time Based On System Uptime

Jul 28, 2010

I know several tools that allow tracking time spend on different tasks / projects.Is there any existing tool for very very simplified work-time-tracking.I am an employee, come to the office, switch on my laptop directly. I have mostly around 1 hr lunchtime, but sometimes less, sometimes more.At around 18:00 I want to type one command in the console (or simple GUI would also be okay of course) that tells me:"1 hour overworked. Go home now! (came at 8:00, 1 hour standard lunch-break)."

View 1 Replies View Related

General :: When Switching From Mint To Windows - 70% Of The Time My Wireless Stops Working

Feb 5, 2011

I am currently dual booting between Linux Mint 10, and Windows Vista SP2. Wireless works fine in both these OSes, but when I quit Mint and load Windows, 70% of the time my wireless stops working.

ie, it does not detect any wireless networks nearby, althought there are tons of them.

Restarting the wireless device doesnt help, I have to restart my computer at least 4 times for wireless to start working again.

And as of now, my wireless in Linux Mint has stopped working.

View 1 Replies View Related

General :: Live Proxy Detection Decide Which One Is Working Well At Particular Time - Switch Over Automatically?

Jul 30, 2010

In my college many proxy : port (like 144.16.192.245:8080)are using to get Internet connection, performance of each proxy changes, how can i decide which one is working well at particular time. is there any way to switch over them automatically?

View 9 Replies View Related

Ubuntu :: Restrictions Of MP3 And DVD

Jan 1, 2011

I try to understand the reasons for restricting DVD and MP3. My conclusion so far is that DVD is restricted due to software patents (and the DMCA). The software decoding DVD is open software, though. What is the situation regarding MP3? It is also restricted. Is it due to the same kind of software patents? As I understand, the MP3 codecs are not free software (like DVD)?

View 2 Replies View Related

Fedora :: Get Rid Of Policykit Restrictions

Sep 5, 2010

How can I get rid of all policykit restrictions that fedora 13 has? I just upgraded from fedora 10 and of course my freenx sessions are again unable to do anything useful like mounting a drive. Difference is no GUI now to help fix this. So I would like to get rid of all restrictions.

View 6 Replies View Related

OpenSUSE :: KDE Action Restrictions Does Not Work?

Jul 6, 2010

I'm working with Opensuse 11.2 and KDE 4.3.5. I tried to restrict the run command (with Alt-F2) in the kdeglobals file:

~/.kde4/share/config/kdeglobals
[KDE Action Restrictions]
run_command=false

But there is no effect. With Opensuse 10.3 and KDE 3.5 it works fine.

View 3 Replies View Related

OpenSUSE :: Put IP Restrictions On A Single PHP File?

Jun 3, 2011

I usually use .htaccess to restrict access to directories. But what if I just wanted to secure a single php file? Is there some sort of code that would allow me to say ONLY THIS IP can access this PHP file?

View 3 Replies View Related

Ubuntu Servers :: Ssh Restrictions Per Interface ?

Aug 20, 2010

I have a server with two active network interfaces. On one, I need ssh open for all users (it's running LTSP, and as I learned the hard way today, blocking ssh kills LDM access).

On the other interface (which connects to the rest of the network), I only want to allow a few administrative users to connnect.

Is there a way to do this cleanly using sshd_config or PAM? I don't want to do something hacky like running dropbear.

View 3 Replies View Related

Ubuntu :: Removing 'var/www' Root Restrictions?

Sep 26, 2010

I have an Apache, PureFTPd, PHP5, and MySQL server setup and running. I'm running several scripts that require folder access of "var/www" in order to accomplish the scripts duty. How do I remove and/or work around the security measure?

View 7 Replies View Related

General :: Change The Creation Time Of All A Folder's Files To The Current Time?

Jun 19, 2011

Under a Linux shell, how can I change the creation time of all a folder's files to the current time?

View 2 Replies View Related

General :: Change Time (Advanced Eastern Time) On Slackware 8.1?

Mar 24, 2010

I have a linux (Slackware) machine and the time/date is like, June 23rd 2003, 10:00am (It's 11 here) and I am not able to set the time to have it correct. I change the timezome to Montreal but the time is still wrong.

Is there a way to force it to sync with my domain controler or even another online NTP server?

View 1 Replies View Related

General :: Short A Time Can Time (system Program) Measure?

Apr 15, 2010

I'm just wondering what the limits for time are. I have a program that always takes exactly 20 ms, so I assume this is the lowest it can measure, but I want to see if there's some sort of documentation of this.

View 3 Replies View Related

General :: Computer Time Difference At Windows / Make The Time The Same?

Apr 13, 2011

My computer has different time when booting to linux or Windows.How to make the time the same?My computer time is 10:57pm Apr 14 when booting to linux.My computer time is 2:57am Apr 14 when booting to Windows Vista Home Premimum SP2.Both OS are set to the same time zone (GMT-5. Eastern Time US & Canada).

View 5 Replies View Related

General :: Get The Values For The User Time And System Time For A Process?

Aug 4, 2009

get the values for the user time and system time for a process.i have tried getrusage to get values of ru_utime and ru_stimebut these don't seem to be correct

View 3 Replies View Related

Fedora :: Username Restrictions And Groups And Computernames?

Nov 24, 2009

I have searched for days on Google and can't find a clear answer to my question. I have a NT4 PDC which I am migrating to Samba 3 (Version 3.4.2-47.fc12) on FC12 with kernel(2.6.31.5-127.fc12.i686). I am using tdbsam as my passdb backend.I setup Samba as a BDC and then joined to NT4 Domain succesfully. When I go to vampire the accounts I get lots of errors and some user accounts get transfered over. It turns that all the user accounts that transfer are those that don't have a capital letter in their username on the NT4 domain server. Most do and don't get transfered. There seems to be errors with my groups and Computer accounts.Is there a way to change the requirements in Fedora 12 for username, groups and computernames?

View 1 Replies View Related

Fedora :: Delete Restrictions For Users' Passwords

Dec 22, 2009

I have Fedora 10 installed. I want my users to be able to use any password they want. So I edited /etc/pam.d/system-auth, the password section.
Was:

Code:
password requisite pam_cracklib.so try_first_pass retry=3
password sufficient pam_unix.so md5 shadow nullok try_first_pass use_authtok
password required pam_deny.so
Become:

[Code].....

View 2 Replies View Related

Fedora Networking :: Internet Access Restrictions?

May 31, 2011

I have a work network of about 20 boxes most of which are running Windows 7 and one of them is a file server using linux and another is Windows server 2003. Now the local IP is distributed by the router, and no regulation of internet access is done by any of the servers.What I need to do is restrict internet access to select domains, which would probably need DHCP through linux(I think, not really sure), and I need something simple like a 'blabla.conf' file with the allowed websites that I can edit. need to know how to regulate IP addresses through the linux box (all details if possible, I never tried to do that before), and how to restrict internet access also through linux.

View 4 Replies View Related

Ubuntu Servers :: Put A Few Login Restrictions In Place?

Jun 3, 2010

I've got Ubuntu server 10.04 set up and I wanted to make a few restrictions. It's pretty much just acting as a VMware server at the moment, and there are some users I've created who I only want to be able to be able to log into the VMware infrastructure web interface. I want to make sure these users can't log in via SSH, FTP, or the console itself. I understand how to block them from logging in via SSH by using DenyUsers, and I added these users to the /etc/ftpusers file to lock them out of FTP, but how can I block them from logging in at the console itself?

I tried locking the user out by editing the /etc/passwd file, but the problem is that by doing this, it also prevents the user from being able to log into the VMware web interface.

The user's entry in /etc/passwd looks like this: bsmith:*:1005:1005:Bob Smith,,,:/home/bsmith:/bin/bash

View 3 Replies View Related

Ubuntu Servers :: Set Sudo Commands Restrictions

Nov 7, 2010

does anyone know how to set restrictions on the commands a user can run as sudo? i want to make it so they can only halt the system.

View 1 Replies View Related

Networking :: Apply A NAT With Source Restrictions At Iptables?

Jul 22, 2010

I have a computer with two interfaces (eth0 and eth1), eth0 is connected with a local network and eth1 is connected to the internet, also it implements a NAT in the interface eth1. Nevertheless, I'm trying to create spoofed packets with sockets raw in the computer that runs the NAT and send the packets to the interface eth1. The problem is that the NAT is changing the IP source to the real one before send the packets. So, anyone have any idea how can I implements the NAT in eth1 but only apply the NAT to the packets that are from/to eth0? I was thinking in something like (I am really newbie with iptables):

iptables -t nat -A POSTROUTING -o eth1 -i eth0 -j MASQUERADE

Well, it didn't work.

View 1 Replies View Related







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