LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 06-13-2023, 03:29 PM   #1
hhhrrrzzzzzzzzz
Member
 
Registered: Jan 2016
Posts: 47

Rep: Reputation: Disabled
Question Which OS?


Hi
My GF life abroad and I cant manange her Device in Person after shipping to her. In Windows it is possible with an separate Account and (at least in W7 back then) I could lock Windows that much down to avoid that a User (back then my Parents for example) even see Settings or even open anything who is not "permit" by me. Sure inside the Software like Open Office the could do manythings bad.
In Win there are many Software who could allow me to remote Monitor a Device if something bad happen. Even behind a Firewall, Router,... in a Hotel for example. Yes I try to get into Raspberry Pi OS but its not that User friendly.
My GF should use the Notebook only for Study and not to install any crap like my mom install every sht to here Smartphone and wonder why its run so slow.
My W7 boot faster than her Smartphone... ...
So which OS can I lock down very easy to avoid that my GF do something bad?
Are there something like the Reg in an Linux OS? I am know a little about Linux but not such detail thinks.
Thanks!
 
Old 06-13-2023, 04:14 PM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,234

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
Set a root password, and don't give it to her. Then she will have access only to her home/user directory. She will not be able to install anything to the root of the system or edit files in the root of the system.

You can modinfy sudo to prevent her from sdding software if you choose a distro using sudo.

Last edited by camorri; 06-13-2023 at 04:15 PM.
 
Old 06-13-2023, 04:53 PM   #3
hhhrrrzzzzzzzzz
Member
 
Registered: Jan 2016
Posts: 47

Original Poster
Rep: Reputation: Disabled
Thanks for replay.
How about:
- an Update do the need Root Access?
- an Update for a 3rd Party Software like Skype, Open Office, Firefox?
Is there an Software who allow me to connect remote without an VPN Client to install Software for example?

(Sorry everyone I dont want to be rude but I will try if I can run W10. For me who is not familiar with an Linux Distro Its a littlebit difficult help her remotly.)
 
Old 06-13-2023, 06:09 PM   #4
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,234

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
Yes, and yes, you need root access or sudo to install and update software.
 
Old 06-13-2023, 07:28 PM   #5
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,678
Blog Entries: 4

Rep: Reputation: 3946Reputation: 3946Reputation: 3946Reputation: 3946Reputation: 3946Reputation: 3946Reputation: 3946Reputation: 3946Reputation: 3946Reputation: 3946Reputation: 3946
Although, to clarify: you should ensure that she is not an "administrative" user – that is to say, in Linux parlance, "a member of the 'wheel' group.'" Such a user could gain "root privileges" using her own login password. Via, e.g., sudo su.

Basically – just be sure that the user is capable of doing whatever she needs to do with the computer, and isn't capable of "gaining 'root' privileges," whether or not(!) she intended to do so. As long as the user isn't a member of "wheel" (as in: "big wheel" ...), you're all set.

Maintain for yourself a separate userid from which you can conveniently maintain the system for her.

- - -

P.S.: In all of the systems that I maintain – "Linux or otherwise" – there is always only one obscurely-named userid which has "godly privileges," and I never use it on a daily basis. Instead, I rigorously practice the "principle of least privilege." "My everyday user accounts can't do sh&t ..."

Last edited by sundialsvcs; 06-13-2023 at 07:34 PM.
 
Old 06-14-2023, 08:26 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,700

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by hhhrrrzzzzzzzzz View Post
Hi
My GF life abroad and I cant manange her Device in Person after shipping to her. In Windows it is possible with an separate Account and (at least in W7 back then) I could lock Windows that much down to avoid that a User (back then my Parents for example) even see Settings or even open anything who is not "permit" by me. Sure inside the Software like Open Office the could do manythings bad.
In Win there are many Software who could allow me to remote Monitor a Device if something bad happen. Even behind a Firewall, Router,... in a Hotel for example. Yes I try to get into Raspberry Pi OS but its not that User friendly.
My GF should use the Notebook only for Study and not to install any crap like my mom install every sht to here Smartphone and wonder why its run so slow.
My W7 boot faster than her Smartphone... ...
So which OS can I lock down very easy to avoid that my GF do something bad?
Are there something like the Reg in an Linux OS? I am know a little about Linux but not such detail thinks.
Thanks!
You've been a member here for *SEVEN YEARS*, and you're saying that you "know a little about Linux"?? What do you need to manage on your girlfriends laptop that she can't do for herself?? Teamviewer works just fine for such things, but if you are claiming to not know Linux, then why don't you just use Windows to do what you're comfortable with??
 
