[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: console as root-user


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 redhat com [mailto:fedora-list-bounces 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


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 to have access to all the commands.

help me please.


Guillermo Garron

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

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]