* problems with command su
@ 2004-12-07 16:01 Vladimir E. Rodriguez
2004-12-07 18:21 ` joy merwin monteiro
0 siblings, 1 reply; 12+ messages in thread
From: Vladimir E. Rodriguez @ 2004-12-07 16:01 UTC (permalink / raw)
To: linux-newbie
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-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 12+ messages in thread
* 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; 12+ 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] 12+ messages in thread
* Re: problems with command su
2004-12-07 16:01 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; 12+ 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] 12+ messages in thread
* Re: problems with command su
2004-12-07 16:01 problems with command su Vladimir E. Rodriguez
@ 2004-12-07 18:21 ` joy merwin monteiro
2004-12-07 21:27 ` Vladimir E. Rodriguez
0 siblings, 1 reply; 12+ messages in thread
From: joy merwin monteiro @ 2004-12-07 18:21 UTC (permalink / raw)
To: Vladimir E. Rodriguez; +Cc: linux-newbie
Hi,
when you are at the LILO bootloader prompt type
single as an argument to the kernel.
after it boots , type passwd to change your password.
should work, try it out and tell us...
The same should work on grub as well,
there is an option to edit kernel parameters before booting.
try it out.
regards,
Joy.M.Monteiro
On Tue, 7 Dec 2004 11:01:31 -0500, Vladimir E. Rodriguez
<vrodriguez@municipiodeloja.gov.ec> 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-newbie" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.linux-learn.org/faqs
>
--
people always turn away,
from the eyes of a stranger...
Afraid to know
what lies behind the stare.......
--QueensRyche
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: problems with command su
2004-12-07 18:21 ` joy merwin monteiro
@ 2004-12-07 21:27 ` Vladimir E. Rodriguez
2004-12-07 22:08 ` Jim Nelson
0 siblings, 1 reply; 12+ messages in thread
From: Vladimir E. Rodriguez @ 2004-12-07 21:27 UTC (permalink / raw)
To: joy_mm; +Cc: linux-newbie
Hello again, I tried this thing but it doesn't work.
Also I checked that my user vladimir belongs to the group wheel, it's true,
but I can't log with su.
Please someone could help me?
Thanks
Vladimir
On Tuesday 07 December 2004 13:21, joy merwin monteiro wrote:
> Hi,
>
> when you are at the LILO bootloader prompt type
> single as an argument to the kernel.
> after it boots , type passwd to change your password.
>
> should work, try it out and tell us...
>
> The same should work on grub as well,
> there is an option to edit kernel parameters before booting.
> try it out.
>
> regards,
> Joy.M.Monteiro
>
>
> On Tue, 7 Dec 2004 11:01:31 -0500, Vladimir E. Rodriguez
>
> <vrodriguez@municipiodeloja.gov.ec> 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-newbie"
> > in the body of a message to majordomo@vger.kernel.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
> > Please read the FAQ at http://www.linux-learn.org/faqs
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 12+ 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; 12+ 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] 12+ messages in thread
* Re: problems with command su
2004-12-07 21:27 ` Vladimir E. Rodriguez
@ 2004-12-07 22:08 ` Jim Nelson
0 siblings, 0 replies; 12+ messages in thread
From: Jim Nelson @ 2004-12-07 22:08 UTC (permalink / raw)
To: Vladimir E. Rodriguez; +Cc: joy_mm, linux-newbie
Vladimir E. Rodriguez wrote:
> Hello again, I tried this thing but it doesn't work.
> Also I checked that my user vladimir belongs to the group wheel, it's true,
> but I can't log with su.
>
> Please someone could help me?
>
> Thanks
>
> Vladimir
>
Last time I had to unlock a box, I booted into Knoppix, mounted the root fs, and
deleted the root password in /etc/shadow. In about 3 minutes. Scared the scat
out of the guys watching me.
Just make sure you fix the permissions both before and after - /etc/shadow is set
at 0400 and vi will gripe.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 12+ 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; 12+ 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] 12+ messages in thread
* Re: problems with command su
2004-12-07 16:01 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; 12+ 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] 12+ 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; 12+ 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] 12+ messages in thread
* Re: problems with command su
2004-12-07 16:01 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; 12+ 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] 12+ 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; 12+ 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] 12+ messages in thread
end of thread, other threads:[~2004-12-08 16:18 UTC | newest]
Thread overview: 12+ 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:21 ` joy merwin monteiro
2004-12-07 21:27 ` Vladimir E. Rodriguez
2004-12-07 22:08 ` Jim Nelson
-- strict thread matches above, loose matches on Subject: below --
2004-12-07 16:01 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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.