cant su to root

2008-07-01 Thread Warren Liddell
When i try to su to root from konsole within kde it tells me..

$ su
su: Sorry

i got a feeling when i added my user client to operators group this may have 
done this an sadly now i cant run or do anything that requires root access.

Any thoughts?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cant su to root

2008-07-01 Thread Beech Rintoul
On Tuesday 01 July 2008, Warren Liddell said:
 When i try to su to root from konsole within kde it tells me..

 $ su
 su: Sorry

 i got a feeling when i added my user client to operators group this
 may have done this an sadly now i cant run or do anything that
 requires root access.

 Any thoughts?

Can you log into root directly? If so make sure your user is part of 
the wheel group then you should be able to su to root. If not you'll 
have to boot into single user and change the root password you have 
access then do the above.


-- 
---
Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://www.freebsd.org
 X  - NO Word docs in e-mail | Latest Release:
/ \  - http://www.FreeBSD.org/releases/7.0R/announce.html
---



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cant su to root

2008-07-01 Thread Peter Boosten



Warren Liddell wrote:

When i try to su to root from konsole within kde it tells me..

$ su
su: Sorry

i got a feeling when i added my user client to operators group this may have 
done this an sadly now i cant run or do anything that requires root access.


Any thoughts?


wheel group ;-)

Peter

--
http://www.boosten.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cant su to root

2008-07-01 Thread Patrick Lamaizière
Le Tue, 1 Jul 2008 20:43:21 +1000,
Warren Liddell [EMAIL PROTECTED] a écrit :

Hi,

 When i try to su to root from konsole within kde it tells me..
 
 $ su
 su: Sorry
 
 i got a feeling when i added my user client to operators group this
 may have done this an sadly now i cant run or do anything that
 requires root access.
 
 Any thoughts?

The user must be in the group wheel.

Regards.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: cant su to root

2008-07-01 Thread Marcel Grandemange
It should have been added to the wheel group if you wanted to su from it.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Warren Liddell
Sent: Tuesday, July 01, 2008 12:43 PM
To: freebsd-questions@freebsd.org
Subject: cant su to root

When i try to su to root from konsole within kde it tells me..

$ su
su: Sorry

i got a feeling when i added my user client to operators group this may have

done this an sadly now i cant run or do anything that requires root access.

Any thoughts?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

__ NOD32 3223 (20080627) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cant su to root

2008-07-01 Thread cpghost
On Tue, 1 Jul 2008 20:43:21 +1000
Warren Liddell [EMAIL PROTECTED] wrote:

 When i try to su to root from konsole within kde it tells me..
 
 $ su
 su: Sorry
 
 i got a feeling when i added my user client to operators group this
 may have done this an sadly now i cant run or do anything that
 requires root access.
 
 Any thoughts?

Add the the users who should be able to su to root to the 'wheel' group:
In /etc/group:

wheel:*:0:root,user1,user2,...

From su(1) manpage:

PAM is used to set the policy su(1) will use.  In particular, by default
only users in the ``wheel'' group can switch to UID 0 (``root'').
This group requirement may be changed by modifying the ``pam_group''
section of /etc/pam.d/su.  See pam_group(8) for details on how to modify
this setting.

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cant su to root

2008-07-01 Thread Manolis Kiagias

Warren Liddell wrote:

When i try to su to root from konsole within kde it tells me..

$ su
su: Sorry

i got a feeling when i added my user client to operators group this may have 
done this an sadly now i cant run or do anything that requires root access.


Any thoughts?

  


Maybe you added your account to the operators group, but removed it from 
the wheel group?

Try:

id username

and see if you have wheel in your groups.

as root you can use pw usermod to restore this, e.g.

pw usermod username -g primarygroup -G wheel,operator,...

(there are other ways to do this as well.)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cant su to root

2008-07-01 Thread Warren Liddell
On Tuesday 01 July 2008 20:53:36 Manolis Kiagias wrote:
 Warren Liddell wrote:
  When i try to su to root from konsole within kde it tells me..
 
  $ su
  su: Sorry
 
  i got a feeling when i added my user client to operators group this may
  have done this an sadly now i cant run or do anything that requires root
  access.
 
  Any thoughts?

 Maybe you added your account to the operators group, but removed it from
 the wheel group?

remote logged in via another user an edited group file an all good now, tnxs 
to all
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cant su to root

2008-07-01 Thread Vasile Cristescu
Hello,

Your username needs to be in wheel group.

 When i try to su to root from konsole within kde it tells me..

 $ su
 su: Sorry

 i got a feeling when i added my user client to operators group this may
 have done this an sadly now i cant run or do anything that requires root
 access.

 Any thoughts?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]




signature.asc
Description: This is a digitally signed message part.


Re: cant su to root

2008-07-01 Thread Dez Accid

Warren Liddell wrote:

When i try to su to root from konsole within kde it tells me..

$ su
su: Sorry

i got a feeling when i added my user client to operators group this may have 
done this an sadly now i cant run or do anything that requires root access.


Your user needs to be in wheel group to be able to su to root.

To add the user to wheel group, you can use pw(8):

# pw usermod your_username -G wheel



hth

--
Dez Accid

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cant su to root

2008-07-01 Thread Wojciech Puchar

When i try to su to root from konsole within kde it tells me..

$ su
su: Sorry

i got a feeling when i added my user client to operators group this may have


to wheel group


done this an sadly now i cant run or do anything that requires root access.

Any thoughts?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]