LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Tags used in this thread
Popular LQ Tags , , , , , ,

Reply
 
Thread Tools
Old 04-25-2008, 04:08 AM   #1
stu_mueller
Member
 
Registered: Aug 2006
Location: England
Distribution: Slackware, Zenwalk
Posts: 114
Thanked: 0
I'm going to get flamed for asking this but...


[Log in to get rid of this advertisement]
Not stricy=tly a slackware question

I am installing zenwalk linux on my sons PC, and have set a root password, I have also created an account for my son.

When I created his account it required a password. (here it comes) I would like to remove this requirement for a password, so my son doesn't need a password.

I believe this can be done in slackware...

Everything I have read on the net points to pam to achieve this, but slackware and zenwalk don't use pam

I have removed the password from /etc/shadow and removed the x from /usr/passwd for his acocunt but now I can't login at all from gdm.

I realise this is a security risk, but I don't want to set passwords on his account.

Thanks

Stuart
stu_mueller is offline  
Tag This Post , , , , , ,
Reply With Quote
Old 04-25-2008, 04:14 AM   #2
b0uncer
Senior Member
 
Registered: Aug 2003
Location: fin
Distribution: (B)LFS, Ubuntu, Slackware
Posts: 4,854
Thanked: 27
I think it works like this: first create a new user like you usually do, then run
Code:
passwd -d username
as root. The -d switch means "delete", and should remove the password from the given user account, so after that -- if I'm not mistaken -- you could login by just giving your username and not be prompted for a password.

EDIT: of course you should never just run some passwd commands other people tell you to run it's like giving out your bank card PIN to the first fellow asking..instead you could read
Code:
passwd --help
and see what the switches do. It sure is insecure not having a password on an account, but if you insist on it..well, it's your choice.

Last edited by b0uncer; 04-25-2008 at 04:18 AM..
b0uncer is offline     Reply With Quote
Old 04-25-2008, 04:33 AM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 2,867
Thanked: 228
Check out KDM's autologin feature. In runlevel 4 you can let a user account be logged in automatically without the need to type a password.

To configure this, open the KDE control center, go to System Administration > Login Manager, and in the tab "Convenience" configure the account that you want to auto-login passwordless.

Eric
Alien Bob is offline     Reply With Quote
Old 04-25-2008, 06:33 AM   #4
mrclisdue
Member
 
Registered: Dec 2005
Distribution: Slackware -current, 13.0, 12.2, 12.1
Posts: 622
Thanked: 35
This thread tells you how to 'autologin' to a console, which can then result in an X session, if required:

Code:
http://www.linuxquestions.org/questions/linux-software-2/autologin-without-gui-374338/
cheers,
mrclisdue is offline     Reply With Quote
Old 04-25-2008, 06:55 AM   #5
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, WinXP, Windows 7
Posts: 1,230
Thanked: 10
I set my son's password to nothing so all he has to do is press enter after he puts his name in the user space at the KDM screen. All I had to do to do this was press enter without entering a character in the password portion of the kuser utility.
Franklin is offline     Reply With Quote
Old 04-25-2008, 08:15 AM   #6
stu_mueller
Member
 
Registered: Aug 2006
Location: England
Distribution: Slackware, Zenwalk
Posts: 114
Thanked: 0

Original Poster
yeah it seems to be the zenwalk user gui requires a password.

if I create a users with useradd or issue passwd [username] I can set a blank password
stu_mueller is offline     Reply With Quote
Old 04-25-2008, 11:52 AM   #7
Karu
Member
 
