Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-14-2004, 08:38 PM   #1
Senior Member
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 57
su -

I've always managed to su - before, worked a treat. Today I had a mishap and had to boot with a live cd to remove the password for root so I could log back in When I rebooted normally I logged in as root and reset the password, worked all fine. Now when I'm not running X i can log into root no worries but in fluxbox using aterm, s- or su root gives me access denied. I know the pssword is right because it works outside of X.

Any ideas? Ta
Old 11-14-2004, 08:43 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 252Reputation: 252Reputation: 252
My personal suggestion, setup sudo instead of su'ing all the time. When you su, your allowing your root password to be possibly picked up by a sniffer, etc. Sudo allows your user to perform any commands you setup and it never requires you to use root's actual password but your users instead.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:00 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration