Linux - NewbieThis 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.
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.
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
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.
Allowing anyone to access your server is a high security risk and an unwise practice all together.
-::-I strongly encourage you to do some reading and learn how to use the useradd or adduser commands.-::-
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.
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?
Allowing anyone to access your server is a high security risk and an unwise practice all together.
-::-I strongly encourage you to do some reading and learn how to use the useradd or adduser commands.-::-
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?
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
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?
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
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?
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.