You are not logged in.

#1 2005-10-06 10:54:45

balrog
Member
From: Czech Republic, Ostrava
Registered: 2005-09-07
Posts: 31

Crating user and his rights

Hi I am pretty new to arch. Would like to know, how to create my user with same rights as root ( or with simmilar rights if that is possible ).

Next don't know what chroot means and don't know what ~/... means what directory is that? ep ~/xinitrc where I find this???

I'm not stupid but I started with ArchLinux as my first Linux distro so I need to explain some things I don't understand, but can't find any manual about commands to use (which command does what and so on).

Please help, would like to use arch but beginnings are hard to me.

Sorry for my english, I'm from Czech Republic.

THX


Respect is everything 8)

Offline

#2 2005-10-06 11:14:55

sudman1
Member
From: Huntingdon, UK
Registered: 2005-02-18
Posts: 143

Re: Crating user and his rights

See the man pages for useradd and usermod to add a user to groups.

man useradd
man usermod

However, you should look at the sudo app if you need to do something with root priviledges more safely.

~/ is shorthand for your home directory. Typically, this is set to /home/yourUserName, but can be anywhere you set it during creation/modification of your user.


v/r
Suds

Offline

#3 2005-10-06 11:22:09

T-Dawg
Forum Fellow
From: Wilmington, NC
Registered: 2005-01-29
Posts: 2,734

Re: Crating user and his rights

typically you would do:

useradd -m -s /bin/bash username

then to set the password:

passwd username

to add the user to groups:

 gpasswd -a username audio

further info on this and the recomended groups for the user are in the wiki.

Offline

#4 2005-10-06 11:54:17

balrog
Member
From: Czech Republic, Ostrava
Registered: 2005-09-07
Posts: 31

Re: Crating user and his rights

which group should I add my user to as rights as possible? (think rights to audio, video, hdd partitions, cdroms etc.)
THX


Respect is everything 8)

Offline

#5 2005-10-06 12:10:31

zba78
Member
From: England
Registered: 2005-07-28
Posts: 29

Re: Crating user and his rights

On the issue of adding users generally I recommend using webmin. Just do

pacman -Sy webmin

ARCH 0.7 (2.6.13) & Open SuSE 10.0 :: AMD XP2100+ :: 512 DDR-333 Ram :: 128MB Geforce 6600 (Nvidia 7664) :: 80GB HDD :: SBLive Value

Offline

#6 2005-10-06 16:32:40

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Crating user and his rights

balrog wrote:

which group should I add my user to as rights as possible? (think rights to audio, video, hdd partitions, cdroms etc.)
THX

The common groups are audio, video and optical. check /etc/group for a list of available groups.

Offline

#7 2005-10-06 18:07:10

balrog
Member
From: Czech Republic, Ostrava
Registered: 2005-09-07
Posts: 31

Re: Crating user and his rights

pacman -Sy webmin

And what next to add user to group? can i add my user to root group to have same rights?

and do I have access to /home/balrog (balrog is also username) if my fstab is

/dev/hdb3 /home/balrog ext3 defaults 0 1

next how to create xinitrc in my home folder? smile

THX


Respect is everything 8)

Offline

Board footer

Powered by FluxBB