Red Hat / Fedora :: How To Create Multiple Users

Aug 27, 2010

how to create multiple users in linux

View 4 Replies


ADVERTISEMENT

Ubuntu :: Create A Directory That Can Be Written To By Multiple Users

Feb 6, 2010

I have a small ubuntu server setup and I would like to create a directory that can be written to by a select number of users. I have a backup directory setup and I want to enable my account as well as three others to be able to read/write to that directory. So far I haven't had any luck.

The owner of the backups folder, a directory on a separate disk mounted under /srv/storage, was owned by root and under the root group. I added the group backups and then changed the backups directory group to backups. I then used chown to change the backups directory to 775 to enable group members to write to it. I then tried to touch a file in the backups folder but no such luck. I did notice that when I run groups, my user account isn't shown as belonging to backups but is shown under the /etc/group file. I even made sure the GID of backups is in fact below 1000.

Anyone have an idea on how to create a shared directory that everyone can create, modify and delete any file? I believe my problem is related to the fact that root is the owner of the backups directory.

View 4 Replies View Related

General :: Multiple Users To Create Directories Over SFTP So The New Directories Keep The Same Permissions?

May 15, 2011

I want to make a webserver with multiple users allowed to login through SFTP to a specific folder, www.Multiple users are added, lets say user1 and user2, and all of them belonging to the www-data group. The www directory has an owner www-data and a group www-data.

I have used chmod -R 775 on the www folder, but after I try to create a folder test through my SFTP server (using Filezilla) the group of the directory created has only r and x permissions, and I am not able to log in with the second user user2 and create a directory within www/test due to a lack of w permission to the group.

I also tried using chmod 2775 on www directory, but without luck. Can somebody explain to me, how can I make it so that a newly created directory inherits the root directory group permissions?

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

Red Hat / Fedora :: Users In Multiple Groups And File Permissions?

Feb 12, 2009

this directory has permissions 750 and is owned by user1 and group user1 I have an admin user that is primarily a part of group admin, but also a part of group user1 what would stop admin from having read and execute permissions on this directory? I'm running clamav and have a clamd daemon running as user admin (I could run it as any user, and I may make a special user later, but I don't want to run it as user1, user2, etc).

