console as root-user

Ketut Mahaindra kmahaindra at axalto.com
Mon May 22 02:13:30 UTC 2006


 
Hello,

A simple addition of "-" to "su" will do the trick
$ su -
which essentially will make the shell a login shell

For more information
$ man su

-- 
Best regards,
 
Ketut Mahaindra (Ito)
"The race for perfection has no finish line"
 

-----Original Message-----
From: fedora-list-bounces at redhat.com [mailto:fedora-list-bounces at redhat.com]
On Behalf Of Guillermo Garron
Sent: Monday, May 22, 2006 9:55 AM
To: For users of Fedora Core releases
Subject: console as root-user

Hi,

As you may have noticed, when you start a console as non-root user and 
then you switch to root with "su" command, you are still unable to 
execute a lot of commands, as "ntsysv" or "iptables" i think could 
because of selinux, but anyway in the computer i have i start a Konsole 
(KDE) as root and problem solved.

I have another PC only with Gnome, how do i start a console as root 
directly without switching users?

i had to use this "trick"
ssh -l root 127.0.0.1 to have access to all the commands.

help me please.

greetings,

Guillermo Garron

-- 
fedora-list mailing list
fedora-list at redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list




More information about the users mailing list