LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   No passwords anywhere for an old man... (https://www.linuxquestions.org/questions/linux-software-2/no-passwords-anywhere-for-an-old-man-314562/)

The_Nerd 04-18-2005 01:05 PM

No passwords anywhere for an old man...
 
Ok, I got an old man I know setup with Linux Fedora Core 3 because viruses ate up his Windows XP he was using. Not only is he a Windows user, but he is the best kind of them all. He doesn't like passwords one bit, hates anything that may be something he has to read and figure out, and, well... you know. ;)

My question is this, is there any way for me to remove the password on kppp? Every time it starts up it asks for the root password. I did a little sudo action (as best as I knew how) and now it only asks for it the first time. I am hoping there is someway for me to remove the password for this completely and I am sure he would also love it if I could remove the password from the X loggin screen. You know, so he could just click on his nice little icon and it logs in? Or even better! Defaults to his name and automatically logs in without a password?


Oh, and if you could also help me with some printer problems he is having:
His printer wont print raw text. It prints all text *AS* images. We can tell this is so because of how slowly it prints the text, and the text is all... how do I say... streaky horizontally.

The printer is Canon BJC-1000 and I have the cups server running (version is what ever comes default with Fedora Core).

Any help on either one of these matter would be extremely appricated!!!

Spudley 04-18-2005 01:29 PM

I use a program called KWallet. (It's part of the KDE suite, so may or may not be useful for you?)

KWallet is a password manager - it stores details of all the apps and websites you normally enter passwords for, and automatically populates them any time a password field appears.

KWallet itself is supposed to have a password, which then acts as an overall password; you only need to enter it once, the first time KWallet is needed. I'm using KDE 3.3, which forces you to have a password for KWallet. As I understand it, the latest KDE (3.4) allows you to use it without one. This does, of course, leave you pretty insecure, but probably still more secure than most windows users.


If you're not using KDE, its a good bet there are other similar programs (they exist for other platforms as well), but I don't actually know them.


Hope that helps? :)

buzz3953 04-18-2005 01:52 PM

password
 
log into single user or failsafe it would be on mandrake then just type passwd that's it follow the prompts let me know how it works out...
cheers...oops did not read enough into this but I am thinking it should not be promting to log in as root eveytime....check if you have a configure panel to look for boot options mandrake it was under configure your computer then boot option and user options and so on.

The_Nerd 04-18-2005 02:26 PM

Re: password
 
Quote:

Originally posted by buzz3953
log into single user or failsafe it would be on mandrake then just type passwd that's it follow the prompts let me know how it works out...
cheers...oops did not read enough into this but I am thinking it should not be promting to log in as root eveytime....check if you have a configure panel to look for boot options mandrake it was under configure your computer then boot option and user options and so on.

Did you read my post? You are confusing me if you did. What does this have to do with kppp? :confused: :confused: :confused:

buzz3953 04-18-2005 02:32 PM

sorry
 
Sorry hehe I tried; at first I thought you lost your root pass....sorry...

jong357 04-18-2005 07:19 PM

Don't know what Login Manager your using.. (kdm or something?) but when I built GDM from source last week, I read in the README that you can make it automatically log a user in... Right away or even a timed login if you want... Not too sure about the KPPP thing besides logging in as root.... ;)

I assume Fedora is still a default Gnome environment just like Redhat was. If so, your probably running GDM.

/etc/X11/gdm/gdm.conf is the file on my Slack box. Should be right at the top of gdm.conf. There is all sorts of neat stuff in that file actually... :study:

ahh 04-18-2005 08:09 PM

I think you are on the right track with SUDO, you can set it up so that no password is needed.

This example would allow you to run kppp with no password:-
Code:

# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the sudoers man page for the details on how to write a sudoers file.
#

# Host alias specification
Host_Alias        HOST = yourlocalhostname

# User alias specification
User_Alias        USER = yourusername

# Cmnd alias specification
Cmnd_Alias        KPPP = /path/to/kpp


# Defaults specification
Defaults        targetpw
Defaults        timestamp_timeout=0
Defaults        mail_badpass
Defaults        mail_no_user
Defaults        mail_no_host
Defaults        log_host
Defaults        insults
 

# User privilege specification
USER        HOST = NOPASSWD: KPPP

Of course, you should replace yourlocalhostname with your local host name, and yourusername with, yes, you guessed it, your user name.

The aliase names HOST USER and KPP can be anything you like.


All times are GMT -5. The time now is 04:43 AM.