General :: User Creation (with Only Read Only Access)

Feb 3, 2011

I need to create a user with least permission on the production server. He should only be able to read or execute the files that to be specific. For example: I just need to give him a set of commands to run.Besides those command execution He should be prevented to run any other command and He should not able to create any files(write permission).

How would i proceed about this.

View 1 Replies


ADVERTISEMENT

Server :: Cannot Assign Read Access To User

Feb 18, 2011

ls -al /guests

I want to be able to assign the group "readers" read access to guests/c1 but it says access denied. but it shows r-x acsess. i want to be able to control who has read access and not just give it to everybody.

View 2 Replies View Related

General :: Consisten User Account Creation/Maint - Script?

Jan 29, 2010

I would like to create a script for consistent user account creation and maintenance.

Current situation:
Server A
user1:11111:15:USER USER:...
user2:22222:15:USER USER:...
Server B
user1:33333:15:USER USER:..

[Code]...

Now i would like to make uid consistent on all servers for each user. Next time if user1 needs to be created on Server D it should automatically pick the particular uid.
Janak

View 1 Replies View Related

Networking :: Run The Job Under A Root Account And Deny Read/write Access To A Normal User?

Jan 18, 2010

I'm setting up Ubuntu Karmic on my sister's old computer for my nephew, he's quite young so my sister asked to install some content filtering. I'll first setup an OpenDNS account and I've installed and managed to get dansguardian and squid working on a virtual machine to try it out. so far it's working pretty well, but I need to secure it form the inside out.

I was thinking of blocking specific outbound ports so he could not bypass the proxy. because by default the firefox configuration can be easily changed. so I have a couple of questions.

1. is it possible to block outgoing ports on Ubuntu?
2. is that the best method?
3. is there anything else I should be aware of to prevent subversion?

lastly, this question is probably unrelated to this board but I've set up a cron job to update a dynamic ip with OpenDNS, the problem is that the password is in clear text in the user's crontab, can I play with permissions? is it possible to run the job under a root account and deny read/write access to a normal user?

View 1 Replies View Related

General :: Windows Access The File From Ubuntu Got Read Only Even Though Have A Full Permission To Read, Write And Execute The File?

Feb 4, 2010

What are the possible problem when Windows access the file from Ubuntu got Read Only even though have a full permission to read, write and execute the file? Ubuntu to Ubuntu accessing the file there is no problem only Windows got a problem.

View 1 Replies View Related

Ubuntu :: User Account Creation In 10.10(Mav)?

Nov 14, 2010

the OEM account was created when I just installed Maverick (10.10) and now I've changed the password on that account and want to create a daily user account, cannot locate where I can do that.I want to learn Linux badly but am completely in the dark beginner right now.

View 4 Replies View Related

General :: Give User Access To Directory In Another User's Home

Mar 8, 2010

I'm developing an application in which one user must run java software that I'm compiling as another user. I wanted to give user A permission to see the bin direcory of my workspace, which is in the home directory of user B. I was wondering how can this be done? I gave the bin direcotry full read/execute premissions, but since it's in my home directory user A can't navigate to it.

I know there are a few ways I could get around the problem but they arn't very elegant. I was wondering if there is a simple method for giving a user access to a specific directory without giving access to all the parent directories. I tried symbolic link but user A still can't access it, and a hard link to a directory isn't allowed in Linux. I don't feel like making a hard link to every single file in the bin directory, and I'm not sure that would work anyways, since every recompile overwrites them.

View 7 Replies View Related

Fedora Installation :: F13 User Lost After Creation - Automatic Login

Sep 28, 2010

I have a windows 7 ultimate host machine, installed oracle virtual box on it. Made a iso image to boot fr fedora. All this is fine when the installation is complete, it asks for reboot. Reboot done. Then I went to terminal. Did a SU - root to get into the root. Then I did a firstboot command to enter information. I created a user for myself and at the end rebooted the virtual box.

When it starts up, it does not show my user. It just shows "Automatic Login" and it logs in as Live System User. Even if I try to switch user then it gave me a authentication failure when I enter the credentials of the user which I created. If I try to create users manually using system administration, the user is lost after reboot. I have tried all possible steps...as instructed on the net.

View 1 Replies View Related

OpenSUSE :: Automatically Set Shortcuts On New User's Desktop On Account Creation?

Aug 28, 2010

I've used it recreationally in the past but am now attempting to deploy an OpenSUSE LTSP server in my wife's computer lab at her school. really like to make it easy for her to give the kids instructions for the day via a text file/pdf located on the kid's desktop. What I'd like to do since there's 500 kids that she teaches is create a shared folder for each grade that she just drops the assignment instructions into. I'd like to avoid having to add a link manually in each user's /home/*/desktop folder, so is there an easy way to do this?