I have 2 (technically lots more, but let's just say 2 for now) users, user1 and user2 that have home directories /home/user1 and /home/user2. each is owned and group owned by user1:user1 and user2:user2 respectively with permissions of 750. my admin user is part of groups admin, user1, and user2 I need this to be able to scan my user's directories using the command (is this correct?):

clamdscan --move=/files/quarantine/ --config-file=/etc/clamd.d/adm.conf /home/user1/file

doing this gives the error:

/home/user1/file: lstat() failed. ERROR

If I change the directory permissions to 755, it works fine.Or if I leave the permissions 750 and change the directory group ownership to admin, it works fine. So, why would this be? Obviously it is a permissions issue, but why is it not reading admin as part of the user1 group and allowing the same permissions as it does when making the directory group-owned by admin?

View 7 Replies View Related

Fedora :: Create Several Different Users For Different Members?

Sep 14, 2009

I wish to create several different users for different members of the family. They should all have different menus, and they should not be able to access some programs, above and beyond just the normal root blocked ones. Any personal configuration files (eg, bookmarks, saved passwords, logins for other programs (IRC, MSN, etc) should also not carry over. One of them needs to have KDE enabled as default (as it looks the most like windows). I however, would prefer to have enlightenment enabled as default for me. Is this in any way possible?

View 3 Replies View Related

Red Hat / Fedora :: Cannot Create Directory /home/users/newuser

Apr 5, 2011

CentOS 5.5

I am trying to add new users, when I use the command: # useradd newuser

I get: useradd: cannot create directory /home/users/newuser

I went to my /etc/skel and when I use the command ls it displays:
home

and when I go into /etc/skel/home I have the two directories that I created.

I am logged in as root, and when I ls cd / it shows /home, when I cd into /home everything looks normal.

How do I get this error to stop so I can add new users?

View 7 Replies View Related

Red Hat / Fedora :: Create Multiple User Account With UID?

Mar 15, 2011

Our requirement is to create multiple user account with UID:-

/tmp/users.txt
rohit
guna
samsir

like this 100 user names in /tmp/users.txt file

/tmp/uid.txt
2001
3789
1000134
like this 100 UID's in /tmp/UID.txt file

The script should take input from both the files and create user account. for example user account rohit should have an UID of 2001 and user samsir should have an UID of 1000134.

View 2 Replies View Related

General :: Use 'iw' To Create Multiple Virtual Interfaces To Connect To Multiple Networks?

Oct 26, 2010

I'm trying to connect one computer to two others in an ad-hoc infrastructure.

[computer 1] ---- [computer 2] ---- [computer 3]

computer 2 is running Linux and has a single NIC wlan0. I want to it to connect to both computer 1 and computer 3 so each computer can talk to the other. No switch is available so it needs to be an ad-hoc setup.

[Code]...

View 1 Replies View Related

Fedora Hardware :: Create Multiple Partitions To Install Several Other OS's On?

May 31, 2010

Say I have this computer and this computer has a 1TB hard disk. I install Fedora 13 on this disk and let the installer do as it wishes with this 1TB of space. I'm going to end up with the LVM thingy. (Can you tell yet that I know nothing about LVM?). Can I, at a later date, use some of the available space to create another partition to install another OS on. Can I create multiple partitions to install several other OS's on?

View 7 Replies View Related

Fedora :: Create A Form In Bash That Would Display Multiple Radio Lists?

Feb 4, 2010

I am attempting to create a form in bash that would display multiple radio lists with an OK and cancel button on the bottom. I tried using the command line tool dialog, which is really nice. But it won't let me do multiple radio lists on the same form.

View 2 Replies View Related

Fedora Networking :: Tool To Create Multiple Listening Servers On TCP And UDP Ports

Jan 17, 2011

Looking for a test tool where I can fire up any number of ports (TCP and / or UDP) to listen on.

I am currently getting my using nc but its only 1 port at a time (i know I can open up multiple sessions but thats cumbersome), it can't do UDP, and it closes at the end of the session.

A friend has suggested socat but it looks pretty much the same except it can do UDP, but also cumbersome, I have to manually output to a different file per port, etc.

Basically its so I can quickly test firewall and NAT rules.

View 7 Replies View Related

Installation :: Create Common / Home Partition For Multiple Distributions Like Fedora / Ubuntu / OpenSUSE?

Mar 15, 2010

Can I create common /home partition for multiple Linux distributions like Fedora, Ubuntu, openSUSE?

View 3 Replies View Related

Ubuntu :: Multiple Users Not Working?

Apr 25, 2010

I had Ubuntu 9.10 running ok, but I've decided to try Lucid Lynx with Kubuntu and was quite impressed with the quality of KDE. Everything worked out of the box also.Until I tried to login with two other accounts this computer had...With one of the users I get both errors seen on the snapshot. One regarding the network manager (which I think it was given just because it was already started by another user), and the ibus error, which completely locks the user from accessing any other drive or usb disk.For the third user, even if creating it from scratch (not re-using his /home), I get an error:

Code:
kstartupconfig4 does not exist or fails. The error code is 3. Check your installation.
/home is in another partition that's been used since 7.10 I think. I did cancel all /. from

[code]...

View 1 Replies View Related

Ubuntu :: Cron With Multiple Users?

Oct 31, 2010

Let's suppose that a machine has three users:

(1) david
(2) dan
(3) joel

The computer now restarts and during the log-in process, I choose to login into dan's account.

At this point, when I am logged in into dan's account, will Ubuntu run the crontab jobs that belong to david / joel?

View 4 Replies View Related

Security :: Having Multiple Users For One Session?

Oct 12, 2010

is that possible to have multiple users for one linux session? and how can i do that ? it's possible to creat virtual users for a session ?

View 2 Replies View Related

General :: Git Version Control With Multiple Users?

Mar 30, 2010

I want to setup a git repository, three of four users will contribute, so they need to download the code and shall be able to upload their changes to the server or update their branch with the latest modifications.So, i setup a linux machine, install git, setup the repository, then add the users in order to enable the acces throught ssh.Now my question is, What's next?, the git documentation is a little bit confusing,i.e. when i try from a dummy user account to clone the repository i got:

xxx@xxx-desktop:~/Documentos/git/test$ git clone -v ssh://xxx@192.168.1.104/pub.git
Initialized empty Git repository in /home/xxx/Documentos/git/test/pub/.git/
xxx@192.168.1.104's password:

[code]....

View 3 Replies View Related

Ubuntu Multimedia :: Sound From Multiple Users On Same Box?

Feb 3, 2010

Ok, for various (mostly security) reasons I was experimenting in running certain apps as a different user id (on Karmic).

I can get X to forward to my main session without a problem but I cannot get the sound to work. Sound works fine in my main session, but when I run sound as another user I get plenty of errors like:

PHP Code:

ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave 

I am not a big linux GUI person, so I have rarely dealt with sound systems under Linux. What is the simplest way to get this to work in a relatively secure way? (I do realize that my security is already a bit compromised by allowing the secondary user access to X, but that can't be helped)

View 3 Replies View Related

Ubuntu :: Adding Multiple Users Terminal?

Jun 1, 2010

I want to add users from the command line, I know I can use the adduser for individual users, but if you have 50 or more there must be another way. I'd rather not use the GUI.

View 2 Replies View Related

Ubuntu :: Multiple Keyboard Layouts For Different Users SSH

Feb 7, 2011

I work in a company where the Ubuntu server is managed by different people around the world.
Day-to-day admin : me in France with an Azerty keyboard
Level 1 24/7 support : team in US with a Qwerty keyboard

Of course there's commands like sudo dpkg-reconfigure console-setup but this one affects the whole system. I've searched quite a lot on how to change the keyboard layout for one person only, but it always relates to the Gnome interface. So I'd like to know if you knew a way to locally change the keyboard layout, only the SSH connection of the user? Maybe in the startup scripts of the bash session, or even better, when the user types his user login (so it detects his language and automatically switches to the right keyboard).

View 5 Replies View Related

General :: Install Applications For Multiple Users?

Nov 27, 2010

I'm quite new to Linux and wanted ask how I can install applications to any Linux distribution such as Debian or Red Hat so that multiple users can access and run that application. Should I be root to install applications to directories like /var, /opt

View 4 Replies View Related

General :: Delete Multiple Users From Samba?

Jan 25, 2011

i have 3 groups on a samba server with about 30 user per group.I would like to know how to delete all the user in a group before adding new users.

View 1 Replies View Related

Networking :: Configuring Samba For Multiple Users On A LAN?

May 26, 2009

I am trying to configure samba for anyone of the scenarios in the subject. here's what my smb.conf looks like:

Code:

workgroup = RnD
[Samba Share]
comment = Samba share on Ubuntu!
path = /srv/sharedfolder
available = yes

[code]....

The error while trying to connect to the share is:

smbd/service.c:make_connection_snum(1082) Can't become connected user!

View 12 Replies View Related

General :: Bandwidth Limitation For Multiple Users Through LAN?

Aug 4, 2010

filter bandwidth for some users (about 150, from 100.100.100.1 trough 100.100.100.250) on LAN. All LAN users connect to the internet through RedHat linux server and all I could do so far is to ban some of them using iptables and commands

-A INPUT -s 100.100.100.107/32 -j DROP
-A FORWARD -s 100.100.100.107/32 -j DROP
-A INPUT -s 100.100.100.235/32 -j DROP
-A FORWARD -s 100.100.100.235/32 -j DROP

I would like to set a download/upload limit for some of them, is that possible?

View 2 Replies View Related

General :: Script For Unlocking Multiple Users?

Sep 1, 2010

Id like to create a script to unlock multiple users rather than entering the command manually for each user.Im quite new to Linux and have not done any scripting so far. its possible to achieve what I want, and possibly provide examples or point me in the right direction? We are using RHEL 5.

View 4 Replies View Related

Server :: Setting Up Multiple (2-3) FTP Users On Ubuntu 9.04?

Dec 22, 2009

setting up multiple (2-3) FTP users on Ubuntu Server 9.04 I currently only have ONE FTP user, but I need to have 2.

View 1 Replies View Related

Debian Configuration :: Wireless Networking For Multiple Users?

Dec 4, 2010

I have 2 users on my HPmini 210 netbook running Squeeze. I just found out that it does not connect to existing wireless networks when I login as the second user. Is it supposed to happen by default or am I supposed to do something to make that happen? Another problem is that when I tried to create "new connections" again for the second user, the keys won't work. The same keys are working for the first user. The network keys are WEP 64 bit HEX.

View 2 Replies View Related

Ubuntu :: Give Multiple Users Access To Drives?

Aug 11, 2010

I just created a 2nd user on my computer. I've got the hard drive that ubuntu runs on, and then a 2tb drive for media. If the 2tb is mounted on my desktop, it won't show up on his desktop even if I'm logged out. It won't show up on his unless I unmount on mine.

If I'm logged out I'm obviously not using it. So why doesn't it show up? He has all privileges. Is there a way to make this work without having to unmount?

I'm running karmic btw. If you need computer info let me know what to type into the terminal and whatnot and I'll paste it all here!

View 4 Replies View Related

Ubuntu :: Multiple X Sessions - Auto Login 2 Different Users

Oct 11, 2010

I have a small problem regarding multiple X sessions. I want 2 X sessions started automatically on boot with 2 different users auto logged in and 2 different sessions running.

On first X session I would like to have gnome running with user1
On second X session I would like to have xbmc running with user2
So far my computer logs user1 in to a gnome session via gdm on boot. But then I have to launch a tty, log in as user2 and then start xbmc in a new X session.

How to make it work? I would also love to have the second X session active after boot. I am running Ubuntu 10.04.

View 1 Replies View Related

Ubuntu :: System Freezes After Log Off With Multiple Users Logged In

Oct 16, 2010

On Ubuntu 10.04 when there are more than just one user logged in, if one of users logs off system hangs with a black screen.

After I reboot the machine and log in again, just after GDM login screen I get a window with a message about PowerMeter crash, with suggestion to 'cancel' and 'log off'. Only 'Log off' works, i.e. I'm successfully logged in.

Last entries from system.log before system freeze are:

Code:

View 9 Replies View Related







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