LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 10-25-2010, 12:56 PM   #1
obnascar
Member
 
Registered: Aug 2005
Location: Wisconsin USA
Posts: 185

Rep: Reputation: 30
Need Help Creating a Salix Root Account


I am an experienced Linux user, but have never used Salix before. I have a root account set up on my other Linux distros, but can not figure it out using Salix. The reason I want a root account in Salix because I believe in freedom of choice, and my choice always was and always will be to have a root account set up so I can login as root. I am aware of the risk involed in creating a root account.

Could someone PLEASE instruct me how to create a root account in Salix ?

thanks.....
 
Old 10-25-2010, 01:19 PM   #2
GazL
Senior Member
 
Registered: May 2008
Posts: 3,231

Rep: Reputation: 828Reputation: 828Reputation: 828Reputation: 828Reputation: 828Reputation: 828Reputation: 828
I don't know about Salix, but on Slackware a root account is all that you have after an install. Do they do something different?
 
Old 10-25-2010, 01:29 PM   #3
brixtoncalling
Member
 
Registered: Jul 2008
Location: British Columbia
Distribution: Slackware current
Posts: 403

Rep: Reputation: 67
What does /etc/passwd say? (I'm assuming you can use sudo).
 
Old 10-25-2010, 01:37 PM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Slackware 14.0
Posts: 8,464

Rep: Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877
You could try
Code:
sudo passwd root
Kind regards
 
Old 10-25-2010, 01:42 PM   #5
obnascar
Member
 
Registered: Aug 2005
Location: Wisconsin USA
Posts: 185

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by GazL View Post
I don't know about Salix, but on Slackware a root account is all that you have after an install. Do they do something different?
yes they are doing something different, the login screen says root can not login at that screen. I went to the Salix chat, there were a couple of users there that knew the secret of it but did not want to share it. I think Salix is a hard nose place something simular to aptosid. Not friendly in other words.....I know I shouldn't be saying that though.
 
Old 10-25-2010, 01:44 PM   #6
obnascar
Member
 
Registered: Aug 2005
Location: Wisconsin USA
Posts: 185

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by repo View Post
You could try
Code:
sudo passwd root
Kind regards
I tried "su passwd root", I was able to enter my unix password but was still unable to login as root on the normal login screen......don't know where else to log in, any ideas ?
 
Old 10-25-2010, 01:46 PM   #7
brixtoncalling
Member
 
Registered: Jul 2008
Location: British Columbia
Distribution: Slackware current
Posts: 403

Rep: Reputation: 67
Code:
sudo passwd root
What is the entry in /etc/passwd for root? You didn't say.

Last edited by brixtoncalling; 10-25-2010 at 01:48 PM.
 
Old 10-25-2010, 01:48 PM   #8
udaman
Member
 
Registered: Oct 2010
Location: New England, USA
Distribution: OpenSUSE/Slackware64/RHEL/Mythbuntu
Posts: 187

Rep: Reputation: 39
Quote:
Originally Posted by obnascar View Post
yes they are doing something different, the login screen says root can not login at that screen.
I don't know Salix, but:

Is that a GUI login screen? If so, OpenSuse also does not allow root logins at run level 5, but if you drop down to run level 3, root can log in.

Try selecting command line and log in as root there. Providing of course that Salix has some sort of menu at the GUI login screen.
 
Old 10-25-2010, 01:49 PM   #9
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Slackware 14.0
Posts: 8,464

Rep: Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877
Do you want to login as root in the windowmanager ?

Kind regards
 
Old 10-25-2010, 01:52 PM   #10
obnascar
Member
 
Registered: Aug 2005
Location: Wisconsin USA
Posts: 185

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by repo View Post
Do you want to login as root in the windowmanager ?

Kind regards
No I don't really care where I login as root, I think I will try udaman's idea and see if I can drop in to level 3.......thanks
 
Old 10-25-2010, 01:53 PM   #11
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Slackware 14.0
Posts: 8,464

Rep: Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877
Did you do
sudo passwd root ?


Kind regards
 
Old 10-25-2010, 02:02 PM   #12
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Ruhr Area, Germany
Distribution: Slackware64 14.0
Posts: 1,510

Rep: Reputation: 87
Maybe they changed /etc/securetty to exclude root from login on the console.
The first lines of this file on Slackware 13.1:

Code:
# This file defines which devices root can log in on.

# These are the ttys on the physical console:
console
tty1
tty2
tty3
tty4
tty5
tty6
 
Old 10-25-2010, 02:04 PM   #13
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Slackware 14.0
Posts: 8,464

Rep: Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877
@OP,
perhaps you can answer the questions.

Kind regards
 
Old 10-25-2010, 02:21 PM   #14
obnascar
Member
 
Registered: Aug 2005
Location: Wisconsin USA
Posts: 185

Original Poster
Rep: Reputation: 30
This is most embarrassing, sorry to have bothered you all. It was to easy and something an experienced Linux user such as I should have checked in the first Place.

I didn't remember that xfce has the same option as gnome. > login Window > security > check box for administration login......I feel like a fool but I am able to login as root.

As usual, LQ users are always there to pitch in.........thanks to all

Best Regards,
obnascar
 
Old 10-25-2010, 02:23 PM   #15
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Slackware 14.0
Posts: 8,464

Rep: Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877
You can mark the thread solved.

Kind regards
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating user account with no root privileges grob115 Linux - General 7 02-13-2007 04:43 AM
creating user account with root power linux_lover2005 Linux - Newbie 6 01-04-2007 12:51 AM
is it legitimate and allowed and can be done to make another user account set uid and gid to null 0 to make another root account with different name and possibly not damage the debian system creating and using that new account BenJoBoy Linux - Newbie 12 01-29-2006 10:02 AM
creating user account similar to root neerajchaudhari Linux - Software 2 08-26-2005 09:23 AM
Creating A Root Account qcoder Linux - General 9 10-15-2003 03:05 AM


All times are GMT -5. The time now is 02:14 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration