LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-23-2015, 08:01 PM   #1
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 452

Rep: Reputation: 29
best way to manage users and accounts etc


hi guys,

busy doing a small project with a centos7 server and virtualbox.
currently i have a login to the physical server called sninja

i have three partitions created for each of my virtual machines
sninja owns the directories for each vm...and root is the primary group...now lets say i wanted to have other users perform functions on my vm's ..ssh in,rsync data into the vm etc...

whats the best way to address security and user accounts etc?

what i was thinking:

create a group called Myusers1,then assign the users to that group and then make the group the primary group of the accessed directories etc

is this the right way to go about it? any ideas or help really appreciated...
 
Old 04-23-2015, 09:20 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,367
Blog Entries: 12

Rep: Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752
Just to be clear, are you talking about having these users have physical access to the host machine and then accessing the VMs from it, or having networked access to the VMs?

It would help to know a little more about what your are contemplating doing and what the surrounding computing environment is like. For example, if you are using bridged networking for the VMs and there is a LAN, these users can have direct network access to the VMs without needing physical access to the host machine. You can then control their access to the VMs as you would any remote user's access to any computer. (If this is a feasible alternative, it would be my first choice, as it eliminates their needing access to the host machine.)
 
Old 04-23-2015, 09:41 PM   #3
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 452

Original Poster
Rep: Reputation: 29
i like it Frankbell that sounds perfect!!! its pretty standalone...my own centos7 server running virtualbox...i have a vm of:
centos7 - plan to use as general functional server website,email,ftp,media streaming etc etc
debian wheezy - more just to learn about debian,maybe run a minecraft server for a laugh and similar things
slackware 14.1 - want to use it for rsync backups from various windows based servers (mostly 2008 r2) and of course learn about this amazing distro!!!

i would like to connect to the physical server and 3 vm's via ssh
remote isnt a problem,i can use teamviewer (though i suspect its prob frowned upon in this community because of the amazing tools built into linux that can accomplish this.) and then theres also vnc which im sure a lot of people are still using...???

from the cygwin on my server i have a different user account,so im wondering how i can get that working with rsync to my slackware vm...cause im sure i need write access to the hard drive etc etc
and i dont know the implication of user accounts over ssh etc

again...it doesnt matter if the remote computers cant access the server,even though im the only one who will be accessing it im sure its good practice to setup a system like this...

at a later date (when i have got through a good amount of my RHCSA) i plan to also setup chef and start playing with that...though i have no idea how well its suited to a virtual environment) maybe i will do the virtual lessons first on the web site...looks good.

anyways,if you could add anything i could/should be doing/learning regarding this little experiment, please dont hesitate to post it here...anybody.

Last edited by sigint-ninja; 04-24-2015 at 04:15 PM.
 
Old 04-24-2015, 06:16 PM   #4
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 452

Original Poster
Rep: Reputation: 29
how would you get users and groups from one computer to take permissions on another via ssh?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to manage user accounts cpparm Linux - Newbie 5 02-08-2012 02:59 AM
How do you manage your DMZ server accounts? humbletech99 Linux - Security 10 08-04-2009 07:13 AM
What should I use to manage accounts on XAMPP? SimbaSpirit Linux - Newbie 3 02-07-2008 10:22 PM
Using LDAP to create and Manage Linux Accounts BBQ_Matt Linux - Networking 2 06-20-2005 05:20 PM
Software to Manage Email Accounts. Ampex Linux - Software 5 01-25-2004 05:28 PM


All times are GMT -5. The time now is 08:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration