linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* problems with command su
@ 2004-12-07 16:01 Vladimir E. Rodriguez 
  2004-12-07 18:16 ` kaushal
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Vladimir E. Rodriguez  @ 2004-12-07 16:01 UTC (permalink / raw)
  To: linux-admin

Hello, I'm new user in linux community. I have installed in my computer 
mandrake linux 10.0

Sometime ago it was working normal without problems. After that I changed the 
root password, always that I want to change something in the configuration of 
the system, I run su from other user (vladimir).

But the system says 'invalid password'. I tried the old, and new password, but 
it doesn't work

I have to logout, and login with root to change some configurations.

Anyone could help me!!

thank you

Vladimir

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: problems with command su
  2004-12-07 16:01 problems with command su Vladimir E. Rodriguez 
@ 2004-12-07 18:16 ` kaushal
  2004-12-07 21:31   ` Vladimir E. Rodriguez 
  2004-12-07 23:17 ` Niklas Bolander
  2004-12-08  9:08 ` Andrew Kelly
  2 siblings, 1 reply; 8+ messages in thread
From: kaushal @ 2004-12-07 18:16 UTC (permalink / raw)
  To: Vladimir E. Rodriguez; +Cc: admin

Im not sure but make sure your 'su' command has not been aliased by
someone/thing.
[sfaf@sdf]alias

If u find an entry for su there,type 'unalaias su' and it should work.
gudlk.
kaushal.
rocsys.
On Tue, 2004-12-07 at 21:31, Vladimir E. Rodriguez wrote:
> Hello, I'm new user in linux community. I have installed in my computer 
> mandrake linux 10.0
> 
> Sometime ago it was working normal without problems. After that I changed the 
> root password, always that I want to change something in the configuration of 
> the system, I run su from other user (vladimir).
> 
> But the system says 'invalid password'. I tried the old, and new password, but 
> it doesn't work
> 
> I have to logout, and login with root to change some configurations.
> 
> Anyone could help me!!
> 
> thank you
> 
> Vladimir
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: problems with command su
  2004-12-07 18:16 ` kaushal
@ 2004-12-07 21:31   ` Vladimir E. Rodriguez 
  2004-12-07 22:46     ` Andreas Unterkircher
  0 siblings, 1 reply; 8+ messages in thread
From: Vladimir E. Rodriguez  @ 2004-12-07 21:31 UTC (permalink / raw)
  To: kaushal; +Cc: admin

No, I don't have aliases, I have checked, but I haven't aliases.

Please could anybody could help me?

Thanks

Vladimir
On Tuesday 07 December 2004 13:16, kaushal wrote:
> Im not sure but make sure your 'su' command has not been aliased by
> someone/thing.
> [sfaf@sdf]alias
>
> If u find an entry for su there,type 'unalaias su' and it should work.
> gudlk.
> kaushal.
> rocsys.
>
> On Tue, 2004-12-07 at 21:31, Vladimir E. Rodriguez wrote:
> > Hello, I'm new user in linux community. I have installed in my computer
> > mandrake linux 10.0
> >
> > Sometime ago it was working normal without problems. After that I changed
> > the root password, always that I want to change something in the
> > configuration of the system, I run su from other user (vladimir).
> >
> > But the system says 'invalid password'. I tried the old, and new
> > password, but it doesn't work
> >
> > I have to logout, and login with root to change some configurations.
> >
> > Anyone could help me!!
> >
> > thank you
> >
> > Vladimir
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: problems with command su
  2004-12-07 21:31   ` Vladimir E. Rodriguez 
@ 2004-12-07 22:46     ` Andreas Unterkircher
  0 siblings, 0 replies; 8+ messages in thread
From: Andreas Unterkircher @ 2004-12-07 22:46 UTC (permalink / raw)
  To: admin; +Cc: Vladimir E. Rodriguez

please post what happens in the logs when your "su -" command failed.

depending on your distribution you could find that according info in 
/var/log/messages,
/var/log/syslog, /var/log/secure, /var/log/auth.log,... or something 
else - sorry - don't
know exactly for mandrake....

if u have installed the ssh-daemon - can u run the command "ssh 
root@localhost"
and check if the login would succeed?

any special auth mechanism? ldap?

Andi

Vladimir E. Rodriguez wrote:

>No, I don't have aliases, I have checked, but I haven't aliases.
>
>Please could anybody could help me?
>
>Thanks
>
>Vladimir
>On Tuesday 07 December 2004 13:16, kaushal wrote:
>  
>
>>Im not sure but make sure your 'su' command has not been aliased by
>>someone/thing.
>>[sfaf@sdf]alias
>>
>>If u find an entry for su there,type 'unalaias su' and it should work.
>>gudlk.
>>kaushal.
>>rocsys.
>>
>>On Tue, 2004-12-07 at 21:31, Vladimir E. Rodriguez wrote:
>>    
>>
>>>Hello, I'm new user in linux community. I have installed in my computer
>>>mandrake linux 10.0
>>>
>>>Sometime ago it was working normal without problems. After that I changed
>>>the root password, always that I want to change something in the
>>>configuration of the system, I run su from other user (vladimir).
>>>
>>>But the system says 'invalid password'. I tried the old, and new
>>>password, but it doesn't work
>>>
>>>I have to logout, and login with root to change some configurations.
>>>
>>>Anyone could help me!!
>>>
>>>thank you
>>>
>>>Vladimir
>>>-
>>>To unsubscribe from this list: send the line "unsubscribe linux-admin" in
>>>the body of a message to majordomo@vger.kernel.org
>>>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>>      
>>>
>>-
>>To unsubscribe from this list: send the line "unsubscribe linux-admin" in
>>the body of a message to majordomo@vger.kernel.org
>>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>    
>>
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-admin" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>  
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: problems with command su
  2004-12-07 16:01 problems with command su Vladimir E. Rodriguez 
  2004-12-07 18:16 ` kaushal
@ 2004-12-07 23:17 ` Niklas Bolander
       [not found]   ` <1731.192.168.1.12.1102462096.squirrel@192.168.1.12>
  2004-12-08  9:08 ` Andrew Kelly
  2 siblings, 1 reply; 8+ messages in thread
