Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
After installing Red Hat I want to allow my Prof to access to our server without a password, or rather that's the way he wants it. Ran into some great difficulty in trying to set up a normal user account without a password. Is there any other way to set up a user account with root permissions and no password??
Edit the password file and copy and paste the user root. On the new line rename the root user to whatever.
Edit the shadow file. If your system supports shadow passwords. Again copy the root line and paste it. Rename the root user as you did before and after the first colon you see a bunch of junk, that is the encryped password. Delete the entire field so the line looks like this:
whatever::11252:0::::: # the numbers may be different
This removes the password for the whatever user.
Prepare to get hacked...
Setting up .rhosts and having professor no password rsh in is a better idea. At least a tiny bit more secure.
I got it to work, but my professor said he should be able to Telnet into our machine. It won't let him because it requires a password. Any idea if it is possible for him to Telnet into our machine?
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602
Rep:
AHH.... PLEASE do not do this. Telnet is bad enough. Telnet without is password is crazy. Telnet without a password for a user that has root privs?? At a BARE minimum set up ssh with a key-pair. This should make everyone happy. He will not have to type a password and you will have a chance to keep that Linux box long enough to learn
if this is for an assignment... you could just log in as root and type rm -Rf *
then just tell your RETART professor that his server was hacked and that you should recieve an A++ because you succesfully removed the first line of defense. Then cite the lack of functionality as evidence.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.