tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* su - problem
@ 1995-02-28 19:46 invisible!sycmail!javier
  0 siblings, 0 replies; only message in thread
From: invisible!sycmail!javier @ 1995-02-28 19:46 UTC (permalink / raw)
  To: tru64-unix-managers

Hi managers:

One stupid client was playing with /etc/passwd, suddenly appeared
like this on the line of root...

root:p7maek5FS2i6I:0:1:system PRIVILEGED account:/:/usr/bin

so when he tried to "su -" the answer was "no shell", so I booted
Single user and modified the /ettc/passwd manually and appeared
like this...

root:p7maek5FS2i6I:0:1:system PRIVILEGED account:/:/usr/bin/ksh

the result was the same.  Even if I tried to login at the console
as root, the answer was "root login refused on this terminal.".

So I repeated the procedure to change from /usr/bin/ksh to
/bin/sh, the result was the same.
I checked the file permissions on sh and ksh and look normal to me

% ls -l /usr/bin/ksh /usr/bin/sh 
-rwxr-xr-x   1 bin      bin       278528 Aug  8  1994 /usr/bin/ksh 
-rwxr-xr-x   2 bin      bin       139264 Aug  8  1994 /usr/bin/sh 

my /etc/inittab looks like this

cons:1234:respawn:/usr/sbin/getty console console vt100 

my /etc/securettys looks like this

/dev/console 
local:0          
:0

Do I need to do an extra configuration, or modify something else?

How can users can login to root even if they are not on the console?

Thanx in advance, I'll appreciate any idea.


 ########################    Javier Scanlan Sierra
##-------------------------  Sistemas y Computadores
##-----%%%%%----%%%%%%-----  de Gestion, S.A. de C.V.
##----%%---%%--%%%---------  Technical Support Manager DEC Division
##----%%%%%-%%%%%%---------  Av. Revolucion #2042-8th. Floor, San Angel
##-------%%--%%-%%---------  Mexico, D.F. 01090,  Tel. 550-0740
##----%%%%---%%--%%%%%-----  e-mail:
##-------------------------  invisible!sycmail!javier@Sunmexico.Sun.COM
 ########################
                             "God gave ROCK 'N' ROLL to you..."
                                                   Rod Argent.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-02-28 19:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-02-28 19:46 su - problem invisible!sycmail!javier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox