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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-30-2017, 09:25 PM
|
#1
|
LQ Newbie
Registered: Aug 2017
Posts: 7
Rep: 
|
linux centos 7 HELP
im renting a very high speed linux server box ....i installed 3 game servers ...all working great ...what i need is ..help making admins i have access to game server folders only ...minecraft being the main one...i understand i have to add users and groups but im lost ..and i use root myself and i know thats not good but im new to this ...i need a trusted linux person to access my server box and help fix my prob
|
|
|
08-30-2017, 09:32 PM
|
#2
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,987
|
Don't log in as root. Log in as user, then use su to become root.
You may be able to accomplish what you want by changing directory ownership or permissions or by adding users to the appropriate group. Users in the "wheel" group tend to have more power than simple users, for example.
I'm leaning to directory permissions as the most likely suspect, based on not much at all.
However, more information is needed. What exactly is it that you want users to be able to do that they cannot do now? (You may want to read this: https://www.linuxquestions.org/linux...Ask_a_Question.) Indeed, you might bookmark the Arch Wiki; it's an excellent resource even it you don't use Arch.
To help you get started, you might want to look at this article from the Arch wiki about users and groups: https://wiki.archlinux.org/index.php/users_and_groups
Oh, and welcome to LQ.
Last edited by frankbell; 08-30-2017 at 09:34 PM.
|
|
|
08-30-2017, 09:40 PM
|
#4
|
LQ Newbie
Registered: Aug 2017
Posts: 7
Original Poster
Rep: 
|
more info on linux
Quote:
Originally Posted by frankbell
Don't log in as root. Log in as user, then use su to become root.
You may be able to accomplish what you want by changing directory ownership or permissions or by adding users to the appropriate group. Users in the "wheel" group tend to have more power than simple users, for example.
I'm leaning to directory permissions as the most likely suspect, based on not much at all.
However, more information is needed. What exactly is it that you want users to be able to do that they cannot do now? (You may want to read this: https://www.linuxquestions.org/linux...Ask_a_Question.) Indeed, you might bookmark the Arch Wiki; it's an excellent resource even it you don't use Arch.
To help you get started, you might want to look at this article from the Arch wiki about users and groups: https://wiki.archlinux.org/index.php/users_and_groups
Oh, and welcome to LQ.
|
would you be willing to login my server and make me a user and ill change pass after ...so i dont gotta use root no more ...because last time i tried doing the user thing it would not work for me ...are there a way to PM you in here?
|
|
|
08-30-2017, 09:56 PM
|
#5
|
LQ Newbie
Registered: Aug 2017
Posts: 7
Original Poster
Rep: 
|
addusers thingy
Quote:
Originally Posted by Ztcoracat
|
so if i use this sudo useradd -m olivia -p PASSWORD and change to a name and pass i want then what would my access to server box be? limited or full access?
|
|
|
08-31-2017, 07:47 AM
|
#6
|
Senior Member
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
|
Quote:
Originally Posted by byrd44
would you be willing to login my server and make me a user and ill change pass after ...so i dont gotta use root no more ...because last time i tried doing the user thing it would not work for me ...are there a way to PM you in here?
|
Quote:
Originally Posted by byrd44
so if i use this sudo useradd -m olivia -p PASSWORD and change to a name and pass i want then what would my access to server box be? limited or full access?
|
Strongly suggest you read this: https://www.linuxquestions.org/linux..._and_be_secure
and: http://www.catb.org/~esr/faqs/smart-questions.html
|
|
|
08-31-2017, 02:57 PM
|
#7
|
LQ Newbie
Registered: Aug 2017
Posts: 7
Original Poster
Rep: 
|
not resolved
Quote:
Originally Posted by jsbjsb001
|
not resolved but i will mark resolved when i read enough on advice given thanks in advance
when i adduser and pass ...it takes the user in putty but says access denied when i put my pass in ...trying to figure out whats wrong ....still reading up on it
|
|
|
08-31-2017, 05:37 PM
|
#8
|
LQ Guru
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
|
Quote:
Originally Posted by byrd44
not resolved but i will mark resolved when i read enough on advice given thanks in advance
when i adduser and pass ...it takes the user in putty but says access denied when i put my pass in ...trying to figure out whats wrong ....still reading up on it
|
Are you operating with root privileges first before using the adduser command?
What distribution are you using?
|
|
|
08-31-2017, 10:47 PM
|
#9
|
LQ Newbie
Registered: Aug 2017
Posts: 7
Original Poster
Rep: 
|
Quote:
Originally Posted by Ztcoracat
Are you operating with root privileges first before using the adduser command?
What distribution are you using?
|
go in as root then do adduser and chmod the user to the group folder
centos 7 updated fully
now i can use the user name i made to view any folder but i want same as root privleges thank you
says i dont have
|
|
|
08-31-2017, 10:55 PM
|
#10
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.x
Posts: 18,443
|
You could try this https://www.liquidweb.com/kb/how-to-...s-on-centos-7/ but be aware that even via sudo, once someone is in as root, they own that machine.
Really don't let anyone you can't trust in as root.
MUCH better to get them to teach you how to fix your problems yourself.
In fact, that is what LQ is here for.
HTH
|
|
|
All times are GMT -5. The time now is 09:01 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|