Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Gentoo Linux Help > New user for Gentoo and default user for Fluxbox

Forgot Password?
 Gentoo Linux Help   For help and discussion related to Gentoo Linux

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 10-24-2004   #1 (permalink)
Just Joined!
 
Join Date: Oct 2004
Location: Somewhere
Posts: 47
Send a message via AIM to Landus Mikain Send a message via MSN to Landus Mikain Send a message via Yahoo to Landus Mikain
New user for Gentoo and default user for Fluxbox

I've been looking at fluxbox.org and see that all of the snapshots aren't run as root. I know how to create another user, but I don't know what permissions to give it. After that, I don't know how to have that users X be fluxbox. I tried it before I formatted and got some X called TWN or similar. Also, how do you add fluxbox styles off the net? So far, I've just been running Gentoo as root.
Landus Mikain is offline  



Reply With Quote
Old 10-24-2004   #2 (permalink)
Linux Guru
 
kkubasik's Avatar
 
Join Date: Mar 2004
Location: Lat: 39:03:51N Lon: 77:14:37W
Posts: 2,397
Send a message via AIM to kkubasik
useradd qub333

will add user qub333, MAKE SURE YOU SET A PASSWORD

passwd qub333

will set the password. Don't run as root a very bad idea, fluxbox has a varety of default styles, im not sure about the specifics, but im sure there are directions for themes, finaly, edit your ./.xinidrc from

exce twm (or whatever)

to

exce fluxbox
__________________
Avoid the Gates of Hell. Use Linux
A Penny for your Thoughts

Formerly Known as qub333
kkubasik is offline   Reply With Quote
Old 10-24-2004   #3 (permalink)
Just Joined!
 
Join Date: Oct 2004
Location: Somewhere
Posts: 47
Send a message via AIM to Landus Mikain Send a message via MSN to Landus Mikain Send a message via Yahoo to Landus Mikain
Mmmmmm....what groups? I've been seeing this wheel group come up in some topics.
Landus Mikain is offline   Reply With Quote
Old 10-24-2004   #4 (permalink)
Just Joined!
 
Join Date: Oct 2004
Location: Somewhere
Posts: 47
Send a message via AIM to Landus Mikain Send a message via MSN to Landus Mikain Send a message via Yahoo to Landus Mikain
I made the user but I don't dare log into it because I can't su into root from it.
Landus Mikain is offline   Reply With Quote
Old 10-25-2004   #5 (permalink)
Linux Guru
 
kkubasik's Avatar
 
Join Date: Mar 2004
Location: Lat: 39:03:51N Lon: 77:14:37W
Posts: 2,397
Send a message via AIM to kkubasik
you can always log out, but add to group wheel in the /etc/groups file unless im mistaken that should handle most of the basics, Ill post a more comprehensive guide to groups later this evening, or tomorrow.
__________________
Avoid the Gates of Hell. Use Linux
A Penny for your Thoughts

Formerly Known as qub333
kkubasik is offline   Reply With Quote
Old 10-25-2004   #6 (permalink)
Content Team
 
sarumont's Avatar
 
Join Date: Apr 2003
Location: /dev/urandom
Posts: 3,682
If you are in wheel, you can su to root. I would advise setting up sudo so you don't have to su. This makes it easier and more secure. As far as which groups to add him to, I would suggest portage, audio, cdrom, disk (for burning), users, and games (if you want to play most games). All device-based groups (like disk and tty) can have their permissions tweaked (to devices) via /etc/udev/permissions.d/50-udev.permissions. Hope this helps.
__________________
"Time is an illusion. Lunchtime, doubly so."
~Douglas Adams, The Hitchhiker's Guide to the Galaxy
sarumont is offline   Reply With Quote
Old 11-07-2004   #7 (permalink)
Just Joined!
 
Join Date: Nov 2004
Location: Camino, California, United States of America
Posts: 10
Hey Landus, the specific command that you should use to add the user would be:
Code:
useradd your_user -m -G users,wheel,audio,games -s /bin/bash
Of course, change "your_user" to whatever you want to call the new user. Then:
Code:
passwd your_user
Once again replace "your_user" with the name of the user you created, then type in the password for that user, press Return, type it again, and press Return. Then you can either login as that user or su from root to that user (su your_user)--su from root is not advisable. Have fun!
jessdog is offline   Reply With Quote
Old 11-07-2004   #8 (permalink)
Linux User
 
Stefann's Avatar
 
Join Date: Nov 2004
Location: Boise, ID
Posts: 340
Send a message via ICQ to Stefann Send a message via AIM to Stefann Send a message via MSN to Stefann
???Hhhhhmmmm, does this work on RH9.
__________________
Nothing is worse than ten penguins fighting over which is better, vi or emacs.
Registered Linux User #404402
Finally I'm back on LF after a long while.
Stefann is offline   Reply With Quote
Old 11-07-2004   #9 (permalink)
Linux User
 
Join Date: Jul 2004
Posts: 256
Quote:
Originally Posted by sarumont
If you are in wheel, you can su to root. I would advise setting up sudo so you don't have to su. This makes it easier and more secure. As far as which groups to add him to, I would suggest portage, audio, cdrom, disk (for burning), users, and games (if you want to play most games). All device-based groups (like disk and tty) can have their permissions tweaked (to devices) via /etc/udev/permissions.d/50-udev.permissions. Hope this helps.
1) What is udev? does it have to do with USB? I tried to query,
but i got an error.

==
# udevinfo -q name
unable to open udev database
==


2) What is the group wheel for? Why is it called wheel?

3) Why is sudo more secure? The man page says the default setting is to use the users password, not roots... Is it because anyone can su and
guess the root password, but they need to be in a certain group
for sudo?

4) If sudo requires the root password, how would that be
different then If I created a group and made it so only certain users could "su"? Would that basically be the same thing?
__________________
--monkey
monkey8 is offline   Reply With Quote
Old 11-08-2004   #10 (permalink)
Just Joined!
 
Join Date: Sep 2004
Location: Montreal/Quebec
Posts: 16
Send a message via MSN to clone#13
useradd your_user -m -G users,wheel,audio,games -s /bin/bash

I tried the above cmd and replaced your_user with the name of my user and did this from root and it tells me useradd: unknown group. Any ideas?

Thanks
clone#13 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 12:16 PM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1