SlackwareThis Forum is for the discussion of Slackware Linux.
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.
I am working on a small project, which i have to setup so that Slack is autologin to X ,the problem i have is, I can't setup autologin for root, but if i use a normal account for autologin it doesn't have superuser access to run command such as: mount ... etc. Is there away to get around this problem??
You could set up sudo to allow that nonpriviledged user to run those commands. It's how I've got mine set up, to allow me to run things like mount, init, and the like.
yes there is a way, first, don't auto login to root, second, there is a way for a normal user to mount and umount without being root, if that is all that this whole problem is.
edit your fstab and just add noauto,ro,users to your cd/dvd and floppy devices, other filesystems such as partitions are already mounted during startup, and you only will have to make a correction if you have a fat32 partition and want a normal user to read write to it, or ntfs , and want a user to read it, (writing to ntfs is not recommended)
here is what I have in my fstab to give you an idea
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.