CentOS 5 :: Lock Filesystem For Specific Users?

Aug 1, 2011

I want to lock the filesystem based on user basics, In effect only specific users should have write access. This need to done apart from normal permission setup.

In Detail:

filesystem: /app
application users: appuser1 & appuser2
Normal users: user1 user1

Required: Only app users need to have write permission over app file system, this should done apart from the normal directory permissions. The all other users can able to view the contents even though other users have write permission based on permissions.

This need to done by over ridding the normal permission setup.

View 6 Replies


ADVERTISEMENT

Ubuntu Servers :: Using Groups To Lock Users Away From Filesystem?

Mar 31, 2010

I'm currently running a small server using 9.10 and I wondered if using groups was a possible route in order to keep users away from the bulk of the file system and keep them in locked their home directories.

What I planned to do is use a group named 'allowsystemfiles' to be added to admin accounts, then to set parts of the file system to that group, along with the permissions 0760 to keep non-admin users out.

Is is a good idea or will this hose my system?

View 7 Replies View Related

Red Hat :: Script To Watch Specific Filesystem

Jun 22, 2010

I need to create a script to monitor the space for one filesystem. I was looking thru google and I found this version, apparently is good, because appears a lot of time.But I need to watch just a specific filesystem. in my case: /opt.So I need to modify this script in order I can watch the space in /opt.

My OS version is : Red Hat Enterprise Linux ES release 4 (Nahant Update 7)

View 13 Replies View Related

Ubuntu Security :: Set Automatically Log In To A Specific User Account And At The Same Time Lock The Screen?

Jul 6, 2011

Is there a way to set Linux to automatically log in to a specific user account and at the same time lock the screen? I want to save time and trigger various software that always should start up on boot, while leaving the computer unattended during startup (extra important and practical for remote control boots), by enforcing a 'screen lock' so that no-one can see what happens behind the login screen without entering the login credentials.

View 3 Replies View Related

Ubuntu :: Lock Down Gnome For Guest Users?

May 21, 2010

I am volunteering to set up a computer lab for a small private school on an extremely limited budget. I love Ubuntu for my home, and on my server at work, but have never used it in a school before. I would like to "lock down" all the control panels, pretty much everything except for a few applications (open office, firefox, and some educational games, of course). I don't want the students (who will be automatically logged in as guests) to be able to make changes, or unintentionally mess things up.

Alternatively, at the public school I work at, we use Windows (sigh) that has been "frozen" using a program called Deep Freeze (similar to windows "steady-state"), which causes any changes a user my make revert back to default when rebooted. Is there a Linux equivalent? That may work too!

View 9 Replies View Related

OpenSUSE Network :: Lock A Certain Website For Internal Users?

Aug 4, 2010

I have a firewall/router box running openSUSE 11.2 between the outside world and the LAN. This router also provides DNS for the LAN and has SuSEfirewall enabled. LAN users need (almost) full access to the internet. However, I want to block certain sites which are not required for work (you name it: facebook is my candidate). What is the most elegant way to block certain sites (which have quite a lot of different IP numbers) ?

View 2 Replies View Related

Security :: Pessulus Not Working / Not Able To Lock Other Users Profiles?

Nov 5, 2010

I installed Pessulus on my workstation and I'm not able to lock other users profiles? I see the little wooden shield when I click on them, excpet it isn't blocking anything?

View 1 Replies View Related

Security :: Lock Down Individual Users From Setting A Proxy Server?

Feb 16, 2010

how to lock down individual users from setting a proxy server. Its a server not a WS so it should never go to the internet. I want to lock down the system side and firefox 5 settings.

View 14 Replies View Related

Ubuntu :: Delete Specific Users Along With Their Files?

Jul 18, 2011

I am trying to delete specific users along with their files, these are the steps i am taking,

Quote:

sudo su -

Quote:

cat /etc/passwd

Quote:

userdel user1

userdel command not found.

I am not able to remove the specified user, Does anyone know how else to remove this user.

View 7 Replies View Related

Ubuntu :: Restricting Users To A Specific Folder And Its Subfolders

Dec 29, 2010

I wanted to restrict users within a particular folder say /var/lib/tomcat/webapps. I want the users to see all subfolders inside webapps and work with it (edit+read but no delete). I understood that chroot is the way, and i read this [URL] community discussion, but what i understand out of it is, they are trying to give a complete working installation of ubuntu to the user within a directory which i dont want to.

