su problem

2006-05-25 Thread Martin Schweizer
Hello

If I su from user martin to root or from user martin to martin (for testing) I 
get this errors in /var/log/messages:

[snip]
May  9 11:33:08 merkur init: can't get /dev/console for controlling terminal: 
Operation not permitted
May  9 11:33:38 merkur init: can't get /dev/console for controlling terminal: 
Operation not permitted
[snip]

I crosschecked also the permissions on /dev/console. They are correct. Any 
hints are welcome.

-- 

Regards

Martin Schweizer
[EMAIL PROTECTED]

PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
public key : http://www.pc-service.ch/pgp/public_key.asc; 
fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;



pgpMX8whU1FxO.pgp
Description: PGP signature


Re: su problem

2006-05-25 Thread Mark Ovens

Martin Schweizer wrote:

Hello

If I su from user martin to root or from user martin to martin (for testing) I 
get this errors in /var/log/messages:


[snip]
May  9 11:33:08 merkur init: can't get /dev/console for controlling terminal: 
Operation not permitted
May  9 11:33:38 merkur init: can't get /dev/console for controlling terminal: 
Operation not permitted
[snip]

I crosschecked also the permissions on /dev/console. They are correct. Any 
hints are welcome.




IIRC you need this line in /etc/fbtab (or uncomment it if it's there but 
commented out) - that's what I've got and I'm sure that's why it's 
there; I don't get those errors.


/dev/ttyv0  0600/dev/console

HTH

Mark


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


Re: 'su' problem

2004-07-16 Thread Jerry McAllister
 
 Hello list...
 
 When I try to run 'su' it does not run and returns a message:
 
 su: Sorry.
 
 and returns to the shell prompt... I guess it is 'cos some kind of 
 permission... just read the 'su' manpage and it tells about a /etc/pam.conf 
 but the file is not present... should I create it by hand? or there is an 
 utility to add users or something like?

Are you running it as root?  If so, you are probably mistyping something.

If you are not root and trying to su to root, then your id has to be 
in the wheel group.

jerry

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


Re: 'su' problem

2004-07-16 Thread Jerry McAllister
 
   su: Sorry.
  Are you running it as root?  If so, you are probably mistyping something.
  If you are not root and trying to su to root, then your id has to be
  in the wheel group.
 
 I run it as normal user, and only replies like this
 
 $ su
 su: Sorry,
 $
 
 What problem could be? I have freebsd 5.2.1

First, when you respond, make sure you cc the list and don't just
send a message back to an individual.   It lets others follow the
thread and possibly respond and it also gets responses in the archive.

The other thing I mentioned, and I think some else did to is that
you must be in the wheel group.   So, put yourself in the wheel
group and then try it.   If you are unable to do that - eg do not
have sufficient access to do it, then you aren't allowed to use su 
either.

Groups are in /etc/group

jerry

 
 Thanx!
 
 

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


'su' problem

2004-07-15 Thread Miguel Cardenas
Hello list...

When I try to run 'su' it does not run and returns a message:

su: Sorry.

and returns to the shell prompt... I guess it is 'cos some kind of 
permission... just read the 'su' manpage and it tells about a /etc/pam.conf 
but the file is not present... should I create it by hand? or there is an 
utility to add users or something like?

Thanx!

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


Re: 'su' problem

2004-07-15 Thread Luke Kearney

On Fri, 16 Jul 2004 00:44:20 -0500
Miguel Cardenas [EMAIL PROTECTED] spake thus:

 Hello list...
 
 When I try to run 'su' it does not run and returns a message:
 
 su: Sorry.
 
 and returns to the shell prompt... I guess it is 'cos some kind of 
 permission... just read the 'su' manpage and it tells about a /etc/pam.conf 
 but the file is not present... should I create it by hand? or there is an 
 utility to add users or something like?
 
 Thanx!

Is your user a member of the wheel group?

HTH

LukeK
-- 
Luke Kearney [EMAIL PROTECTED]

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