In case the above isn't clear...
1) Create folder on teacher's desktop that is set to share
2) Create a link on each user's desktop to enable them to access said folder
3) Ideally, all new users will have a specific folder based on which usergroup they belong to (1st grade, 2nd grade, etc

View 1 Replies View Related

Programming :: Get A Password In A Bash Script For Mysql User Creation?

Apr 25, 2010

I'm trying to get a password in a bash script for mysql user creation. But sometimes a get a non-alphanumeric character(s) in the password, and mysql failes with that. I tryed with apg -EO0Il1`~!@#$%^&*()_+-=[];./{}|:"'<>? but failed. I tryed with sed 's/[^a-zA-Z2-9]//g' , but at that moment the minimum password lenght failed. I'm also fine when there is a better alternative then apg.

View 2 Replies View Related

General :: Setup A Read Only FTP User?

Oct 19, 2009

Hello, I'm trying to set up a read only FTP user; basically, they have the ability to browse a particular images folder and download, but not write (or delete accidentally). I've got it set up so the FTP user logs in directly to the folder, so I'm good with that; but they still have write permissions. We have an application built in PHP that copies image uploads to this folder; it also resizes them in the same folder. So in addition to the main FTP user (me) who needs write access to this folder, whatever the Apache/PHP user is (not sure?) also needs write access. Is there a simple way to affect read/write permissions on a user level?

View 4 Replies View Related

General :: Recommend For A New User To Read?

Feb 20, 2011

This is my first post and there probably will be many more. I've used linux before for short periods but never really tried to learn it. I've decided that I want to study linux and learn as much as I can about it. I dont hate windows or OSX but I really like problem solving and using the command line. Which I used to love with DOS.

I'm going for a complete career change so I want to get certified in Linux by taking the LPI test so I can show employers that I have some computer certification(In Japan it really helps). Now, I'm studying commands and trying to do simple tasks(just playing now) but want to get into it more.

Question: What books do you recommend for a begginner with just dos and windows problem solving experience to start learning linux? Also, what programing language should I pick up a bit for linux?

View 7 Replies View Related

Ubuntu Servers :: User Creation In Postfix - Cannot Send Or Receive Email

May 3, 2011

I used this tutorial to setup to setup iSpconfig postfix courier: [URL] but i cannot send or receive email:

[Code]....

Basically when i create users in ISPconfig, something goes wrong, mysql is running and i have postfix-mysql installed and running too.

[Code]...

View 2 Replies View Related

Software :: Default Creation Time User Home Directory Permissions.

Jan 8, 2011

When I am creating a user (say sandy) on my FC14 system, I find that the default permissions for her home directory (/home/sandy) are 700.Can I somehow set up my system so that these permissions are 711 in place of 700.

View 3 Replies View Related

General :: Read User Guide In Apt-doc On Ubuntu?

Jun 16, 2011

I just installed apt-doc package. My question is how do I read the User Guide in this package ? In general how do I use the items from a package once I install it ?

View 2 Replies View Related

General :: Set Read Only Access To One More Group?

Oct 15, 2010

We are aware that unix has three sets of permission such as owner, group and others. I have a requirement to have a read-only access to a folder and sub-folders and the group that currently holds can't be used. Because it has write privileges. I would rather not prefer to use others, because it opens to each user in the system.have read-only access for another group?

View 1 Replies View Related

Ubuntu :: Desktop Icons Creation And Panel Content Creation After Login Getting Slower

Nov 17, 2010

I've been running 10.04 since September on my new MSi i3 notebook and about two weeks ago I noticed that when I login after system boot, propagation of icons on my desktop and the content of my Panel have become slower and slower.If I logout and login again the propagations are not slow.

View 1 Replies View Related

General :: No Read / Write Access To Ipod?

May 17, 2010

I'm using Arch right now and i'm having problems syncing my ipod with Amarok (KDE). Everytime I would want to sync a song, it would give me access denied. it is currently mounted at /tmp/ipodbxQtrU and i have tried using chmod with no luck. I was in root when i used "chmod -R user ipodbxQtrU" and it said operation not permitted.

View 1 Replies View Related

General :: Can't Access /etc/sshd_config To Read Or Edit?

May 9, 2011

What is going on here? I can't access /etc/sshd_config to read or edit it, even as root. (Using debian-live 6.01)

root@debian:/etc# ls -l /etc/ssh*
total 132
-rw-r--r-- 1 root root 125749 2010-02-28 01:37 moduli
-rw-r--r-- 1 root root 1616 2010-02-28 01:37 ssh_config
-rw-r--r-- 1 root root 2453 2010-03-13 17:32 sshd_config

[Code]...

I also checked the permissions for the parent file /etc, and root has rwx. Is this something peculiar to the overlay file system used in debian-live, or just another unix gotcha?

View 7 Replies View Related

General :: Allow Specific User Permission To Read / Write Folder?

Feb 4, 2011

allow specific user permission to read/write my folder

I have a folder called /TAR/Sketch

I added a new user, named Snoopy, I want to grant this user the ability to add files & directories to this folder which is under the group Sketches and the owner is me.

How can I accomplish this ?

View 1 Replies View Related

General :: Setting Read Permissions Of A Directory For Root User Only?

Mar 21, 2010

I'm using ubuntu 9.10. I used the command:

root@aduait-laptop:~# sudo chown -R root:root /media/104B-FF96/Private to set the permissions of Private folder for root but it is giving error:

Code:
root@aduait-laptop:~# sudo chown -R root:root /media/104B-FF96/Private
chown: changing ownership of `/media/104B-FF96/Private/5.jpg': Operation not permitted
chown: changing ownership of `/media/104B-FF96/Private/6.jpg': Operation not permitted
chown: changing ownership of `/media/104B-FF96/Private/7.jpg': Operation not permitted

[Code].....

View 5 Replies View Related

General :: Centos Grant Read Access For RSync

May 2, 2011

I am trying to setup a Rsync backup method.I have multiple files and folders all OWNED by different users.Now I can read the files as root.But I want to make a user for RSYNC that can ONLY read all these files for copying them across.It requires to create a non password login and I dont want to do that with the root user ! I have tried to create a new user and use 'setfacl':setfacl -m u:someuser:r /var/test.But when I su to 'someuser' I cannot copy the files to my homedir. So I think it wont work for rsync also.

View 8 Replies View Related

General :: Assign Read Privileges To User On Specific Directories And Files

Jan 26, 2011

I am using CentOS 5.5 and I created few users (useradd john etc.) and now I want to assign privileges to this user on some directories and files in those directories. For example I want to give read privileges to directory "/documents" and all of files under that directory.

View 13 Replies View Related

General :: File Permissions - Read Or Write Access To Different Users

Jul 8, 2010

I own a particular file on a Linux system. I would like to give 2 groups (accounting, shipping) read access and only read access, and 3 users(Mike, Raj and Wally) write access and only write access. How can I accomplish this?

View 3 Replies View Related

General :: Write Operations Being Performed On File With Read-only Access?

Aug 24, 2010

I'm having this problem wherein the ppp program is altering the /etc/resolv.conf file when connecting.This, despite me having set file permissions to read-only. What could be the problem here?

View 9 Replies View Related

General :: Write A Shell Script Which Will Read The Directory Path As Input From User?

Nov 28, 2010

I am new to writing shell scripts. So, please bare with me. I am currently trying to write a shell script which will read the directory path as input from user and will traverse the Dir tree to find all available audio and video files. I have tried to write as much as I could but I don't know where I am making mistake as I get some files to be audio file which are actully tar balls. On the second note there are some files which video but script shows them to be audio. And, some video files are completely skipped. I am giving the shell script below so that you can see. I am using two external files as source which I am attaching.

Code:

#!/bin/bash
#Let's load the extensions that we want to search for
vdExt=$(cat vdExtList)
adExt=$(cat adExtList)

[code]....

View 5 Replies View Related

General :: File-permissions On Read-only Media: Allowing For Access Without Chmod?

Mar 14, 2010

I've hit a wall here; I'm attempting to find some way by which to view files and cd into directories on a device mounted read-only. So I need the permissions to read, write, execute (and the same with directories), but chmodding is out of the question because I don't want to alter the drive one iota.

I guess what I could do--what I was thinking of initially--was to dupe the whole drive and then mess with permissions. This wouldn't affect the original (actually I'm working on a duplicate of the original, but I'm treating it as if it were the original) but I was hoping for something that would maintain data integrity. This is a forensic application and not altering the data is very important.

View 2 Replies View Related

General :: Permissions - Manually Mount A File System Read/write As A Normal User?

Oct 6, 2010

I want to simply mount an ext4 file-system onto a normal mount point in Ubuntu (/media/whereever), as read-writable for the current logged-in user, i.e. me.

I don't want to add anything into /etc/fstab, I just want to do it now, manually. I need super-user privileges to mount a device, but then only root can read-write that mount. I've tried various of the mount options, added it into fstab, but with no luck.

View 3 Replies View Related

General :: Access Another User's Home?

Jun 10, 2010

I'm on a network where I have the rights, but how do I do it? I've been asked to look up another user's aliases for reference.

View 2 Replies View Related

General :: How To Add User So That They Have No Shell Access?

Feb 18, 2010

Im want to know the command to add a user with no shell access so they cannot log onto the system, but there a user on there so for example they can be part of the email server.

View 2 Replies View Related







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