Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-02-2005, 09:48 PM
|
#1
|
Member
Registered: Mar 2005
Location: Canada
Distribution: Arch
Posts: 41
Rep:
|
Can't SU
I am running DeLi Linux and I am unable to su to root as a normal user; can anyone help me?
Thanks in advance!
|
|
|
03-02-2005, 09:53 PM
|
#2
|
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Rep:
|
Make sure your user is in the wheel group.
|
|
|
03-02-2005, 10:45 PM
|
#3
|
Member
Registered: Mar 2005
Location: Canada
Distribution: Arch
Posts: 41
Original Poster
Rep:
|
My user account is in the 'wheel' group.
|
|
|
03-02-2005, 10:45 PM
|
#4
|
Member
Registered: Mar 2004
Location: Meersburg (GER)
Distribution: Cygwin,RH 7.2 7.3, SuSe 6.4 8.2 9.1,TinyLinux, Debian Sarge, Knoppix 3.*, Knoppicilin, Knoppix STD
Posts: 191
Rep:
|
can anybody explain to me why the group is called WHEEL in OpenBSD and several Linux Distros?
|
|
|
03-02-2005, 10:47 PM
|
#5
|
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290
|
Root is the hub which is surrounded by a wheel of privileged users.
To the OP: what's the exact error message? Can you login to root normally (not via su)? Can you check that permissions on /bin/su are 4755 (-rwsr-xr-x)?
|
|
|
03-02-2005, 10:50 PM
|
#6
|
Member
Registered: Aug 2004
Location: Davis, California
Distribution: Gentoo, always Gentoo.
Posts: 159
Rep:
|
Short answer: it's a reference to "Big wheel", meaning somebody who is important. I'll try to find a link to more history. It's a carryover from old UNIX days.
Reference: http://www.redhat.com/archives/redha.../msg02358.html
As for the 'su' command - you may also need to add an entry to the /etc/sudoers file. With some distros you do this with a 'visudo' command, with others you can edit it directly.
Last edited by dsegel; 03-02-2005 at 10:59 PM.
|
|
|
03-02-2005, 10:54 PM
|
#7
|
Member
Registered: Mar 2004
Location: Meersburg (GER)
Distribution: Cygwin,RH 7.2 7.3, SuSe 6.4 8.2 9.1,TinyLinux, Debian Sarge, Knoppix 3.*, Knoppicilin, Knoppix STD
Posts: 191
Rep:
|
Thanks for the bit of background
|
|
|
03-02-2005, 10:55 PM
|
#8
|
LQ Newbie
Registered: Oct 2004
Distribution: Gentoo
Posts: 24
Rep:
|
Try use sudo
Try to use "sudo" ( http://www.courtesan.com/sudo/)
It's safer, because what an user does as root will be logged, and you can give difeerent permissions to the users.
There are Linux distr. (such as gentoo) that do not allow you to become root (it just can be made using something like sudo)
|
|
|
03-02-2005, 11:00 PM
|
#9
|
Member
Registered: Aug 2004
Location: Davis, California
Distribution: Gentoo, always Gentoo.
Posts: 159
Rep:
|
Re: Try use sudo
Quote:
Originally posted by emathias
Try to use "sudo" (http://www.courtesan.com/sudo/)
It's safer, because what an user does as root will be logged, and you can give difeerent permissions to the users.
There are Linux distr. (such as gentoo) that do not allow you to become root (it just can be made using something like sudo)
|
Using 'sudo' instead of 'su' is great advice, but Gentoo most certainly lets you log in as root or become root via 'su' whenever you want. At least, in the normal configuration it does.
|
|
|
03-03-2005, 02:48 AM
|
#10
|
Member
Registered: Feb 2005
Location: Germany
Distribution: Debian Etch, kernel 2.6.18
Posts: 103
Rep:
|
One question:
Code:
(-rwsr-xr-x) file...
What´s the meaning of the "s" in the file permissions?
Greetz
GSX
|
|
|
03-03-2005, 05:58 PM
|
#11
|
Member
Registered: Mar 2005
Location: Canada
Distribution: Arch
Posts: 41
Original Poster
Rep:
|
Thanks!
I took your advice and installed sudo and everything is working great; although I still need to do some fiddling around with my sudo config file.
|
|
|
03-03-2005, 06:21 PM
|
#12
|
Member
Registered: Aug 2004
Location: Davis, California
Distribution: Gentoo, always Gentoo.
Posts: 159
Rep:
|
Quote:
Originally posted by GSX
One question:
Code:
(-rwsr-xr-x) file...
What´s the meaning of the "s" in the file permissions?
Greetz
GSX
|
It's the "set user or group ID on execution" bit. It sets the user or group to the appropriate value for the owner of the file when it is executing.
|
|
|
03-04-2005, 07:09 AM
|
#13
|
Member
Registered: Feb 2005
Location: Germany
Distribution: Debian Etch, kernel 2.6.18
Posts: 103
Rep:
|
Thx for the info...
Greetz
GSX
|
|
|
All times are GMT -5. The time now is 02:57 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|