Ubuntu :: Creating Folders For Different Users?

Jan 18, 2010

I want to make a script to create a videos , photos, and documents folder in all of my (or anyone's) user's home folder. Wildcards don't seem to work if I try to put in: sudo mkdir /home/WILDCARD/videos here is my error.

mkdir: cannot create directory `/home/*/videos1': No such file or directory

and just to clarify i want all user's to have there own seperate folders not shared.

P.S. I tried with the -p switch and no luck. I just got a new home folder for * with the videos folder inside.

View 6 Replies


ADVERTISEMENT

Ubuntu Networking :: Creating Shared Folders- No 'testparm' Directory

Jul 14, 2011

I need to share some files from my Ubuntu 10.10 box to others on my home network so I created a shared folder, right-clicked it and chose "Sharing Options", chose "Share This Folder" and then I was told that additional software is needed to enable sharing. I agreed and software was downloaded and installed. But when I clicked "Create Share" button and told Nautilus to automatically add permissions for others to access my folder, I was slapped with an error message saying "Failed to execute child process "testparm" (no such file or directory).
So how to proceed and get sharing working again? I installed Samba afterwards via Synaptic and assigned the folder for sharing, but I don't see the special "arrows-both-ways" sign for this folder.

View 2 Replies View Related

Ubuntu :: Sharing Folders Between Users?

Feb 14, 2010

I am using Ubuntu 9.10 desktop. I set up my main user- admin and loaded the folders of files I would be working on and the relevant additional programs. Now, I would like to set up a second user so that someone else can use the computer with access to many of my files and folders, but not all, which would defeat having a second user. I have set sharing preferences for all of my folders. I have giving most rights to my second user. Yet the second user cannot even see ANY of my folders when they sign-in.

View 8 Replies View Related

Ubuntu :: Block Users From Looking Into Folders Of Others?

Sep 1, 2011

I created an account for my brother but it's a very limited account, just so he can browse and listen to music and stuff like that.However, what I do find funny is the fact that accounts are secured with a password but limited accounts can browse to /home and see the files of everyone, even admins, without Ubuntu asking for a password.I obviously do not want this to happen.Anyway, is there any way I can block him from being able to browse to my homefolder, other than encrypting it?

View 3 Replies View Related

Ubuntu :: Samba Share In 9.10 - Few Folders Access By 3 Users

Apr 28, 2010

I have configure few folders access by 3 users, In common folder only users that create that document can do changes. The rest of the users can only read the file but can not do changes. Ownership of the folder is admin, group is sambashare which already have the access create and delete files. All the 3 users already in sambashare main group, and they only can edit the file that they copy or create to the common folder .........

View 5 Replies View Related

OpenSUSE Install :: Creating New Users Via CL?

Mar 26, 2010

I was wondering if someone could maybe provide me with a list of things to give a new user using the useradd utility. ( home directory, permissions, etc.) or even point me in the direction of a solid walkthrough

View 4 Replies View Related

Ubuntu Servers :: Windows Users Can't Mount Share Folders?

Mar 25, 2010

When I connect with my ubuntu 9.10 x86_64 freenx server from Linux/Mac share folders from client side will properly mounted and I can use with no problems.

When I connect to the same server from windows box, I get this error message:

Quote:

Info: Share: '//COMPUTER/FOLDER' failed to mount: mount error(5): Input/output error
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

Last two days I was googleing a lot about this but all I tryed didn't work.

Is there somebody share folder works from windows connection?

View 2 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

Ubuntu Servers :: Samba Users Able To Browse Folders With No Permission

Feb 11, 2011

I've set up smbd 3.4.7 on 10.04x64 LTS server. I've set up a couple shares and I'm having problems blocking access to certain directories using native file permissions. There is one directory that has folders for each sales rep to store their current list of quoted clients, I only want sales people to be able to browse the directories owned by themselves. Everything seems to be set up correctly in terms of user groups and permissions on the filesystem.

Below is marina, a sales rep, and brian, a super user of sorts.
id marina:
Code:
uid=1011(marina) gid=1006(office) groups=1006(office),1005(sales)
id nick:
Code:
uid=1000(brian) gid=1006(office) groups=1006(office),118(admin),1001(full),1002(processing),1003(management),1004(it),1005(sales)

Below is the directory with all the sales reps folders.
ls -la:
Code:
total 60
drwxrwxr-x 15 root it 4096 2011-02-10 20:06 .
drwxr-x--- 9 root office 4096 2010-11-19 12:40 ..
drwxrwx--- 13 katya full 4096 2010-12-07 12:36 Katya
drwxrwx--- 18 lana full 4096 2011-02-08 17:09 Lana
drwxrwx--- 23 marina full 4096 2011-02-10 18:09 Marina
drwxrwx--- 4 mike full 4096 2011-02-01 12:42 Mike

With this setup marina only be able to browse her folder, but she can browse all folders and has full write access to all folders. This leads me to believe something is up with the smbd.conf file, which is below.

Code:
[global]
workgroup = COMTREAD
null passwords = no
server string = Root Server
dns proxy = no
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0 .....

In this case the valid users directive would not work cause I am not making a share for each user. I had this on other shares like the db2 share. My windows box lagged heavily when I tried to access that share with an invalid user. How to deny users the ability to modify permissions I would also like to do that.

View 3 Replies View Related

Ubuntu Servers :: Virtual Users Permissions For Created Folders

May 28, 2011

I have problem with virtual users in vsftpd. When they create folder they cant make another in than folder, or for example they cant see files they upload in that directory...That write permision i try to change in their config file, with every combination of local_umask and file_open mode values. How can I handle that. I want that virtual user who creates directory (in their root directory) have all privilages to that folder and all content in that folder.

View 4 Replies View Related

Ubuntu Servers :: Samba And Share A Folder An Sub Folders For Windows Users

Feb 19, 2010

I've installed Ubuntu Server 7.10 Gutsy and Webmin 1.500 on it. The thing that I want to do is: I want to share a folder an sub folders for windows users ( guest user) I should modify those folders from my ubuntu desktop 9.10 karmic they are all same folders. Is it possible? if yes how can i make it. you can tell from webmin or samba configuration file.

View 8 Replies View Related

Fedora Servers :: Script For Creating Multiple Users?

Feb 7, 2011

I need to create a lot of users locally on my server.I have these info:username:GID:UID.How I can make a "for cycle" for make a multiple useradd? (useradd -u UID -g GID -m /home/USERNAME -s /bin/bash USERNAME)I tried to do this:

touch userlist.txt (UID:GID:USERNAME)
100:110:user1
200:210:user2

[code]...

View 6 Replies View Related

General :: Creating Unique Users Accounts Using Count?

Mar 16, 2011

I 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]...

View 4 Replies View Related

Debian :: Restrict FTP Users To Home Folders (chroot)?

Feb 11, 2010

I have a debian-based ftp server running that I have created a few user accounts on. I will have clients uploading files to the server via ftp soon, and I need a way to restrict their access to only their home folders. I am not familiar with chroot, but from what I read, it can be used to restrict a user to their home folder, and that sounds perfect. How can I do this?

View 4 Replies View Related

Software :: OpenSUSE - Map Users Folders From Samba Sharing

Aug 24, 2010

There are 3 computers:

- OpenSUSE (Workstation configured to log in using Active Directory Information)
- First Windows Server (Domain Controller)
- Second Windows Server (Provide shared folders for users to use)

How do I map domain users from second Windows Server (like \windowsserverusers<user>) to a folder (like /home/<domain>/<user>/<user_personal_folder>) in OpenSUSE computer ? It should be via samba right? Trying checking something in /etc/samba/smb.conf but couldn't find anything.

View 2 Replies View Related

OpenSUSE :: Change Permissions For NTFS Folders Based On Users

Nov 11, 2010

I'm a new openSUSE user. I want to make an account for my cousin, but we want our NTFS folders (from the dual WIndows XP install) inaccessible to each other. Problem is that, if I've read well in other searches, permissions can't be applied to NTFS (only the power to write, not only read, the whole partition). I know this can be done in Ubuntu, so I don't find a reason not to be able to do it, and I think my fault is that I'm using KDE (which I like more now, by the way) instead of GNOME.

View 9 Replies View Related

Debian :: Deny The Users 2 & 3 From Accessing Windows Driver And Folders?

Oct 30, 2010

as we know in windows xp drive and folder permissions, we perform (folder-right click-properties-security tab-we check, group or user and assign ALLOW or DENY access to the folders) In the same way i want to DENY access to my windows driver sda1 & sda2 from the Debian OS. my system is being used by 3 users: user1, user2 & user3. All can access to all Volumes, so I want to Deny the users 2 & 3 from accessing my windows driver and folders. BUT i alone user 1 should have permission to access them. How do i change that in Debian 5.5? Allow/Deny Permissions to Volumes.

View 3 Replies View Related

Ubuntu Servers :: Give Power Users Ability To Access All Of Their Folders Without Thrashing Security.

Feb 8, 2011

So, I am looking to implement an FTP server with Isolated Client accounts/directories where a client can only access what's in their directory. I also need to provide my internal user's (content managers) the ability to upload, delete, etc from all of the Client accounts. The simple part is creating the secure client accounts. It's a matter of changing DIR_MODE in adduser.conf to 700 or 770, creating a user, having the FTP server chroot them to their home directory, revoke/restrict shell/ssh access and maybe even slap on some ACL to prevent botched permissions.The hard part is figuring out how to give my power users the ability to access all of their folders without thrashing security.

My first thought was to put all of the client user-groups in a parent group and having my internal users inherit group permissions..but you can't have groups inside of groups.My second thought was to put all of the client users in the same group and prey that the FTP chroot is enough to keep them from poking around but then I have the problem of how do my internal users access other user directories if they are chrooted. Do I create a second server without chroot.do I create some weird nested homedir structure..I honestly have no idea how to satisfy both requirements (secure client accounts and privileged user accounts). I need my privileged users to authenticate against Active Directory via Likewise open, LDAP, etc and I don't care how the clients authenticate. Though, I would prefer to have both file and FTP-server level protection just to make sure no one can see the other client's data.

View 1 Replies View Related

Red Hat / Fedora :: Creating Web Page For Users With Restricted Shell To Change System Pw?

Feb 3, 2011

I have a box that's used as an SFTP server. All users have restricted shell so they can only use SFTP to send and receive files. But it makes it hard to have them change their passwords. I thought that if we had a web page set up where the user could enter their username, old password, new password and confirmed new password, that this would be the easiest solution.

View 1 Replies View Related

CentOS 5 :: Automatically Mount Users Home Folders On Logon And Store The Configuration In Ldap?

May 6, 2011

I'm running into problems adding the required schema for automount and ldap on Centos 5.6 (also tried Centos 5.3)In the last few days I was able to setup LDAP server and get client authentication working. I want to be able to automatically mount users home folders on logon and store the configuration in ldap.I've done the following so far

1) added include in /etc/openldap/slapd.conf to /etc/openldap/schema/redhat/autofs.schema

# See slapd.conf(5) for details on configuration options.

# This file should NOT be world readable.

#
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/redhat/autofs.schema

View 4 Replies View Related

General :: In Ubuntu 9.04 - Mount The Different Folders On The Partition To Different Folders In Home?

May 12, 2010

I have a shared NTFS partition ("shared") that I use for data for both Windows and Ubuntu. How can I mount the music folder on shared to $Home/Music, and the Videos folder on shared to $Home/Videos? I want to mount the different folders on the partition to different folders in home.

View 2 Replies View Related

Ubuntu :: Hiding Folders Inside Of Shared Folders?

Mar 27, 2010

I am setting up a lubuntu nas with all of my music, movies, etc on it. I want to give my kids access to my mp3 directory, so I can move all of the kid appropiate music into the root of my mp3 dir, in the same order I have all of my music sorted. Under the Music folder, I have them sorted, in folders, by letter. So A, B, C, D, etc... Now, in those folders are the respective artists. So where there may be something approipate in the P folder (say, Paramore), there is something inapproipate (say, Pantera)Now, when the kids go to the P folder, I don't want them to even see the Pantera folder. I just want them to see the Paramore folder. I tried a test using chmod 711 and chmod 700 on a directory with a test user, and the user can't access the directory, but can still see it

View 3 Replies View Related

Ubuntu :: Linking Content Of Windows Folders To Folders

Mar 31, 2010

The Problem was I wanted to open my /home/Pictures folder and have it display the contents of the My Pictures folder in my windows partition. This way I could have ubuntu and xp using the same set of music files, picture files, etc. I was having a very hard time understanding how to get from here to there because I'm such a newbie. However I have discovered how to do it and I wanted to post it, in hopes it will make things easier for other newbies.This allows me to see every TYPE of document in /dev/sda8/Media (windows My Documents folder) without having to see any of the folders (My Music, My Pictures, etc).

View 1 Replies View Related

Ubuntu Servers :: Add Windows & Mac Users As Samba Users?

Nov 23, 2010

If I want to add Windows & Mac users as Samba users, must I first add them all as Ubuntu users? If so, since none of the other users will actually be working on the Ubuntu Server, how do I disable the other non-admin users on the Ubuntu Server login screen. I am using Webmin to administer some server settings, and command line for others.

View 3 Replies View Related

Ubuntu Networking :: DHCP Only For Authenticated Users(AD Users)?

Apr 4, 2011

i have a Domain Cotroller installed on Windows & DHCP Server installed on Ubuntu. i want to give access only authenticated Users(Active Directory Users) can get IP from DHCP. No one else canis there any option available here in DHCP ???

View 2 Replies View Related

Ubuntu :: How To Map Domain Users To Local Users Group

May 27, 2011

how to map all domain users form group Domain Users to local group users (and maybe some more)? Im using Ubuntu 10.04 x32. Its connected to my domain using Samba and Winbind, I can login using my domain credentials, automatically map user folder form DFS server, but I think that domain users have too much priviledges in the system and want to restrict them as much as possible

View 2 Replies View Related

Security :: Sudo For Users But Only +r On Other /home/users Ubuntu 10.04 ?

Nov 1, 2010

We are trying to set up a classroom training environment where our SIG can hold classes for prospective converts from Microsoft/Mac. The ten machines will have /home/student01..10 and /home/linsig01..10 as users. We want /home/student01 to be able to explore and sudo so they can learn to administer their personal machines at home. We don't want them to be able to modify (sudo) /home/linsig01. I've seen the tutorial on Access Control Lists but I'd like other input so we get it right the first time.

View 3 Replies View Related

General :: Created Users In Pureftpd And The Users Are Stored In Mysql Database?

Dec 19, 2010

How to created users in pureftpd and the users are stored in mysql database. I tried when i try to connect i got like this error authentication failed error

View 1 Replies View Related

Server :: Script To Add A Secondary Group To All Users Except System Default Users?

Jun 28, 2009

script which can add a secondary group to all existing users except system users in linux.

View 5 Replies View Related

Fedora Networking :: Mapping Windows Users On Unix Users

Sep 29, 2010

Samba up and running on my pc. pc runs FC12 with kde. A laptop has win vista. The pc can access the shares on the laptop but the laptop has authentication issues to access the pc. Note that windows doesnt enforce authentication forincoming network connections.Using the system-config-samba util i tried to map a windows user to the unix user "feduser". The laptop (named LAPPY) has a user (lapuser) which has on windows no password.What should I tell samba config what the windows username should be? lapuser or LAPPYlapuser doesnt work because when accessing the pc via the laptop, the authentication fails. The only auth that is successful is when choosing the same winusername as the unix username.

Secondary, id like to setup the laptop so that the user doesnt have to provide a name and password, or at least not more then once in the lifetime of the laptop. Note that you cant provide an empty password to system-config-samba. How is that possible?

Strange but not really on issue imho:the samba - KDE control module(kcmshall4) (and the smb.conf) shows 2 shares: the homedirs and the data dir the samba server configurator (system-config-samba) shows only the datadir.

View 3 Replies View Related







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