Old 06-14-2023, 05:25 PM   #7
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,678
Blog Entries: 4

Rep: Reputation: 3946Reputation: 3946Reputation: 3946Reputation: 3946Reputation: 3946Reputation: 3946Reputation: 3946Reputation: 3946Reputation: 3946Reputation: 3946Reputation: 3946
"Especially when it comes to girlfriends" ... ... "just get it done."

Bonus points (ahem ...) for "making it look easy ..."

Last edited by sundialsvcs; 06-14-2023 at 05:26 PM.
 
Old 06-15-2023, 07:15 AM   #8
selfprogrammed
Member
 
Registered: Jan 2010
Location: Minnesota, USA
Distribution: Slackware 13.37, 14.2, 15.0
Posts: 635

Rep: Reputation: 154Reputation: 154
I have created a mngr account on my Linux systems (with a mngr group).
It has the ability to manage some of the software because it owns them as (mngr:mngr).
The mngr cannot change the root install.

Packages that I add are compiled using mngr, such that the binaries are owned by mngr.
If you are installing a created package to system directories, then that must be done
by root, but the files remain owned by mngr. This allows mngr to manage them, but users cannot
change them.

A user on this system cannot change the mngr installed files, nor the root installed files.

The system does not care who owns files in the system directories.

You can also install program files into other directories, or even a user bin directory.
The directory just has to be in the search path set up by profile (see .profile and /etc/profile).
Such as: PATH="~/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
At one time, there was an /opt directory, and some optional packages were installed there.
The search PATH included "/opt".

Note: that the user can also install some software in their home directory, and the system
will use it in preference to the root install. It checks the home directory first.

If you have a Linux distribution that uses a management system, then that usually requires root privilege
to manage. I cannot speak for all of those, as they may have any option they wish.
Library packages, I suspect, must be installed using root, due to the way they are found.

Linux also comes with SSH, which allows remote management of the system.
Both the target system and the host system must be setup with the same
port address, target identification, and permissions, for it to work.
I move the default SSH port to something different just to make it more secure.

I have used it to manage another computer, but sometimes I find it easier to
just go up there and have direct access, such as when installing off of a portable hard drive.

Otherwise you move files around using pro-ftp, then apply them using a SSH login.
The pro-ftp must be setup with permissions and port too.

The ssh daemons must be running on the target machine, and it needs to be started by the boot,
because an unpriv user cannot make it useful. On Slackware, this is in
"/etc/rc.d/rc.sshd".

The target machine will run the sshd daemon.
The user will run "ssh".
There is also ssh-agent running, for holding keys, but you should not need to bother with that.

SSH is a command line utility. There is a way to extend that to have a remote-desktop, but I have not bothered with that.

Login to root (or a sufficiently priv mngr) using ssh can start the proftp daemon when necessary.

I have also created a special user for remote managing, just so I do not have
to login to root on the target machine. I only switch to root after I figure out what
I need to do. This also allows me to leave management files around in its home directory.


See:
>> man ssh
>> man sshd
>> man ssh-agent
>> man proftpd

There does not seem to be a SSH howto. However, there are several HOWTO
that use SSH to do something.
>> ls /usr/doc/Linux-HOWTOs

Last edited by selfprogrammed; 06-15-2023 at 07:30 AM.
 
Old 06-15-2023, 07:21 AM   #9
jmccue
Member
 
Registered: Nov 2008
Location: US
Distribution: slackware
Posts: 702
Blog Entries: 1

Rep: Reputation: 384Reputation: 384Reputation: 384Reputation: 384
Quote:
So which OS can I lock down very easy to avoid that my GF do something bad?
Why do you want to do this ? Did GF ask for help ? If not, doing that will cause you a whole lot of pain.

If you want to do something, I would teach GF how to create regular backups and reset the system.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Which partition is which Linux and which windows davholla Linux - General 9 11-15-2012 03:48 PM
PII 300, which distro, which release? Eradicator Linux - Newbie 5 09-23-2003 08:28 PM
Which wireless config is which? mrsolo Linux - General 0 09-21-2003 10:33 PM
how to set which NIC is eth0, & which is eth1 roshko Linux - Networking 4 09-01-2003 11:08 AM
which reliable distro for which laptop? Mark Braham Linux - Hardware 4 04-01-2003 10:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:42 AM.

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