Registered: Jul 2007
Location: Estonia
Distribution: Slackware12.2
Posts: 44
Thanked: 1
Quote:
Originally Posted by stu_mueller View Post
yeah it seems to be the zenwalk user gui requires a password.
Yes it requires password. But you can set autologin for you son in
gdmsetup.
Karu is offline     Reply With Quote
Old 04-25-2008, 01:37 PM   #8
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054
Thanked: 0
btw, please don't keep topics like "I am gonna get flamed for this ...." , doesn't help later on when somebody searches for auto login and doesn't find this thread.
duryodhan is offline     Reply With Quote
Old 04-25-2008, 02:37 PM   #9
acummings
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 441
Thanked: 9
autologin passwordless login /bin/login kdm gdm xdm

:-) :-)

autologin passwordless login /bin/login kdm gdm xdm
acummings is offline     Reply With Quote
Old 04-25-2008, 06:38 PM   #10
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Slackware 13 64bit
Posts: 2,532
Blog Entries: 1
Thanked: 14
And....

I noticed no flames.

Could it be?

The mythical "Slackware Users" are actually helpful? And don't mind helping other distros when asked?

I say that's even more points towards SW being my distro of choice...
cwwilson721 is offline     Reply With Quote
Old 04-26-2008, 03:50 AM   #11
stu_mueller
Member
 
Registered: Aug 2006
Location: England
Distribution: Slackware, Zenwalk
Posts: 114
Thanked: 0

Original Poster
Wink

Believe me I realise how helpful the members of this board are! I always get a helpful response to any question I ask, and very quickly aswell.

I wouldn't have had nearly as much success with slackware, without help from everybody here.

I didn't seriously expect any flames from asking this, just trying to provide a humourous title, to something that I consider and probably many others consider to be a serious faux pas on security!
stu_mueller is offline     Reply With Quote
Old 04-28-2008, 08:57 AM   #12
Tux-Slack
Member
 
Registered: Nov 2006
Location: Slovenia
Distribution: Slackware 12
Posts: 490
Thanked: 10
Well it's not that much of a security risk if:
-You unplug that computer,
-wrap a chain around the computer,
-pour cement over that computer.
The most secure system in the world regardless of passwords.

No serius, if you don't have a password than at least make sure not daemons are running, like sshd etc. Then you should be ok, or at least not let your firewall forward ports to these daemons from the outside world. I did this the same for my brother in a hurry and noticing that nothing have happened(yet) I did not yet set his password and configured an autologin(no time).
Tux-Slack is offline     Reply With Quote
Old 04-30-2008, 09:07 PM   #13
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware 12.2
Posts: 1,306
Thanked: 28
As mentioned earlier, an autologin setup is probably better than setting a blank password. Having the system autologin only really makes it a local security threat, whereas having no password whatsoever makes it a global, internet-ready security threat.
T3slider is offline     Reply With Quote
Old 05-01-2008, 12:37 AM   #14
bibliobook
LQ Newbie
 
Registered: Feb 2006
Location: Memphis, TN
Distribution: Slackware 12, Ubuntu 7.10 AMD64
Posts: 3
Thanked: 0
Well, a global, internet-ready security threat running (a Slack-derived distro of) linux, which is better than other options. Still, for peace of mind, I too would suggest the autologin feature of kdm/gdm. I set my computer to autologin everytime I'm going to be gone for the weekend or something, so that my girlfriend (who is brilliant, but not tech-savvy) can shutdown and startup or, more likely, recover from a power failure. She always has access to the computer, and some degree of security is there.

I haven't played with zenwalk in a while, but it does use gdm last I knew, and doesn't by default run too terribly many daemons that would be a security risk; I think sshd might be a default, as is inetd, so the risk is there without a password. Just a word to the wise.
bibliobook is offline     Reply With Quote
Old 05-01-2008, 07:49 AM   #15
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054
Thanked: 0
Quote:
I set my computer to autologin everytime I'm going to be gone for the weekend or something, so that my girlfriend (who is brilliant, but not tech-savvy) can shutdown and startup or, more likely, recover from a power failure. She always has access to the computer, and some degree of security is there.
comeon man .. give her an account ...
duryodhan is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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



All times are GMT -5. The time now is 02:28 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration