Linux - NewbieThis 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!
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.
For the first time, when I boot my pc, Ubuntu asked me to set up user name and password. Now every time I boot my pc, Ubuntu bypasses the login and takes me right to the desktop.
This is scary if my pc is lost. The exposure of my data to strangers would be devastating.
I am the only user of this pc. How can I:
1. Force login at boot time
2. Set up as super user
1. You can disable automatic login from System --> Administration --> Login Window --> tab Security and uncheck the "Enable Automatic Login" check-box.
2. There are valid reasons why Ubuntu developers did not permit root login. I admit it is really annoying to digit your password every time you use sudo for administrative commands, but take in mind that you can stick with your system administrator's privileges for an entire shell session if you use the command:
Code:
sudo -i
every subsequent command will be run as if it was preceded by sudo and you have not to type your password again and again.
1. You can disable automatic login from System --> Administration --> Login Window --> tab Security and uncheck the "Enable Automatic Login" check-box.
2. There are valid reasons why Ubuntu developers did not permit root login. I admit it is really annoying to digit your password every time you use sudo for administrative commands, but take in mind that you can stick with your system administrator's privileges for an entire shell session if you use the command:
Code:
sudo -i
every subsequent command will be run as if it was preceded by sudo and you have not to type your password again and again.
I found my check box under the general tab and unchecked it. Shutdown and was forced to log in. Just as I expected.
You must be joking. Your password will NOT protect your data. About everybody can get to the data if they have physical access to it.
If that is your big worry, have a look at encrypting your files and/or filesystem.
Yes. Data is my biggest worry! And I thought login would take care of it (NOT)
Is there a script that will automatically encrypt my folders/files during the shutdown process and another to decrypt them during the login? Or do I have to remember to encrypt my folders/files every time before shutdown and decrypt them after login, as I have been doing with Windows?
Other people can advise on filesystem encryption; I'm not familiar with it on Linux.
Under Windows there are programs that create virtual encrypted disks; PGP is an example. You mount the disk when you want to use it and it will automatically unmount when you shutdown. No need to use your 'complicated' way.
I did a quick search and truecrypt uses the above virtual encrypted disk principle as well and is available for both Windows and Linux.
Other people can advise on filesystem encryption; I'm not familiar with it on Linux.
Under Windows there are programs that create virtual encrypted disks; PGP is an example. You mount the disk when you want to use it and it will automatically unmount when you shutdown. No need to use your 'complicated' way.
I did a quick search and truecrypt uses the above virtual encrypted disk principle as well and is available for both Windows and Linux.
Thanks for the suggestions. I found a link in the Ubuntu forum about PGP, Truecrypt and EncryptFS here. EncryptFS seems to be what I am looking for.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.