LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-18-2005, 10:02 AM   #1
xof7
LQ Newbie
 
Registered: May 2005
Distribution: TSL
Posts: 13

Rep: Reputation: 0
Trustix (tsl)


I've installed tsl on a, rackspace p3 700mhz 512mb ram, server. When it prompted me to enter a user name and password, I did. But right after i installed it, it gave me some weird error saying that it couldnt create the user acct.. It finished installing, and i have root access. How do i create another account from the bash prompt or get access to a gui. Or do i have to install fluxbox or something like that?
 
Old 05-18-2005, 10:27 AM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 377Reputation: 377Reputation: 377Reputation: 377
you can add a user with the "adduser" command (followed by the user you want to add)...

AFAIK, if you have the shadow suite installed (you probably do) then you can opt for "useradd" instead which will be more interactive (it'll prompt you for the details)...
 
Old 05-18-2005, 10:31 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,736

Rep: Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753
To create a user using defaults:
useradd <username>

and password
passwd <username>
 
Old 05-18-2005, 12:43 PM   #4
xof7
LQ Newbie
 
Registered: May 2005
Distribution: TSL
Posts: 13

Original Poster
Rep: Reputation: 0
I googled that shadow suite and i came up with (http://www.tldp.org/HOWTO/Shadow-Password-HOWTO-3.html). But what will i have to do to install fluxbox or does tsl have a builtin non-terminal interface?
 
Old 05-18-2005, 05:31 PM   #5
xof7
LQ Newbie
 
Registered: May 2005
Distribution: TSL
Posts: 13

Original Poster
Rep: Reputation: 0
O'k... I've created many user acct.'s in an attempt to login but it wont work. Whenever i try and login it just says "incorrect login". But it is registering somewhere that it has actually created the user acct.'s because i cant create 2 acct.'s with same name but i cant remove any of those acct.'s either. Any suggestions? Oh and is there some type of different login scheme? Like
(hostname) login: admin@bob
or something like that? or am i just delarious...

Last edited by xof7; 05-18-2005 at 05:43 PM.
 
Old 05-18-2005, 06:38 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,736

Rep: Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753
userdel is the command to delete a username
userdel <username>

userdel -r <username> will remove the users home directory.

BTW <username> refers to any desired name minus the <>

No other way to login... You did use the passwd command to create a password and hopefully it was confirmed?

I have trustix 2.2 on a couple of PCs and I haven't noticed anything unusal.
 
Old 05-18-2005, 06:47 PM   #7
xof7
LQ Newbie
 
Registered: May 2005
Distribution: TSL
Posts: 13

Original Poster
Rep: Reputation: 0
I did use the passwd reset function and it worked and i was able to login. But i only have the command prompt. What do i have to install to get a gui for tsl? is it another pacakge or tar ball? oh and when i do login in, it's not creating a directory for the user at /home/user/ and its giving me an error message.
 
Old 05-18-2005, 08:56 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,736

Rep: Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753
The default home directory on 2.2 is /home/users/username. To see the defaults use the command:
useradd -D

If the default values are not correct then you can change them using the appropriate option. See man useradd pages for all the details or search via the web.

A GUI is not installed by default. However, xorg and XFree86 are in the contrib repository. Use swup to install it. (You may have to enable contrib in /etc/swup/swup.conf).
 
Old 05-18-2005, 09:16 PM   #9
xof7
LQ Newbie
 
Registered: May 2005
Distribution: TSL
Posts: 13

Original Poster
Rep: Reputation: 0
How do i enable swup?
and by contrib repository do u mean part of the install and i have to find it?

If i install slackware x.0 will it have the gui preset, so i dont have to install it?

thanks.

Last edited by xof7; 05-18-2005 at 09:31 PM.
 
Old 05-18-2005, 09:35 PM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,736

Rep: Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753
swup is the software update utility that comes with trustix. I believe swup is selected to be installed by default. All of the packages are stored at several ftp sites. The contrib repository is a ftp site that holds packages not in the default ftp site. Not sure exactly how it works and how the contrib stuff makes it into the next release.

Go edit the /etc/swup/swup.conf file and uncomment the routine that looks at the contrib repository. Then to see the packages type in the command

swup --search-package xfree86

For more info on swup see the man pages.

To install xfree86
swup --install xfree86
 
Old 05-19-2005, 12:47 AM   #11
xof7
LQ Newbie
 
Registered: May 2005
Distribution: TSL
Posts: 13

Original Poster
Rep: Reputation: 0
This is probally another stupid newb question but how do i obtain an ip address from my router? Since i'm used to winshit i figured that it would automatically obtain one and detect the dns settings... The server also has two network cards on it but i dont think that it would matter. I've tried googleing it to but have had no results...
 
Old 05-19-2005, 03:51 PM   #12
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,736

Rep: Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753
The netconfig utility will configure the network connection.
 
Old 05-19-2005, 07:23 PM   #13
xof7
LQ Newbie
 
Registered: May 2005
Distribution: TSL
Posts: 13

Original Poster
Rep: Reputation: 0
What do i have to edit in the config file to enable it?
and whenever i try and open up gp to edit the text it just freezes everything...
 
Old 05-19-2005, 10:04 PM   #14
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,736

Rep: Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753
netconfig is an application. i.e. log in as root and type in at the command prompt:
netconfig

gp?
 
Old 05-19-2005, 11:32 PM   #15
xof7
LQ Newbie
 
Registered: May 2005
Distribution: TSL
Posts: 13

Original Poster
Rep: Reputation: 0
wait.... In a previous post you stated that i might have to enable swup by whatever. And acccording to some site that had a list of bash commands, and it said that ed was a text editor...(thats what i meant).
 
  


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
Trustix (TSL) crash test danglingpointer Linux - Distributions 2 07-05-2005 09:35 AM
aMsn TSL ArchNGEL Linux - Software 8 06-30-2005 02:48 PM
page won't load (apache2+php on TSL 2.1) restless Linux - Software 1 08-13-2004 09:54 PM
TSL and SSL demmylls Linux - General 4 05-11-2004 09:11 PM
tawie (tsl, or trustix) help w/ftp,http davedoobie Linux - Newbie 1 11-19-2003 02:13 AM


All times are GMT -5. The time now is 08:16 AM.

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