11-12-2011
Im a beginner in mac... I bought last year a G4 1.6 GHz power book and started to use it 2 months ago at work when my pc fails... Not used yet to the keyboard (looking for Chars when writing scripts...) because of its stability I bought last month a G5 quad core (Im typing on it now... configured last week for I was waiting for my new screen to arrive) I have some strange issues with screen ( new screen faulty or graphic card???).
I solved the problem by creating a extra user account for me and one for guests...
I gave my user acccount the right in sudoers to su my account (which has admin rights...), put on my desktop X console and terminal (like on my powerbook which I use to connect to other UNIX boxes I administer...) since I have no idea how a mac works and learning slowly, I do my stuff in command ext mode and happy to use vi (I am sure there is a hidden notepad somewhere...).
You would have to untick automatic connection (which would log you as you (admin)).
and choose to login as simple user...
What do you think?
7 More Discussions You Might Find Interesting
1. Solaris
I just installed Solaris 10 yesterday and I need to create a new username and password. I'm new to the system and I have yet to learn my way around. I appreciate all help and thank you in advance. (5 Replies)
Discussion started by: bones
5 Replies
2. OS X (Apple)
The flat files associated with the GUI are very useful in scripting, like the DNS section of the network pref pane seems to be a front end for resolv.conf..
but sometimes I cannot seem to find the file associated with the GUI area
so i was wondering what is an easy way to do this? I was... (1 Reply)
Discussion started by: glev2005
1 Replies
3. UNIX for Dummies Questions & Answers
Hello everyone and let me start off by thanking anyone who can help with this.
I work for a company that uses Unix as one of their servers. I'm not at all familar with Unix beyond logging after I restart the server:rolleyes: I'm looking for some command that will bring me up a list of current... (3 Replies)
Discussion started by: disgracedsaint
3 Replies
4. UNIX for Dummies Questions & Answers
So I am set up on a new box for work here and I have a frustrating preference issue. Whenever I hit backspace, it deletes a whole word instead of a single character. I understand that this is generally the functionality of hitting ctrl-backspace. I tried googling for a solution and dabbled... (3 Replies)
Discussion started by: jasondj
3 Replies
5. OS X (Apple)
Mac OS X 10.6: Leopard - I'm trying to create a script that will run on its own that can edit system preferences. I've done some digging, and found that a lot of system preference options are controlled by .plist files in ~/library/preferences, /library/preferences, and... (1 Reply)
Discussion started by: Jalaska13
1 Replies
6. Shell Programming and Scripting
Dears
I am running a shell script to backup (transfer) files to a networked External HDD. Even though the public key has been added it still asks for the password before starting the transfer.
Any suggestions?
Thanks in advance. (8 Replies)
Discussion started by: BrownBob
8 Replies
7. Programming
With a little bit of work, was able to build a nice "Wuhan Coronavirus Status" app using MQTT and the IoT-OnOff app. More on this technique here:
ESP32 (ESP-WROOM-32) as an MQTT Client Subscribed to Linux Server Load Average Messages
The result turned out nice, I think. I like the look and... (10 Replies)
Discussion started by: Neo
10 Replies
LEARN ABOUT CENTOS
lchage
lchage(1) General Commands Manual lchage(1)
NAME
lchage - Display or change user password policy
SYNOPSIS
lchage [OPTION]... user
DESCRIPTION
Displays or allows changing password policy of user.
OPTIONS
-d, --date=days
Set the date of last password change to days after Jan 1 1970.
Set days to -1 to disable password expiration (i.e. to ignore --mindays, and --maxdays and related settings).
Set days to 0 to enforce password change on next login. (This also disables password expiration until the password is changed.)
-E, --expire=days
Set the account expiration date to days after Jan 1 1970. Set days to -1 to disable account expiration.
-i, --interactive
Ask all questions when connecting to the user database, even if default answers are set up in libuser configuration.
-I, --inactive=days
Disable the account after days after password expires (after the user is required to change the password). Set days to -1 to keep
the account enabled indefinitely after password expiration.
-l, --list
Only list current user's policy and make no changes.
-m, --mindays=days
Require at least days days between password changes. Set days to 0 or -1 to disable this requirement.
If this value is larger than the value set by --maxdays, the user cannot change the pasword.
-M, --maxdays=days
Require changing the password after days since last password change. Set days to -1 to disable password expiration.
-W, --warndays=days
Start warning the user days before password expires (before the user is required to change the password). Set days to 0 or -1 to
disable the warning.
EXIT STATUS
The exit status is 0 on success, nonzero on error.
NOTES
Note that "account expiration" (set by --expire) is distinct from "password expiration" (set by --maxdays). Account expiration happens on
a fixed date regardless of password changes. Password expiration is relative to the date of last password change.
libuser Nov 8 2012 lchage(1)