View 3 Replies View Related

Ubuntu :: Make Certain Files/folders Invisible To Specific Users?

Jan 7, 2011

I've got a NAS running and I'd like to somehow make some of the folders and files invisible to certain users only. For example, if I 'ls' a directory, I want to see files 'a', 'b', and 'c'. But if another user does 'ls' in the same directory, I only want them to be able to see 'a' listed.I know I can use 'chmod +700' to make certain files not able to be read/written, but the filename would still appear in a 'ls'.I know I can put certain files inside of a '.hidden' file in the folder, but then it would be hiEdit : I'd also like to mention that the users that connect to the NAS could be coming from Windows or Mac operating systems. So hopefully the solution would work for users from those systems also..

View 5 Replies View Related

Security :: [LDAP] Account To Manage/create Only Specific Users?

Oct 19, 2010

Is there a possibility in openldap to allow a user to only create/manage specific LDAP users?For example user "mailadmin" may only create/manage mail accounts in LDAP that are named like "m1342895"? Or a specific list of user accounts that are in a specific group?

View 1 Replies View Related

Server :: Samba Share Read Only For Guests / Write For Some Specific Users

Jun 19, 2011

I've been reading for a while about samba but I haven't found a solution to my problem yet.I'd like to know if, the configuration I have in mind, is possible at all ("security = user" is what I'm using now).I want a directory to be:
1) read only for guests and some UNIX users;
2) write for some other UNIX users.

The advantage of this configuration would be that every single user in my LAN (with or without a UNIX account) would be able to read the content of the shared directory Music and I (UNIX user andrea) could manage the folder directly trough samba preserving the correct owner/group and permissions on the new files/folder created.

Notes about my configuration above:
1) as it is now every user gets authenticated by samba as nobody so even I (andrea) cannot write in it;
2) commenting out the line "guest ok = yes" I can authenticate as "andrea" and write in it but guest access is not possible any longer.

View 6 Replies View Related

Server :: Accept Mails To Unknown Users And Route Specific User

Jul 31, 2009

