LinuxQuestions.org
Help answer threads with 0 replies.
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 01-11-2014, 05:48 AM   #1
etaylorfr
LQ Newbie
 
Registered: Jan 2014
Posts: 7

Rep: Reputation: Disabled
How we can make user as complete root


hi guys

I am new to linux.

In fact i don't know anything

I have taken linux server with centos

I have created user and add that user to wheel group and changed in visudo and have done many things by seeing various sites in online but none of them are working.

when i login with that new user and when i try to install anything using the command yum is not working. I am getting error message as you need to be root to install anything.

when i use sudo yum then it is working. then the installation is running.

I don't want like that way. I need user need to become like root.

I mean the newly created user also must have rights like what root have.

I hope what i am looking for was understood by experienced guys.

Sorry for my bad english

thanks
 
Old 01-11-2014, 05:58 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387
Your approach is wrong. The root user is a special user and there should only be one of those.

You can do 2 things:
1 - Use sudo so that a normal user can execute some commands that need root privileges,
2 - Become the root user and execute the command.

If at all possible you should opt for the first one (use sudo). You should only become root user if absolutely necessary.
 
2 members found this post helpful.
Old 01-11-2014, 05:59 AM   #3
Smokey_justme
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 534

Rep: Reputation: 203Reputation: 203Reputation: 203
Hello etaylorfl,

Whenever you want to install something or do a root action from a normal user account prepend 'sudo ' to that command.
For example:
Code:
sudo mcedit /etc/sudoers
Depending on how you've set up your system, you'll be asked for a password or not..

Hope you enjoy Linux!
 
Old 01-11-2014, 07:36 AM   #4
etaylorfr
LQ Newbie
 
Registered: Jan 2014
Posts: 7

Original Poster
Rep: Reputation: Disabled
I need compulsory root privileges

hi

I need compulsory root privileges

why means i am installing open gts

for that it wont accept root user

for that reason i want user with root permissions.

without root permissions some operations are failing

thanks
 
Old 01-11-2014, 07:46 AM   #5
Smokey_justme
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 534

Rep: Reputation: 203Reputation: 203Reputation: 203
Then do a:
Code:
su - root
or
Code:
sudo bash --login
Do what you have to do, and
Code:
exit
There is no such thing as an "account with root permissions", only accounts that can impresionate root...
Applications won't accept "root" as a security feature, not as a flow, exactly to protect the system from users that are trying to hang on to "root" way to much.

Maybe you could tell us what exactly is the command that fails and give us an exact output of the error message?

Last edited by Smokey_justme; 01-11-2014 at 07:59 AM.
 
Old 01-11-2014, 07:52 AM   #6
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387
Quote:
Originally Posted by etaylorfr View Post
I need compulsory root privileges

why means i am installing open gts

for that it wont accept root user

for that reason i want user with root permissions.

without root permissions some operations are failing
This might be a scenario where you need to become root user. From a terminal do the following:su - (mind the dash !)
After entering root's password you can follow the instruction to install open gts (documentation for the OpenGTS project)

The OpenGTS Installation/Configuration Manual (PDF) mentions specifically that you need to be root.
 
Old 01-11-2014, 08:03 AM   #7
etaylorfr
LQ Newbie
 
Registered: Jan 2014
Posts: 7

Original Poster
Rep: Reputation: Disabled
opent gts not accepted root user

hi

opent gts not accepted root user

with other user only we need to install

With other user it is some what difficult with installations

from last 3 days onwards i am working on this

from this last 3 days i have re image the server 5 times

thanks
 
Old 01-11-2014, 08:06 AM   #8
Smokey_justme
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 534

Rep: Reputation: 203Reputation: 203Reputation: 203
The installation actually gives you the 'su root' command on one of the steps

Are you sure it's the installation that forbids this.. not the running of the application?

Again, what exactly is the command that fails and what exactly is the error message?
 
Old 01-11-2014, 08:07 AM   #9
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,718

Rep: Reputation: 906Reputation: 906Reputation: 906Reputation: 906Reputation: 906Reputation: 906Reputation: 906Reputation: 906
Have you read and followed the installation instructions?

http://opengts.sourceforge.net/OpenGTS_Config.pdf

