CalcProgrammer1
Fully Optimized
- Messages
- 2,363
- Location
- Illinois, USA
How do you do it? I'm getting REALLY tired of this nonsense, and I'm at my end. Having to drop into console and sudo gedit everything all the time just to save it is 10000 times more annoying than Vista UAC, and that's bad. I want to do something that should be dirt simple (change workgroup name from Workgroup to my name so that my Ubuntu PC will show up with my Windows PC's on the college network) but I have to gedit /etc/samba/smb.conf and have root permissions and everything. Talk about major overkill, but anyways, I'm tired of having to sudo into stuff.
I'm trying to edit the sudoers file to get rid of that annoying password, finally (after much long, tiresome searching) found out how to get it to use nano instead of that horrible vi editor (that thing is like someone ripped the keyboard in half, threw it in a blender, then rebuilt it with everything in the entirely wrong spot, it just doesn't work and I don't have the time to learn the cryptic weird commands it uses). What I really want is every Nautilus window I open to have root permissions (always get stuck trying to write outside of /home, end up with an annoying read only message, end up having to go to terminal, sudo nautilus, waste more time loading another stupid window, re-navigate to where I need to be, it's just not practical to waste time plugging around in terminal to open root versions of programs I could open through menus).
So...what I want to do...just make my "Adam" user account have total 100% pure root permissions. I know it isn't advised, but I'm the only one using this PC, I know that typing in anything you read online isn't advised, and I don't want to have to sudo everything I do just because some stupid security block is on the system. The sharing folder thing is incredibly annoying, in Windows I'm used to just right clicking, Share, poof, it's done, in Linux they try to do that but fail, because it returns errors about lack of permissions all the time.
EDIT:
------
After long hours of smashing keys in anger, hacking around in terminal, using the root account, messing up my PC entirely, recovering it via recovery mode, going back into root account, playing around with the users tool, and still getting absolutely nowhere, I decided what I need is two users with the same UID. Apparently the magic behind the root account is that it has a UID of 0 and GID of 0. In order for a "second root" user to work, you'd need to have it be 0/0 as well. I've read that you can have more than one account using the same UID, but adduser and the Users panel both seem to disagree. How do you either make another user that also has UID of 0 OR change a user's UID after they've been created?
EDIT 2:
=====
I ended up making a new account ("adam") with the default UID of 1000. That allowed the user to be created with the proper home directory (/home/adam). Then I (using root user account) opened terminal and edited /etc/passwd, found the line adam:1000:0:...whatever and changed the 1000 to 0. Now I can successfully login via the "adam" account and password and it has root permissions and everything, but in terminal it still shows up as "root@Adam-ThinkPad". Also, I get some annoying messages upon login (home dmrc being ignored or something like that, I've had the same message before when using FTP out of my home directory, the hard coded security annoyances are really ANNOYING at this point, as much as I detest User Account Control, it at least has an OFF BUTTON...gah!). Getting closer, if I figure it out I'll post a guide for those who want to take back control of their PC.
I'm trying to edit the sudoers file to get rid of that annoying password, finally (after much long, tiresome searching) found out how to get it to use nano instead of that horrible vi editor (that thing is like someone ripped the keyboard in half, threw it in a blender, then rebuilt it with everything in the entirely wrong spot, it just doesn't work and I don't have the time to learn the cryptic weird commands it uses). What I really want is every Nautilus window I open to have root permissions (always get stuck trying to write outside of /home, end up with an annoying read only message, end up having to go to terminal, sudo nautilus, waste more time loading another stupid window, re-navigate to where I need to be, it's just not practical to waste time plugging around in terminal to open root versions of programs I could open through menus).
So...what I want to do...just make my "Adam" user account have total 100% pure root permissions. I know it isn't advised, but I'm the only one using this PC, I know that typing in anything you read online isn't advised, and I don't want to have to sudo everything I do just because some stupid security block is on the system. The sharing folder thing is incredibly annoying, in Windows I'm used to just right clicking, Share, poof, it's done, in Linux they try to do that but fail, because it returns errors about lack of permissions all the time.
EDIT:
------
After long hours of smashing keys in anger, hacking around in terminal, using the root account, messing up my PC entirely, recovering it via recovery mode, going back into root account, playing around with the users tool, and still getting absolutely nowhere, I decided what I need is two users with the same UID. Apparently the magic behind the root account is that it has a UID of 0 and GID of 0. In order for a "second root" user to work, you'd need to have it be 0/0 as well. I've read that you can have more than one account using the same UID, but adduser and the Users panel both seem to disagree. How do you either make another user that also has UID of 0 OR change a user's UID after they've been created?
EDIT 2:
=====
I ended up making a new account ("adam") with the default UID of 1000. That allowed the user to be created with the proper home directory (/home/adam). Then I (using root user account) opened terminal and edited /etc/passwd, found the line adam:1000:0:...whatever and changed the 1000 to 0. Now I can successfully login via the "adam" account and password and it has root permissions and everything, but in terminal it still shows up as "root@Adam-ThinkPad". Also, I get some annoying messages upon login (home dmrc being ignored or something like that, I've had the same message before when using FTP out of my home directory, the hard coded security annoyances are really ANNOYING at this point, as much as I detest User Account Control, it at least has an OFF BUTTON...gah!). Getting closer, if I figure it out I'll post a guide for those who want to take back control of their PC.