LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
LinkBack Search this Thread
Old 05-24-2007, 08:06 AM   #1
frank320
LQ Newbie
 
Registered: Mar 2006
Posts: 8

Rep: Reputation: 0
How to let several users log in to the internet - without root password


I am using Fedora 6, and use
/usr/bin/system-config-network to connect my dial-up
modem to the internet. the program is owned by 'root'

I would like all my users to use this pgm to log into the internet. They of course, do not have the
'root' password. The program always asks for the
root password to run this program.

I have changed the 'Properties' of the program to
allow 'read' 'write' and 'execute' for all users.
However, this does not solve the problem.

Please advise... and thank you.

frank320
 
Old 05-24-2007, 03:17 PM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 69
I suggest you edit sudoers to allow all users to execute this program as root. In this case, they will be prompted only for their own passwords. You can even eliminate the need for the usersí password (though itís not recommended).

man 5 sudoers

An alternative method (which I STRONGLY suggest you donít use) is to mark the SETUID bit on the file (and make sure the user owner is root). That way anyone who executes it will have root permissions.
 
Old 05-25-2007, 07:15 AM   #3
Posterboy
Member
 
Registered: Oct 2001
Location: Lilburn, Ga.
Distribution: RH
Posts: 77

Rep: Reputation: 15
One thing I love about Linux, there's no end to "ways" to get things done. Here's a couple more. In /etc/passwd you will see your users listed beginning with 500, and up. If you change that to 0 when that person logs in, he will have root, but your root password will not have been revealed to him.
Another: chmod u+s will make the program RUN as root, no matter who started it. Niether of these are "safe", but there are always trade-offs of one kind or another, right?
 
Old 05-25-2007, 07:38 AM   #4
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 61
sudo is probably the safest. Be aware that the sticky bit (u+s) does not work on scripts, only real programs.

Yves.
 
Old 05-25-2007, 09:34 AM   #5
frank320
LQ Newbie
 
Registered: Mar 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Many thanks for your responses. I edited 'sudoers" and added the line:

users ALL=(ALL) NOPASSWD: ALL

Unfortunately, this did not work. Members of group 'users' still need to enter
the root password. Am I doing something wrong? Please advise.

Also, I will try the methods suggested by 'Ray'

Many thanks..
frank 320
 
  


Reply

Tags
authentication, passwords


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
root password reset log cmsisb Red Hat 5 01-14-2013 04:49 PM
No Users Can Log In; Only Root Can JWilliamCupp Linux - Software 8 02-07-2012 12:54 AM
Log off all users other than root Skywing Red Hat 14 11-16-2006 02:50 PM
root users won't log out aubrey-calm2 Linux - Newbie 2 04-08-2006 01:48 AM
root can log in, but not users walterbyrd Debian 7 02-08-2006 06:17 AM


All times are GMT -5. The time now is 03:05 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