LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Need a little help. Linux noob! (https://www.linuxquestions.org/questions/linux-general-1/need-a-little-help-linux-noob-835513/)

bborisov83 09-30-2010 08:13 PM

Need a little help. Linux noob!
 
Im trying to run this program and they say I should not run it as root but as a diff user. My question is how to change from root to dif. user. I am using linux CentOS 5.5.
Is it a terminal command? How do i create a diff user and log in as it? Thanks!

GrapefruiTgirl 09-30-2010 08:15 PM

Depending on the distribution, either `adduser` or `useradd` will be the command to create a user. To switch to another user, use `su`.

Read the man pages for both before using them.

bborisov83 09-30-2010 08:33 PM

Quote:

Originally Posted by GrapefruiTgirl (Post 4114230)
Depending on the distribution, either `adduser` or `useradd` will be the command to create a user. To switch to another user, use `su`.

Read the man pages for both before using them.

what main pages?

TobiSGD 09-30-2010 08:40 PM

I would recommend to read a beginners guide on linux, before going further. May this one: Getting started with Linux

GrapefruiTgirl 10-01-2010 05:04 AM

man pages, i.e. "Manual Pages", otherwise known as "Help Documentation", is the first place to always look when you want to know how a command works, how to use it, or what it does. If you wanted to know about the `su` command, then open a terminal or console window or use a "Virtual Terminal" on your Linux machine, and at the prompt, enter:
Code:

man su
Meanwhile, I agree with the above poster - you should start at the beginning, and read some beginner docs about getting familiar with the basics of using Linux. I didn't read the link given by TobiSGD above, but it sounds like it'd be a fine place to start.

Cheers!

onebuck 10-01-2010 07:51 AM

Hi,

Welcome to LQ!

Quote:

Originally Posted by bborisov83 (Post 4114226)
Im trying to run this program and they say I should not run it as root but as a diff user. My question is how to change from root to dif. user. I am using linux CentOS 5.5.
Is it a terminal command? How do i create a diff user and log in as it? Thanks!


I reference a Newbie too the following links for some useful aid & directions;

Linux Documentation Project
Rute Tutorial & Exposition
Linux Command Guide
Bash Reference Manual
Advanced Bash-Scripting Guide
Linux Newbie Admin Guide
LinuxSelfHelp
Getting Started with Linux
:hattip:

The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!


All times are GMT -5. The time now is 07:31 PM.