Forum Home
Press F1
 
Thread ID: 24013 2002-09-01 10:02:00 Linux problemo cece (1703) Press F1
Post ID Timestamp Content User
75528 2002-09-01 10:02:00 Hello out there,

Have a small problemo, I installed a copy of Linux, Mandrake 8.1 and I done somthing that could only make me log on as "root" bad bad boy.
I log on so: "root" enter "adduser" enter "xdm" enter then a screen appears so I can enter a user name and password, or I type "root' enter and no password and then enter and I'm in.

Now I can log on to Linux, Mandrake 8.1 this way the only way I can:
"Localhost login:" I type root then press enter
I then type "adduser" press enter
Next I type "xdm" press enter
I then get a user name and password screen, I type "a user name" tab or enter I then type a password and I'm in as a non-privlaged user.

What I need to know is this usual way to log into Linux.
I know it gets me there and probally will do until I get my hands on Mandrake 8.2, seeing as I managed to download the user manual for 8.2.

Tried to configure the modem for the internet, but keep comming up with "modem busy". I know my modem is connected to com3, cause I checked in win-blows.

My Computer Specs:
HP Pavilion 6700
Win-blows ME
Intel Celeron Processor 600 MHz
15 gig Hdd
192 Mb Ram
Conexant OCI Modem
HDD partitioned thus:
C: HP Pav 6.5MB
LinuxSwap 2.045MB
LinuxExt2 5.7MB

Thanxz cece
cece (1703)
75529 2002-09-01 11:09:00 I have read your post several times and I am confused!

As far as I know you cannot create a root account with no password! You have to have a password to authenicate.

Once you are in as root, you can use useradd (I think this is a newer command than useradd) to create a new account - say user1. The system will prompt you for a password. Exit out of the root account and login with user1 as your user name and the password you just set.

John
JohnD (509)
75530 2002-09-01 11:12:00 I meant useradd is a newer command than adduser! JohnD (509)
75531 2002-09-01 11:40:00 John,
I can log in as root an no password.
Thats what I can't understand, how the hell I done it.

When you first login I get a DOS prompt which asks ...

"Localhost login:"

I type the login name -- "root" -- and press the enter button.

Next a prompt appears and asks ...

"Password:"

I type the password required to login as "root" -- in my case
"adduser" -- and press the enter button.

I then type "xdm" and press the enter button.

Then a screen appears after a couple of seconds asking for a user name and password... To login in as root I type rot for the user name and press the enter button, I then press the enter button without typing a password and I'm intp gnome 1.4 as root.

If I logout then I get the same screen again and I can login as 3 different people, I had set that up earlier.

When I logged in and got to adduser I typed adduserdrake instead of adduser and got to a screen that I could add new accounts.

I no this is confusing but its damn confusing for me to, cause I'm basically playing here.

But anyway like I said earlier I'll keep this version until I can get 8.2, cause this version I'am sure is screwed up.

cheers cece
cece (1703)
75532 2002-09-01 12:12:00 Got you! adduser is your password.

Instead of using xdm try using startx. This will avoid the extra login I think (I never use the xdm command).
JohnD (509)
75533 2002-09-02 04:46:00 It is obviously possible to install without a root password. The restriction was put in only in later versions of the install scripts.

Give root a password imediately. After logging on as root without a password, type "passwd". That will give you that protection. Then "useradd" to make an ordinary user.
Graham L (2)
75534 2002-09-02 06:28:00 I've just reinstalled Mandrake 8.1 this afternoon. In the installation when it asks for a root password it also offers a "No Password" button that can be pressed to set no root password, and this would allow you to install linux without a root password.

Mike.
Mike (15)
75535 2002-09-02 06:41:00 ... and paging down, I missed your second posting, cece. You have got a password on root. But change it -- it's an accidental one. Use passwd to do that. Graham L (2)
75536 2002-09-02 11:07:00 Hello Graham L,

And thanxz to all that posted a reply, What I have now done is this: Downloaded the user manual for mandrake 8.2. (Took about an hour).

Now all I need is a copy of Mandrake 8.2, cause this one is scewed up something terible.

Like I can sometimes logout and the next time the damn thing just locks up or freezes, and cannot do a bloody thing with it, the same thing happens with reboot and Halt (Shutdown).

I know the modem is on com3 but every time I try to confiqure it it comes up with "Modem is busy) strange and somthing is also happening with trying to confiqure the printer.

cheers cece
cece (1703)
75537 2002-09-03 04:17:00 > Next I type "xdm" press enter
> I then get a user name and password screen, I type "a
> user name" tab or enter I then type a password and
> I'm in as a non-privlaged user.
>
> What I need to know is this usual way to log into
> Linux.

So what are you asking here?
do you want to have xdm start up automatically for you to log in with?

if so then there could be a few reasons why its not.. first of all try logging in as root into the console and typing init 5

if this starts xdm for you automatically then you can either edit /etc/inittab and tell it to default to runlevel 5 or just type linux 5 at the lilo: or grub prompt when your computer is booting.
ctonks (746)
1 2