I need to instruct sendmail to accept mails that are destined to users that are not available on my server and then forward those emails to catchall@mydomain.tld.Please remember that i don't want to forward every single mail to catchall user. I just want to forward those emails which would be destined for users that do not exist on my server.i have used define(`LUSER_RELAY', `local:catchall@d.com')but it doesn't seems to work.

View 2 Replies View Related

CentOS 5 :: Way To 'lock' To Minor Release Version Of Centos?

Aug 18, 2010

I've had two centos smtp relays setup since 5.1, and it seems every day there are updates, and about every 3 months new minor releases.Is there a way to "lock" to a minor release version of centos? I use yum update to run updates, is that the correct process?

View 2 Replies View Related

CentOS 5 Hardware :: SuperMicro / CentOS Compatibility - Specific Model 1026TT-TF

Sep 4, 2010

I am looking into 1026TT-TF and 6016TT-TF for a CentOS 5.4 or 5.5 64bit installation:

SuperMicro 6016TT-TF
SuperMicro 1026TT-TF

It will be used as a Web-server mostly. Since they are twin nodes, one node will be one strong firewall. I have been checking all over and I can't find any driver, bios, or issues with this specific motherboard from Supermicro and Intel 5500/5600 series CPUs. Is there anything that would concern you with these servers?

I am also looking to put in a 4-port Gigabit LAN card into one node which I doubt makes any difference in the whole equation. Further more, and most importantly, the first one takes only 2.5" HDDs and the second option accepts 3.5" HDDs. Other than size availability and price, are there any concerns regarding performance when chosing one over the other? System which accepts 3.5" HDDs only takes two per node so I have to opt for 1TB drives. For the 2.5" system I can go with 4 of 2.5" HDDs of 500GB in size. Either of options selected will be setup in RAID-1.

View 5 Replies View Related

CentOS 5 Server :: Can't Mount Ext4 Filesystem In Centos 5.6?

Sep 7, 2011

Summary of issue: EXT4 filesystem won't mount--with error = mount: unknown filesystem type 'ext4'. Is no ext4 in kernel the issue? Or is something corrupted?Really perplexed by this. I updated Centos 5.5 to 5.6 to get ext4 (5.6 is supposed to have full support of ext4). I built several arrays and put the ext4 filesystem on them. All went well until I tried to mount them. BTW, this array (below) is set up as a RAID6 using partition 1 of #8 2TB drives.Bear with me here; just trying to be complete and not waste your time.

Attempting to mount give this:[root]# mount -v /dev/md1 /asc/array1mount: unknown filesystem type 'ext4'Note: it does "fake" mount with ption (which apparently does everything except the system call):[root]# mount -f -v /dev/md1/dev/md1 on /asc/array1 type ext4 (rw,grpquota,usrquote)e2fsprogs:Package e2fsprogs-1.39-23.el5_5.1.x86_64 already installed and latest version (for Centos 5.6; CentOS 6x uses the 1.41...)

View 5 Replies View Related

CentOS 5 :: Creating New CentOS 5.4 User With Specific Privilege?

Mar 23, 2010

I am looking to create a user to be able to do WinSCP or SSH into the system and only be able to see /var/www/html/joomla/ and that is it. I don't want them to be able to start or stop service but be able to upload and download files to the specific directory or change privileges of the mentioned directory. Is that possible? what commands should I run.

View 1 Replies View Related

CentOS 5 :: Why Did X Lock Up The System

Sep 11, 2009

I had a system lock up recently, running RHEL4, and had no choice other than to powercycle as I could not log on at the console or remotely.

When booted, the machine ran, I could log on remotely and apache started up, but the system locked up again when I logged on to the console with X.

I suspect that the X configuration and/or the NVIDIA monitor driver was messing things up and I took the opportunity to migrate to CentOS 5.3.

How can I determine what happened? I still have the /var/log files when the system locked up including messages, boot.log, Xorg.0.log, etc.

I _SUSPECT_ that what messed up X and thus the system was the NVIDIA driver that I downloaded to get X to work on the console monitor, a SUN AI24PO. X would not work with this monitor and any of the default drivers that came with my RHEL4 disks.

I really hesitate to use connect this same SUN AI24PO monitor again but still, I only have a suspicion that the monitor/NVIDIA driver were the reason the system locked up.

The graphics card is a GeFORCE FX5200

Were the lockup problems a result of the monitor/NVIDIA driver?

View 7 Replies View Related

CentOS 5 :: Cannot Lock KDE Desktop

Jan 6, 2010

Normally Ctrl-Alt-L or clicking on "Lock Session" works, but as of the past couple of days when I do these, nothing happens. What could be wrong?

I also tried 'sudo kdesktop_lock' and 'sudo kdesktop_lock --forcelock' to no avail.

CentOS 5.4, KDE, all packages up to date.

View 1 Replies View Related

Red Hat / Fedora :: Filesystem Check After Power Outage - WARNING: "Running E2fsck On A Mounted Filesystem May Cause SEVERE Filesystem Damage"

May 18, 2011

I am very new to linux, and I have a question regarding the filesystem check (fsck). The power recently went out and when I tried to restart linux the following error appears:

*/dev/sda1 contains file system w/errors, check forced it then goes on to say..

*An error occured during the file system check. Dropping you to a shell; the system will reboot when you leave the shell. Give root password for maintenance (or type Control-D to continue) I wasn't sure what to do, but checked some other online forums and they suggested running fsck manually - so I typed in the root password - and used the command, "fsck -A -V ; echo == $? ==" it then gave the following message

*WARNING!!! Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage
*Would you like to continue (y/n)

Again, I wasn't sure what to do so i just checked no. I then manually turned off the computer and was prompted at the beginning to press Alt-3. I was brought to another screen and it informed me one of the drives was degraded and suggested rebuilding the array. I tried doing this, but it still brings me back to the original error of, "/dev/sda1 contains file system w/errors, check forced," and the process continues.

Also, when I tried to rebuild the array, I didn't backup any of the data on our home directory before doing this (which was probably a big mistake). After being prompted to type the root password, I was able to give the ls command and look at all the directories...the home directory where our data was stored was empty and I am afraid I may have lost some information. Is there a possibility that data was lost when I was trying to rebuild using the old drives?

View 2 Replies View Related

CentOS 5 :: Lock Screen As Root?

Aug 11, 2009

I've googled for the answer to this but every thread has the same answer "don't log in as root". For once I'd like an actual answer to the question if possible. All of the jobs that I run are all through the root account and I'm constantly using ssh into other workstations and servers to change config files or whatnot. I'd like to be able to lock the screen when I take short breaks or head out for the day while being able to leave jobs running. For example I am currently backing up a server onto another one and would prefer not having to stop the jobs when I leave for the day(there's over 400GB to move).

View 1 Replies View Related

CentOS 5 :: Blank Screen With VNC Over SSH, And Lock Ssh Session?

Sep 2, 2010

I have 2 servers, I set the first one up so that I can remote to it and connect with VNC over ssh by following:[URL]ServerThe 2nd server I did the same, but I cannot connect! When I do, vncviewer prompts for a password and then opens a window of the correct size, but it is all white and then my ssh session is locked! I can't enter any more commands, I have to kill the session.

View 3 Replies View Related

CentOS 5 :: Lock Screen Stopped Working?

Sep 21, 2010

Is it just me, or has 'lock screen' stopped working in a recent update? I updated my install today and after rebooting I can't lock the screen... the screen saver doesn't lock it and if I select 'lock screen' manually from the menu then... nothing happens.

I even created a new user in case there was something weird in my configuration, but logged in as them I can't lock the screen either.

This is obviously a bit of an issue in an office environment as I don't want to have to log out every time I leave my desk.

View 6 Replies View Related

CentOS 5 :: Unable To Get Box (Centos 5.3) Authenticate Users Through LDAP?

Jun 4, 2009

So far, I've been able to get my Box (Centos 5.3) authenticate users through LDAP. My next plan was to automount their home directory from our NAS device.But I'm struggling getting autofs talking to the LDAP Server.My Config Files:

/etc/ldap.conf
[root@tmplt_CentOS-5 ~]# egrep -v '^#|^$?' /etc/ldap.conf
base ou=intern,o=zde,dc=simiangroup,dc=com

[code]....

View 2 Replies View Related

Fedora Installation :: Error: Can't Create Transaction Lock On /var/lib/rpm/.rpm.lock (Permission Denied)

Nov 22, 2010

I just downloaded OpenOffice 3.2.1 from the openoffice.org weebsite. I followed the instructions precisely and everytime ended up in the same error message - 'error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Permission denied)'. I am using Fedora 13.

View 2 Replies View Related

Ubuntu Servers :: E: Could Not Get Lock /var/lib/dpkg/lock - Open (11 Resource Temporarily Unavailable)

Mar 25, 2010

When i connect windows server 2003 from ubuntu these error displayed .When i installing the tsclient, by executing these following command from a Terminal window:

sudo apt-get install tsclient

When i run these command the following error displayed.

E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)

E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

View 1 Replies View Related

Ubuntu :: 10.4 Freezing \ When Tried To Turn It On Some Of The Lights Came On And The Caps Lock And Num Lock Started Flashing?

Sep 14, 2010

I have a HP Pavilion dv4 that is 4 months old. Yesterday it suddenly seemed to restart then once I logged in it turned off. When I tried to turn it on some of the lights came on and the caps lock and num lock started flashing. Since then I have not been able to get it to work correctly.It once seemed to turn on but died again after the login window.I tried to use my live cd but the same thing happened. It started loading once, but then shut down again. Every other time it stayed dead minus the lights

View 1 Replies View Related

Ubuntu :: Sudo-apt Get Not Working - Not Get Lock /var/lib/dpkg/lock Resource Temporarily Unavailable

Jun 12, 2011

I recently installed Ubuntu 11.04 on an old Sony Vaio laptop. I was following some of the steps here..[url]

The step "Enable Full DVD Playback(Dual Layer DVD Support)" did not finish correctly doh and now I can't use 'sudo apt-get' for anything or the software center or using the 'Update Manager' does not work.

The update manger says it may be caused by an update not finishing correctly which sounds correct as explained above. The apt-get command gives me back the following....'Could not get lock /var/lib/dpkg/lock resource temporarily unavailable' 'unable to lock administration directory /var/lib/dpkg is another process using it?'

I tried the obvious restart but that hasn't worked.

View 6 Replies View Related

CentOS 5 :: Lock Screen After System Resume From Suspend / Hibernation?

Mar 21, 2009

For the sake of security, I want the screen to be locked after the system is resumed from suspend or hibernation. Now the only way I can do this is to check the options "Lock screen when screen saver is active." in the screensaver preference. But this method is annoying since I have to type the password to quit the screensaver. Is there other way to do this? Thanks.

By the way, I use CentOS 5.2 x86_64.

Leonard
2009-3-21

View 1 Replies View Related







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