From: Niklas Bolander @ 2004-12-07 23:17 UTC (permalink / raw)
  To: linux-admin

Some systems requirers a user to be a member of the "wheel" group to be 
allowed to su.
Shouldn't be relevant since you could use it before but it might be 
worth checking out.

Vladimir E. Rodriguez wrote:

>Sometime ago it was working normal without problems. After that I changed the 
>root password, always that I want to change something in the configuration of 
>the system, I run su from other user (vladimir).
>
>But the system says 'invalid password'. I tried the old, and new password, but 
>it doesn't work
>
>I have to logout, and login with root to change some configurations.
>  
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: problems with command su
       [not found]   ` <1731.192.168.1.12.1102462096.squirrel@192.168.1.12>
@ 2004-12-08  0:32     ` Niklas Bolander
  2004-12-08 16:18       ` Atishay Kumar
  0 siblings, 1 reply; 8+ messages in thread
From: Niklas Bolander @ 2004-12-08  0:32 UTC (permalink / raw)
  To: linux-admin

Odd, would you mind posting your pam configuration for su?
Should be "/etc/pam.d/su".

MSc.Vladimir E.Rodríguez wrote:

>Yes, I checked it, but it's not working.
>I run passwd for root, and changed the password nothing more, after that
>the su doesn't work.
>
>Thanks
>
>Vladimir
>Niklas Bolander said:
>  
>
>>Some systems requirers a user to be a member of the "wheel" group to be
>>allowed to su.
>>Shouldn't be relevant since you could use it before but it might be
>>worth checking out.
>>
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: problems with command su
  2004-12-07 16:01 problems with command su Vladimir E. Rodriguez 
  2004-12-07 18:16 ` kaushal
  2004-12-07 23:17 ` Niklas Bolander
@ 2004-12-08  9:08 ` Andrew Kelly
  2 siblings, 0 replies; 8+ messages in thread
From: Andrew Kelly @ 2004-12-08  9:08 UTC (permalink / raw)
  To: Vladimir E. Rodriguez; +Cc: linux-admin@vger.kernel.org

On Tue, 2004-12-07 at 17:01, Vladimir E. Rodriguez wrote:
> Hello, I'm new user in linux community. I have installed in my computer 
> mandrake linux 10.0
> 
> Sometime ago it was working normal without problems. After that I changed the 
> root password, always that I want to change something in the configuration of 
> the system, I run su from other user (vladimir).
> 
> But the system says 'invalid password'. I tried the old, and new password, but 
> it doesn't work
> 
> I have to logout, and login with root to change some configurations.
> 
> Anyone could help me!!

Just a wild guess, mind you, but that sounds like toggling keyboard 
drivers or something. As if at a login prompt a different character set was
being delivered than happens later, once you've logged in.

Try logging in as root, and changing the password to something silly 
like 111111. Then try su'ing to root as another user.

Without seeing some of the log/config info that other have requested, 
it's just a guessing game, though.

Andy


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: problems with command su
  2004-12-08  0:32     ` Niklas Bolander
@ 2004-12-08 16:18       ` Atishay Kumar
  0 siblings, 0 replies; 8+ messages in thread
From: Atishay Kumar @ 2004-12-08 16:18 UTC (permalink / raw)
  To: Niklas Bolander; +Cc: linux-admin

hi,
 try sudo command.
only users listed in /etc/sudoers are allowed to run sudo command. and
u can also specify whether to ask for root password or not. put the
following line /etc/sudoers

username        ALL=(ALL)       NOPASSWD: ALL

username above will be able to issue all commands like root and
without asking password.

see /etc/sudoers for more.

after making entry for username

try "sudo su" command. it should work if entry was for NOPASSWD

atishay
On Wed, 08 Dec 2004 01:32:52 +0100, Niklas Bolander
<niklas.bolander@telia.com> wrote:
> Odd, would you mind posting your pam configuration for su?
> Should be "/etc/pam.d/su".
> 
> MSc.Vladimir E.Rodríguez wrote:
> 
> >Yes, I checked it, but it's not working.
> >I run passwd for root, and changed the password nothing more, after that
> >the su doesn't work.
> >
> >Thanks
> >
> >Vladimir
> 
> 
> >Niklas Bolander said:
> >
> >
> >>Some systems requirers a user to be a member of the "wheel" group to be
> >>allowed to su.
> >>Shouldn't be relevant since you could use it before but it might be
> >>worth checking out.
> >>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


-- 
:)
Atishay Kumar
Btech, SEM VII
DA-IICT
Gandhinagar - 382009
India
ph: +91 9825383948
/****************************************************************************
 * Learn the rules as you would need them to break them properly *
 ****************************************************************************/
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-12-08 16:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-07 16:01 problems with command su Vladimir E. Rodriguez 
2004-12-07 18:16 ` kaushal
2004-12-07 21:31   ` Vladimir E. Rodriguez 
2004-12-07 22:46     ` Andreas Unterkircher
2004-12-07 23:17 ` Niklas Bolander
     [not found]   ` <1731.192.168.1.12.1102462096.squirrel@192.168.1.12>
2004-12-08  0:32     ` Niklas Bolander
2004-12-08 16:18       ` Atishay Kumar
2004-12-08  9:08 ` Andrew Kelly

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).