/    Sign up×
Community /Pin to ProfileBookmark

Can’t log in as root on Linux.

Ok, call me a simpleton, but how the hell do I log in as root on Linux SuSE?

I set up a user name “mrherer” during installation assuming that this would be the root account as it was the only account I’d set up. However much of the time I get permission denied when trying to do simple tasks. It’s bad enough trying to get a compiler so I can compile the compiler I need to compile Apache so I can install Apache, withough being told I can’t do stuff.

I’ve tinkered with the manage user accounts bity for quite some time but still haven’t managed it.

to post a comment
Full-stack Developer

4 Comments(s)

Copy linkTweet thisAlerts:
@NogDogSep 24.2004 — I've never bothered trying to log in as root. I just open up a terminal window and do a [font=courier][color=red][b]su -[/b][/color][/font] (the hyphen is part of the command string) and then enter root's password when prompted.
Copy linkTweet thisAlerts:
@Stephen_PhilbinauthorSep 24.2004 — Yeah I can use the root console but that means having to type everything out all the time. Like instead of just right clicking a file I'm already looking at and just hitting delete I gotta open a command window and type out the full command. Plus there's stuff I just haven't got a clue how to do from there too. Like moving large and specific selections of images from a CD/DVD to a folder on the desktop.
Copy linkTweet thisAlerts:
@DaveSWSep 24.2004 — bootable floppy? I think it goes straight in as root if you do that, so you can edit usr/pwd.
Copy linkTweet thisAlerts:
@ray326Sep 25.2004 — Does your system start up in a GUI with a login or user chooser dialog? (I.e. something like xdm, kdm or gdm?) If root doesn't appear there or isn't allow there at this point you can often get in as a normal user, open a console, su and then alter an xdm-related config file to allow a root login. I've never done something like that because Mandrake and Redhat make it easy to login as root.
×

Success!

Help @Stephen_Philbin spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...