http://opengts.sourceforge.net/FAQ.html
 
Old 01-11-2014, 08:08 AM   #10
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387
Quote:
Originally Posted by etaylorfr View Post
opent gts not accepted root user
That is absolutely not true. The installation must be done using root.

Follow this pdf to the letter: OpenGTS Installation/Configuration Manual (PDF)
 
Old 01-11-2014, 08:12 AM   #11
etaylorfr
LQ Newbie
 
Registered: Jan 2014
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by druuna View Post
That is absolutely not true. The installation must be done using root.

Follow this pdf to the letter: OpenGTS Installation/Configuration Manual (PDF)

hi

Yes it is true. If you want u can check by installing opengts on root user.

my server 1 and 1 host

I installed centos there


thanks

---------- Post added 01-11-14 at 08:13 AM ----------

Quote:
Originally Posted by cascade9 View Post
Have you read and followed the installation instructions?

http://opengts.sourceforge.net/OpenGTS_Config.pdf

http://opengts.sourceforge.net/FAQ.html


hi

yes by seeing the config file only doing that installation

thanks

Last edited by etaylorfr; 01-11-2014 at 08:16 AM.
 
Old 01-11-2014, 08:15 AM   #12
etaylorfr
LQ Newbie
 
Registered: Jan 2014
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Smokey_justme View Post
The installation actually gives you the 'su root' command on one of the steps

Are you sure it's the installation that forbids this.. not the running of the application?

Again, what exactly is the command that fails and what exactly is the error message?
hi

su root

means we will be in root user know

am i right

If yes means we can't install open gts on root user

I need to create someuser like bob and assign root permissions to bob

do u understoood what i mean

thanks
 
Old 01-11-2014, 08:17 AM   #13
Smokey_justme
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 534

Rep: Reputation: 203Reputation: 203Reputation: 203
That is not possible.. And you don't need that..

Please give us the last command you typed and the exact error message.. You most likely have just some unresolved permissions

@druuna: The compile process is done by a normal user acording to the docs..

Last edited by Smokey_justme; 01-11-2014 at 08:21 AM.
 
Old 01-11-2014, 08:21 AM   #14
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387
Quote:
Originally Posted by etaylorfr View Post
su root

means we will be in root user know

am i right
That is incorrect. Use su - root or su -

The - is needed, otherwise you will not have a full root environment.
 
Old 01-11-2014, 09:44 AM   #15
etaylorfr
LQ Newbie
 
Registered: Jan 2014
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Smokey_justme View Post
That is not possible.. And you don't need that..

Please give us the last command you typed and the exact error message.. You most likely have just some unresolved permissions

@druuna: The compile process is done by a normal user acording to the docs..
I stuck up at

service mysqld start

it is failed

I have done by seeing in online was

changed the pool buffer size

and added the line innodb_use_native_aio=0 in my.cnf

but no use

when i check mysqld.log

here is the details i am getting


/usr/libexec/mysqld(ha_initialize_handlerton(st_plugin_int*)+0x31) [0x6977c1]
/usr/libexec/mysqld() [0x7171cb]
/usr/libexec/mysqld(plugin_init(int*, char**, int)+0x6e4) [0x7194c4]
/usr/libexec/mysqld() [0x5bf132]
/usr/libexec/mysqld(main+0x1b3) [0x5c1a23]
/lib64/libc.so.6(__libc_start_main+0xfd) [0x7f86d0b61d1d]
/usr/libexec/mysqld() [0x5098c9]
The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
information that should help you find out what is causing the crash.
140111 14:38:04 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended



how can i solve the problem
 
  


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
Can i make a user a root user? sourav garai Linux - Newbie 1 03-03-2012 02:02 AM
how do I make sure that the user that is going to run the script is a root user??? nikold01 Linux - General 3 09-10-2004 08:54 AM
How do you make the user have root capabilities??? chutsu Linux - General 2 09-05-2004 12:30 PM
How do I make a user equal to root ? joncolby Mandriva 3 02-27-2004 03:54 PM
Need To Make a User for myself, besides Root Scarface Linux - Newbie 2 10-26-2003 06:24 PM


All times are GMT -5. The time now is 01:59 PM.

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